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.

Signature

platform.getTxStatus({
    txID: string
}) -> {status: string}

status is one of:

  • Committed: The transaction is (or will be) accepted by every node

  • Processing: The transaction is being voted on by this node

  • Dropped: The transaction will never be accepted by any node in the network, check reason field for more information

  • Unknown: The transaction hasn’t been seen by this node

Example

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 updated