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

# 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](/nodeapi/about/billing).

***

## Reference: [Here](https://build.avax.network/docs/rpcs/p-chain/transactions/platform_getTxStatus)

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

```json theme={"theme":{"light":"github-light","dark":"github-dark-default"}}
// Result
{
  "jsonrpc": "2.0",
  "result": {
    "status": "Committed"
  },
  "id": 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/P \
      -X POST \
      -H "Content-Type: application/json" \
      -d '{
      "jsonrpc": "2.0",
      "method": "platform.getTxStatus",
      "params": {
          "txID":"TAG9Ns1sa723mZy1GSoGqWipK6Mvpaj7CAswVJGM6MkVJDF9Q"
     },
      "id": 1
  }'
  ```

  ```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/P \
      -X POST \
      -H "Content-Type: application/json" \
      -d '{
      "jsonrpc": "2.0",
      "method": "platform.getTxStatus",
      "params": {
          "txID":"TAG9Ns1sa723mZy1GSoGqWipK6Mvpaj7CAswVJGM6MkVJDF9Q"
     },
      "id": 1
  }'
  ```
</CodeGroup>


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