Get transaction count by block number
POST
Authorizations
ApiKeyAuthApiKeyAuthapi-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
jsonrpcstringrequiredJSON-RPC version
methodstringrequiredJSON-RPC method name
paramsArray<string>requiredArray 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"
idintegerrequiredRequest ID
Response
200OK
Number of transactions in the block
405Method Not Allowed
Method not served by this endpoint. The body is the plain-text string
Method Not Allowed, not JSON.
422Unprocessable Entity
Missing API key - the api-key header was absent. The body is the
plain-text string Missing API_key, not JSON.