Skip to main content

0.01 credits per call

eth_getBlockTransactionCountByHash on MegaETH: Returns the number of transactions in a block, identified by hash.

Endpoint

Authenticate with 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.

Also available on