Skip to main content
GET
Get Block Transaction Count
Supported chains: ethereum, polygon, base, arbitrum, optimism, binance, avalanche, gnosis

Authorizations

apikey
string
header
required

API key for authentication. Contact SonarX to obtain your API key.

Path Parameters

chain
enum<string>
required

The blockchain network to query

Available options:
ethereum,
polygon,
base,
arbitrum,
optimism,
binance,
avalanche,
gnosis
Example:

"polygon"

Query Parameters

block_number
integer
required

Block number to query (>= 0)

Required range: x >= 0
Example:

81901165

Response

Transaction count

block_number
integer

The queried block number

transaction_count
integer

Number of transactions in the block