Skip to main content

Path parameters

apiKey
string
required
Your API key for authentication

Request

hash
string
required
Hash of a block

Example request params

[
  "0xd5f1812548be429cbdc6376b29611fc49e06f1359758c4ceaaa3b393e2239f9c"
]
curl https://site1.moralis-nodes.com/moonbeam/:apiKey \
  -X POST \
  -H "Content-Type: application/json" \
  -d '{"jsonrpc": "2.0", "method": "eth_getBlockTransactionCountByHash", "params": ["0xd5f1812548be429cbdc6376b29611fc49e06f1359758c4ceaaa3b393e2239f9c"], "id": 1}'
{
  "jsonrpc": "2.0",
  "id": 1,
  "result": "0x0"
}