GetBlock

通过区块高度或区块 ID 查询区块——SolidityNode 版本,只返回已固化区块。

相关资源

Body Params
string

区块高度或哈希。若省略,则查询最新区块。示例:1000000

boolean
Defaults to false

是否查询完整区块信息。设为 true 时查询完整区块详情;设为 false 时仅查询区块头。(默认值:false

Response

Language
URL
LoadingLoading…
Response
Click Try It! to start a request and see the response here!