POSTeth_getBlockTransactionCountByHash

Tron Mainnethttps://tron-mainnet.nodit.io/

Returns the number of transactions in a block by block hash.

Request Body
idintegerrequired
jsonrpcstringrequired
methodstringrequired
paramsoneOf[]required

It contains following parameter in order:

  1. blockHash: The hash of the block to look up. (required)
params[0]string

The 32-byte hash of the block to look up.

Responses

응답 본문이 없습니다.

X-API-KEY
RequestCU14
cURL
curl -X POST "https://tron-mainnet.nodit.io/" \
  -H "X-API-KEY: {YOUR_API_KEY}" \
  -H "Content-Type: application/json" \
  -d '{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "eth_getBlockTransactionCountByHash",
  "params": [
    "0x00000000020ef11c87517739090601aa0a7be1de6faebf35ddb14e7ab7d1cc5b"
  ]
}'
Response
Example · 200
{
  "jsonrpc": "2.0",
  "id": 1,
  "result": "0x39"
}