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.

This method will use 100 Compute Units.


Reference: Here

Parameters

  • txID - string - The transaction id.

Returns

  • status - string - status is one of:

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

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

    • Processing - string - The transaction is being voted on by this node

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

// Result
{
  "jsonrpc": "2.0",
  "result": {
    "status": "Committed"
  },
  "id": 1
}

Last updated

Was this helpful?