<!-- Canonical: https://docs.linea.build/api/reference/eth-gettransactioncount -->

> For the complete Linea documentation index, see [llms.txt](/llms.txt).
> Agents can fetch this page as Markdown at [https://docs.linea.build/api/reference/eth-gettransactioncount.md](https://docs.linea.build/api/reference/eth-gettransactioncount.md).

# eth_getTransactionCount

# `eth_getTransactionCount`

Returns the number of transactions sent from an address (the account nonce).

## Parameters

-   `address`: _[required]_ 20-byte address.
-   `blockParameter`: _[required]_ Hexadecimal block number, or `latest`, `earliest`, `pending`, `finalized`.

## Returns

Hexadecimal integer of the number of transactions sent from the address.

## Example

### Request

```bash
curl https://rpc.linea.build \
  -X POST \
  -H "Content-Type: application/json" \
  -d '{
    "jsonrpc": "2.0",
    "method": "eth_getTransactionCount",
    "params": [
      "0xd8dA6BF26964aF9D7eEd9e03E53415D37aA96045",
      "latest"
    ],
    "id": 1
  }'
```

### Response

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