Ethereum icon

Ethereum

Interact with Ethereum blockchain

Account → Get Transaction Count

AI-generated

Summary

Gets the transaction count for an Ethereum address.

Inputs

  • address — The Ethereum address to query (leave empty to use credential address)
  • blockTag — Select the block tag for the transaction count request.
  • blockNumber — The block number to query (required only when blockTag is set to 'Custom Block Number')

Output shape

a numeric string representing the transaction count

Returned as a string; may be empty if no transactions are found

Examples

Example 1: Query transaction count for address 0x742d35Cc6634C0532925a3b844Bc9e7595f0bEb using the latest block

address=0x742d35Cc6634C0532925a3b844Bc9e7595f0bEb&blockTag=latest

Example 2: Query transaction count for a custom block number

address=0xAbc123...&blockTag=custom&blockNumber=12345

Links

Discussion