0.01 credits per call
eth_getBlockTransactionCountByHash on Polygon: Returns the number of transactions in a block, identified by hash.
Endpoint
Authorization: Bearer <GOLDRUSH_API_KEY>. See authentication.
Parameters
Returns
QUANTITY | null: Hex-encoded transaction count, or null if the block is unknown.
Examples
Errors
Standard JSON-RPC errors:-32600 invalid request, -32601 method not found, -32602 invalid params.
Related Blocks info methods on Polygon
eth_blockNumberon Polygoneth_getBlockByHashon Polygoneth_getBlockByNumberon Polygoneth_getBlockTransactionCountByNumberon Polygon
Also available on
eth_getBlockTransactionCountByHashon Ethereumeth_getBlockTransactionCountByHashon BNB Smart Chain (BSC)eth_getBlockTransactionCountByHashon Arbitrumeth_getBlockTransactionCountByHashon Baseeth_getBlockTransactionCountByHashon HyperEVMeth_getBlockTransactionCountByHashon MegaETHeth_getBlockTransactionCountByHashon Monadeth_getBlockTransactionCountByHashon Tempoeth_getBlockTransactionCountByHashon Robinhood Chain