For the complete documentation index, see llms.txt. This page is also available as Markdown.

avax.getAtomicTxStatus

Get the status of an atomic transaction sent to the network.

This method will use 10 Compute Units.


Reference: Here

Parameters

  • txID - string - The transaction ID in hex format.

Returns

  1. status is one of:

  • Accepted: The transaction is (or will be) accepted by every node. Check the blockHeight property

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

  • Dropped: The transaction was dropped by this node because it thought the transaction invalid

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

2. blockHeight - string, returned when status is Accepted

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

Last updated

Was this helpful?