eth_getTransactionCount

Get Transaction Count RPC Method

POST 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.

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

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"
}'

Response Example

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

Last updated