# eth\_getTransactionCount

### Get Transaction Count RPC Method <a href="#send-transaction-rpc-method" id="send-transaction-rpc-method"></a>

<mark style="color:green;">`POST`</mark> <https://eth-rpc.kolibr.io/>\
Returns the number of transactions sent from an address. If the *blocknumber* parameter is passed as *'pending'*,  Kolibio will also consider transactions from the private mempool, and the returned value will be the highest nonce + 1 from the non-confirmed queue.<br>

**Request  Body Parameters**

| Name                     | Value                                                                           |
| ------------------------ | ------------------------------------------------------------------------------- |
| address `(required)`     | The address from which the transaction count to be checked                      |
| blockNumber `(required)` | The block number as a string in hexadecimal format or tags *(latest / pending)* |

**Request Example**

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

```json
curl -X POST "https://eth-rpc.kolibr.io/" \
-H "Content-Type: application/json" \
-d '{
    "method": "eth_getTransactionCount",
    "params": [
        "0x..AddressToCheck",
        "pending"
    ],
    "id": 1,
    "jsonrpc": "2.0"
}'

```

{% endtab %}
{% endtabs %}

**Response Example**

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

```json
{
    "jsonrpc": "2.0",
    "id": 1,
    "result": "0x2c4"
}
```

{% endtab %}
{% endtabs %}


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.kolibrio.xyz/kolibrio-orderflow-service/ethereum/api-quick-start/eth_gettransactioncount.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
