API Reference
Submit a signed transaction
Submits a transaction signed by the caller and funds the sender when required.
Authorization
apiKey api-key<token>
Tachyon API key.
In: header
Request Body
application/json
TypeScript Definitions
Use the request body type in TypeScript.
Response Body
application/json
application/json
application/json
application/json
curl -X POST "https://tachyon.rath.fi/api/submit-signed-tx" \ -H "Content-Type: application/json" \ -d '{ "signedTx": "", "minBalanceRequired": "", "fromAddress": "", "chainId": 0 }'{
"success": true,
"data": {
"txId": "string",
"estimatedCostUSD": 0,
"x402Payment": {
"type": "x402-gateway",
"amount": "string",
"amountUsd": 0,
"network": "string",
"transaction": "string",
"settledAt": "2019-08-24T14:15:22Z",
"payer": "string"
}
},
"timestamp": "2019-08-24T14:15:22Z"
}{
"success": false,
"error": {
"code": "string",
"message": "string",
"category": "string",
"details": null,
"traceId": "string"
},
"timestamp": "2019-08-24T14:15:22Z"
}{
"success": false,
"error": {
"code": "string",
"message": "string",
"category": "string",
"details": null,
"traceId": "string"
},
"timestamp": "2019-08-24T14:15:22Z"
}{
"success": false,
"error": {
"code": "string",
"message": "string",
"category": "string",
"details": null,
"traceId": "string"
},
"timestamp": "2019-08-24T14:15:22Z"
}