# eth\_getTransactionCount - Ethereum

## How to Use the eth\_getTransactionCount Method

### **Parameters**

DATA, 20 Bytes - sender’s address.

QUANTITY|TAG - the string "latest", "earliest" or "pending", or an integer block number, as you can see in the default block parameter. params:

```
[
    '0xc94770007dda54cF92009BFF0dE90c06F603a09f',
    'latest' // state at the latest block
]
```

### **What you receive**

QUANTITY - how many transactions were sent from the stated address, presented as an integer.

### Sample

Here is a typical appliance example.

#### Call

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

```bash
curl https://eth-mainnet.rpcfast.com/?api_key=<key> \
    -X POST \
    -H "Content-Type: application/json" \
    -d '{"jsonrpc":"2.0","method":"eth_getTransactionCount","params":["0xc94770007dda54cF92009BFF0dE90c06F603a09f","latest"],"id":0}'

```

{% endtab %}
{% endtabs %}

#### Outcome

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

```
