eth_getBlockTransactionCountByHash
POST/
Returns the number of transactions in a block matching the given block hash.
Parameters:
hash
: the hash (32 bytes) of the block.
Returns:
result
: a hex string representing the number of transactions in the block.
Request
Query Parameters
apikey stringrequired
Your API key
- application/json
Body
id integer
jsonrpc string
method string
params string[]
Responses
- 200
Successful response
- application/json
- Schema
- Example (from schema)
Schema
jsonrpc string
id integer
result string
{
"jsonrpc": "2.0",
"id": 1,
"result": "0x7d"
}
Loading...
Was this helpful?
Happy React is loading...