Skip to main content

starknet_getTransactionStatus

Gets the transaction status (possibly reflecting that the tx is still in the mempool, or dropped from it)

Parameters#

ParameterTypeDescription
transaction_hashfelt252Transaction hash

Request#

{
"jsonrpc": "2.0",
"method": "starknet_getTransactionStatus",
"params": [
"0x05abbad1e5"
],
"id": 1
}

Returns#

Successful response payload.

Transaction status with finality status, execution status, and failure reason (if any)

Errors#

CodeMessage
29Transaction hash not found

Examples#

curl -X POST https://api-starknet-mainnet.n.dwellir.com/YOUR_API_KEY \
-H "Content-Type: application/json" \
-d '{
"jsonrpc": "2.0",
"method": "starknet_getTransactionStatus",
"params": [
"0x05abbad1e5"
],
"id": 1
}'