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

# txpool_status

Returns the status of the transaction pool, including the number of pending and queued transactions.

This method will use `80` [Compute Units](https://docs.validationcloud.io/nodeapi/about/billing.md).

***

## **Parameters**

`None`

## **Returns**

`Object` - An object with keys for `pending` and `queued`, indicating the total number of transactions in each state.

```json theme={"theme":{"light":"github-light","dark":"github-dark-default"}}
// Result
{
  "jsonrpc": "2.0",
  "id": 67,
  "result": {
    "pending": "0x5",
    "queued": "0x0"
  }
}
```

```bash title="mainnet" theme={"theme":{"light":"github-light","dark":"github-dark-default"}}
curl https://mainnet.xlayer.validationcloud.io/v1/<YOUR_API_KEY_HERE> \
    -X POST \
    -H "Content-Type: application/json" \
    -d '{"jsonrpc":"2.0","method":"txpool_status","params":[],"id":67}'
```


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