Comment on page
platform.getTxStatus
Gets a transaction’s status by its ID. If the transaction was dropped, response will include a reason field with more information why the transaction was dropped.
platform.getTxStatus({
txID: string
}) -> {status: string}
status
is one of:Committed
: The transaction is (or will be) accepted by every nodeProcessing
: The transaction is being voted on by this nodeDropped
: The transaction will never be accepted by any node in the network, checkreason
field for more informationUnknown
: The transaction hasn’t been seen by this node
Request
curl -X POST --data '{
"jsonrpc": "2.0",
"method": "platform.getTxStatus",
"params": {
"txID":"T6dqbHkQQ5W1miQVVdN8vnX7CGdM5R3rpdaaH3YC2EcKGWKcR"
},
"id": 1
}' -H 'content-type:application/json;' https://ava-mainnet.blastapi.io/<project-id>/ext/P
Result
{
"jsonrpc": "2.0",
"result": {
"status": "Committed"
},
"id": 1
}
Last modified 1yr ago