Home

Get Transaction Count by Block Number

POST
https://robinhood.nownodes.io/

Authorizations

ApiKeyAuthApiKeyAuth

api-key string

NOWNodes API key passed in the api-key header.

Returns the number of transactions contained in the block with the given block number.

Body

application/json

JSON-RPC 2.0 request to the Robinhood Chain mainnet endpoint.

Request payload for Get Transaction Count by Block Number.

jsonrpcstringrequired

JSON-RPC version

methodstringrequired

JSON-RPC method name

paramsArray<string>required

Array containing a single parameter: - Block number as a hex string (e.g. "0x10d4f" for block 69007) or - predefined block tags such as "latest", "earliest", or "pending"

idintegerrequired

Request ID

Response

200OK

Number of transactions in the block

500Internal Server Error

Upstream node or gateway error.