RathRath Finance
API Reference

Get transaction status

Returns a transaction and its execution status.

GET
/api/tx

Query Parameters

id*string

Tachyon transaction ID returned by a submission endpoint.

Length1 <= length
includeRevertInfo?string

Set to true or 1 to include decoded revert information for a failed transaction.

includeReceipt?string

Set to true or 1 to include the available on-chain transaction receipt.

Response Body

application/json

application/json

application/json

application/json

application/json

curl -X GET "https://tachyon.rath.fi/api/tx?id=string"
{
  "success": true,
  "data": {
    "id": "string",
    "to": "string",
    "callData": "string",
    "value": "string",
    "chainId": 0,
    "label": "string",
    "status": "NOT_PICKED_UP",
    "executionTxHash": "string",
    "timestamp": "2019-08-24T14:15:22Z",
    "costUSD": 0,
    "retries": 0,
    "isAccountCharged": true,
    "transactionType": "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"
}
{
  "success": false,
  "error": {
    "code": "string",
    "message": "string",
    "category": "string",
    "details": null,
    "traceId": "string"
  },
  "timestamp": "2019-08-24T14:15:22Z"
}