eth_getBlockTransactionCountByHash
POST https://mainnet.valuechain.xyz
Returns the number of transactions in a block matching the given hash.
Parameters
Name
Type
Required
Description
blockHash
hash
Yes
32-byte block hash.
Result
Count (quantity): Hex-encoded transaction count.
Example
Response
{
"jsonrpc": "2.0",
"id": 1,
"result": "0x1"
}Code examples
cURL
JavaScript
Python
Last updated