eth_getBlockTransactionCountByHash RPC Method
To use the eth_getBlockTransactionCountByHash method on the Avalanche C-Chain, ensure that the end of your URL includes ext/bc/C/rpc.
Parameters
hash
string
REQUIRED
Loading...
Returns
result
string
Loading...
Request
1curl https://docs-demo.avalanche-mainnet.quiknode.pro \2-X POST \3-H "Content-Type: application/json" \4--data '{5"method": "eth_getBlockTransactionCountByHash",6"params": [7"0x3e56c97d34f03b1369c351fa6c9f57c8bfa987c7da40964fab981303e0ef5849"8],9"id": 1,10"jsonrpc": "2.0"11}'
1curl https://docs-demo.avalanche-mainnet.quiknode.pro \2-X POST \3-H "Content-Type: application/json" \4--data '{5"method": "eth_getBlockTransactionCountByHash",6"params": [7"0x3e56c97d34f03b1369c351fa6c9f57c8bfa987c7da40964fab981303e0ef5849"8],9"id": 1,10"jsonrpc": "2.0"11}'
Don't have an account yet?
Create your Quicknode endpoint in seconds and start building
Get started for free