eth_getBlockTransactionCountByHash
Returns the number of transactions in a block from a block matching the given block hash.
- CURL
curl --request POST \
--url https://evm.confluxrpc.com \
--header 'accept: application/json' \
--header 'content-type: application/json' \
--data '
{
"id": 1,
"jsonrpc": "2.0",
"params": [null],
"method": "eth_getBlockTransactionCountByHash"
}'
Params
blockhash required
Schema
type : string
Pattern :
^0x[0-9,a-f,A-F]{64}$
Result
Schema
type : string
Pattern :
^0x([1-9a-f][0-9a-f]{0,63}|0)$