# 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/v1/about/billing).

***

## **Parameters**

`None`

## **Returns**

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

```bash
// Result
{
	"jsonrpc": "2.0",
	"id": 67,
	"result": {
		"pending": "0x0",
		"queued": "0x0"
	}
}
```

{% tabs %}
{% tab title="mainnet" %}

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

```

{% endtab %}

{% tab title="testnet" %}

```bash
curl https://testnet.mezo.validationcloud.io/v1/<YOUR_API_KEY_HERE> \
    -X POST \
    -H "Content-Type: application/json" \
    -d '{"jsonrpc":"2.0","method":"txpool_status","params":[],"id":67}'

```

{% endtab %}
{% endtabs %}
