Skip to main content
POST
/
public
/
v1
/
query
/
get_send_transaction_status

Authorizations

X-Stamp
string
required
Cryptographically signed (stamped) request to be passed in as a header. For more info, see here.

Body

organizationId
string
required
Unique identifier for a given organization.
sendTransactionStatusId
string
required
The unique identifier of a send transaction request.

Response

A successful response returns the following fields:
txStatus
string
required
The current status of the send transaction.
eth
object
eth field
txError
string
The error encountered when broadcasting or confirming the transaction, if any.
error
object
error field
curl --request POST \
  --url https://api.turnkey.com/public/v1/query/get_send_transaction_status \
  --header 'Accept: application/json' \
  --header 'Content-Type: application/json' \
  --header "X-Stamp: <string> (see Authorizations)" \
  --data '{
    "organizationId": "<string>",
    "sendTransactionStatusId": "<string>"
}'
{
  "txStatus": "<string>",
  "eth": {
    "txHash": "<string>"
  },
  "txError": "<string>",
  "error": {
    "message": "<string>",
    "revertChain": [
      {
        "address": "<string>",
        "errorType": "<string>",
        "displayMessage": "<string>",
        "unknown": {
          "selector": "<string>",
          "data": "<string>"
        },
        "native": {
          "nativeType": "<string>",
          "message": "<string>",
          "panicCode": "<string>"
        },
        "custom": {
          "errorName": "<string>",
          "paramsJson": "<string>"
        }
      }
    ]
  }
}