eth_getBlockTransactionCountByHash RPC Method
To use the eth_getBlockTransactionCountByHash method on the 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 -X POST "https://docs-demo.flare-mainnet.quiknode.pro/ext/bc/C/rpc/" \2-H "Content-Type: application/json" \3-d '{4"jsonrpc": "2.0",5"method": "eth_getBlockTransactionCountByHash",6"params": [7"0x6d2a190a9de70d4e4c65c8b565a921d190a88a4c78ab734a91b7f75cb2acf78f"8],9"id": 110}'
1curl -X POST "https://docs-demo.flare-mainnet.quiknode.pro/ext/bc/C/rpc/" \2-H "Content-Type: application/json" \3-d '{4"jsonrpc": "2.0",5"method": "eth_getBlockTransactionCountByHash",6"params": [7"0x6d2a190a9de70d4e4c65c8b565a921d190a88a4c78ab734a91b7f75cb2acf78f"8],9"id": 110}'
Response
1{2"jsonrpc": "2.0",3"id": 1,4"result": "0x1"5}
1{2"jsonrpc": "2.0",3"id": 1,4"result": "0x1"5}
Don't have an account yet?
Create your Quicknode endpoint in seconds and start building
Get started for free