Authorizations
API Key
WebAuthn (Passkey)
Cryptographically signed (stamped) request to be passed in as a header. For more info, see
here.
Cryptographically signed (stamped) request to be passed in as a header. For more info, see
here.
Body
Unique identifier for a given organization.
The unique identifier of a send transaction request.
Response
A successful response returns the following fields:
The current status of the send transaction.
eth field
The Ethereum transaction hash, if available.
The error encountered when broadcasting or confirming the transaction, if any.
error field
Human-readable error message describing what went wrong.
Chain of revert errors from nested contract calls, ordered from outermost to innermost.
error.revertChain.address
The contract address where the revert occurred.
error.revertChain.errorType
Type of error: ‘unknown’, ‘native’, or ‘custom’.
error.revertChain.displayMessage
Human-readable message describing this revert.
error.revertChain.unknown
unknown field
error.revertChain.unknown.selector
The 4-byte error selector, if available.
error.revertChain.unknown.data
The raw error data, hex-encoded.
native field
error.revertChain.native.nativeType
The type of native error: ‘error_string’, ‘panic’, or ‘execution_reverted’.
error.revertChain.native.message
The error message for Error(string) reverts.
error.revertChain.native.panicCode
The panic code for Panic(uint256) reverts.
custom field
error.revertChain.custom.errorName
The name of the custom error.
error.revertChain.custom.paramsJson
The decoded parameters as a JSON object.
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>"
}
}
]
}
}