eth_getBlockTransactionCountByHash
curl --request POST \
--url https://api.mainnet.abs.xyz/eth_getBlockTransactionCountByHash \
--header 'Content-Type: application/json' \
--data '
{
"jsonrpc": "2.0",
"id": 1,
"method": "eth_getBlockTransactionCountByHash",
"params": [
"0xdc0818cf78f21a8e70579cb46a43643f78291264dda342ae31049421c82d21ae"
]
}
'{
"jsonrpc": "2.0",
"id": 1,
"result": "0x0"
}Ethereum API
eth_getBlockTransactionCountByHash
Returns the number of transactions in a block by block hash
POST
/
eth_getBlockTransactionCountByHash
eth_getBlockTransactionCountByHash
curl --request POST \
--url https://api.mainnet.abs.xyz/eth_getBlockTransactionCountByHash \
--header 'Content-Type: application/json' \
--data '
{
"jsonrpc": "2.0",
"id": 1,
"method": "eth_getBlockTransactionCountByHash",
"params": [
"0xdc0818cf78f21a8e70579cb46a43643f78291264dda342ae31049421c82d21ae"
]
}
'{
"jsonrpc": "2.0",
"id": 1,
"result": "0x0"
}Body
application/json
Was this page helpful?
⌘I