eth_getTransactionsByBlockNumber

网络: BSC · 主网 · Chain ID 56(0x38)

计为 1 个 Request。 计费规则见 Request Counting。

描述

按区块号返回该区块的全部交易。

参数

参数类型必填说明
blockblockTag是区块号或 tag

请求

{ "jsonrpc": "2.0", "method": "eth_getTransactionsByBlockNumber", "params": ["latest"], "id": 1 }

代码示例

curl -X POST https://bsc-rpc.blockreq.com/v1/rpc/public \ -H "Content-Type: application/json" \ -d '{"jsonrpc":"2.0","method":"eth_getTransactionsByBlockNumber","params":["latest"],"id":1}'

在线试用