Kolibrio
  • Kolibrio Orderflow Service
    • Solana
      • How it works
      • API: Quick Start
        • SendTransaction
      • FAQ
      • Advanced
        • Subsidy Transactions
        • How to Protect Against Frontrunning on SOL
        • Stats API
    • Ethereum
      • How it works
      • API: Quick Start
        • eth_sendRawTransaction
        • eth_sendBundle
        • eth_getTransactionByHash
        • eth_getTransactionCount
      • Pending Transactions on Chain Explorer (Etherscan)
  • Kolibrio Validator
    • How to Stake with Phantom Wallet
    • How to Stake via Stakewiz
Powered by GitBook
On this page
  1. Kolibrio Orderflow Service
  2. Ethereum
  3. API: Quick Start

eth_getTransactionCount

Previouseth_getTransactionByHashNextPending Transactions on Chain Explorer (Etherscan)

Last updated 6 months ago

Get Transaction Count RPC Method

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

https://eth-rpc.kolibr.io/