Skip to main content

pathfinder_getTransactionStatus RPC Method

Returns a transaction's current status, including if it has been rejected by the sequencer.

Updated on
Mar 18, 2024

pathfinder_getTransactionStatus RPC Method

Parameters

transaction_hash
string
REQUIRED
The hash of the requested transaction

Returns

result
string
The status of a transaction. Possible values include - 'NOT_RECEIVED', 'RECEIVED', 'PENDING', 'REJECTED', 'ACCEPTED_ON_L1', 'ACCEPTED_ON_L2', 'REVERTED' or 'ABORTED'
Request
1
curl --location 'https://docs-demo.strk-mainnet.quiknode.pro/rpc/pathfinder/v0.1' \
2
--header 'accept: application/json' \
3
--header 'content-type: application/json' \
4
--data '{
5
"jsonrpc": "2.0",
6
"id": 1,
7
"method": "pathfinder_getTransactionStatus",
8
"params": [
9
"0x64f7c084d9cba540cba343f3ec1b69a06bd9169c9016e518d06d418003a31fd"
10
]
11
}'
Don't have an account yet?
Create your QuickNode endpoint in seconds and start building
Get started for free