> ## Documentation Index
> Fetch the complete documentation index at: https://docs.validationcloud.io/llms.txt
> Use this file to discover all available pages before exploring further.

# avax.getAtomicTxStatus

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

This method will use `10` [Compute Units](/nodeapi/about/billing).

***

## Reference: [Here](https://build.avax.network/docs/rpcs/c-chain/avalanche/avax_getAtomicTxStatus)

## **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*

```json theme={"theme":{"light":"github-light","dark":"github-dark-default"}}
// Result
{
  "jsonrpc": "2.0",
  "id": 1,
  "result": {
    "status": "Accepted",
    "blockHeight": "1"
  }
}
```

<CodeGroup>
  ```bash title="mainnet" theme={"theme":{"light":"github-light","dark":"github-dark-default"}}
  curl https://mainnet.avalanche.validationcloud.io/v1/<YOUR_API_KEY_HERE>/ext/bc/C/avax \
      -X POST \
      -H "Content-Type: application/json" \
      -d '{
      "jsonrpc":"2.0",
      "id"     :1,
      "method" :"avax.getAtomicTxStatus",
      "params" :{
          "txID":"2QouvFWUbjuySRxeX5xMbNCuAaKWfbk5FeEa2JmoF85RKLk2dD"
      }
  }'
  ```

  ```bash title="testnet" theme={"theme":{"light":"github-light","dark":"github-dark-default"}}
  curl https://fuji.avalanche.validationcloud.io/v1/<YOUR_API_KEY_HERE>/ext/bc/C/avax \
      -X POST \
      -H "Content-Type: application/json" \
      -d '{
      "jsonrpc":"2.0",
      "id"     :1,
      "method" :"avax.getAtomicTxStatus",
      ""params" :{
          "txID":"2QouvFWUbjuySRxeX5xMbNCuAaKWfbk5FeEa2JmoF85RKLk2dD"
      }
  }'
  ```
</CodeGroup>


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.