> ## Documentation Index
> Fetch the complete documentation index at: https://docs.uniblock.dev/llms.txt
> Use this file to discover all available pages before exploring further.

# eth_getTransactionCount

> Returns the number of transactions sent from an address.

### Parameters

**chainId** `string` *required* (default: 10218)

Unique identifier for a blockchain network.

**id** `number` *required* (default: 1)

Request identifier used to match responses.

**jsonrpc** `string` *required* (default: 2.0)

JSON-RPC version.

**method** `string` *required* (default: eth\_getTransactionCount)

JSON-RPC method name.

**params** `object` *required*

Parameters for eth\_getTransactionCount: \[address, defaultBlock].

Positional parameters for `eth_getTransactionCount`:

<ul>
  <li>`params[0]`: The address.</li>
  <li>`params[1]`: Block identifier. Can be an integer block number or a string tag: "latest", "earliest", or "pending".</li>
</ul>

### Returns

**result** `string`

The number of transactions sent from this address. Example: `"0x1b"`.

```bash Curl theme={null}
curl --request POST \
  --url https://api.uniblock.dev/uni/v1/json-rpc?chainId=10218 \
  --header 'content-type: application/json' \
  --data '{
    "id": 1,
    "jsonrpc": "2.0",
    "method": "eth_getTransactionCount",
    "params": [
      "0x407d73d8a49eeb85d32cf465507dd71d507100c1"
    ]
  }'
```

```json Success theme={null}
{
  "jsonrpc": "2.0",
  "id": 1,
  "result": "0x1b"
}
```


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