Documentation Index
Fetch the complete documentation index at: https://goldrush.dev/docs/llms.txt
Use this file to discover all available pages before exploring further.
0.01 credits per call
eth_getBlockTransactionCountByHash on BNB Smart Chain (BSC): Returns the number of transactions in a block, identified by hash.
Endpoint
Authorization: Bearer <YOUR_GOLDRUSH_API_KEY>. See authentication.
Parameters
| Name | Type | Required | Description | Example |
|---|---|---|---|---|
blockHash | DATA, 32 bytes | yes | Hash of the block. | "0xb3b20624f8f0f86eb50dd04688409e5cea4bd02d700bf6e79e9384d47d6a5a35" |
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 BNB Smart Chain (BSC)
eth_blockNumberon BNB Smart Chain (BSC)eth_getBlockByHashon BNB Smart Chain (BSC)eth_getBlockByNumberon BNB Smart Chain (BSC)eth_getBlockTransactionCountByNumberon BNB Smart Chain (BSC)