以太坊兼容接口eth_getBlockByNumber在线调用POST eth_getBlockByNumber (eth_getBlockByNumber) 返回0号元空间指定编号的块 参数 QUANTITY|TAG - 整数块编号,或字符串"earliest"、"latest" 或"pending" Boolean - 为true时返回完整的交易对象,否则仅返回交易哈希 返回值 Result: 示例代码 请求{ "jsonrpc": "2.0", "method": "eth_getBlockByNumber", "params": [ "0x1b4", true ], "id": "1" } 响应见区块交易查询eth_blockNumber上一页eth_estimateGas下一页