GetNowBlock

查询最新已产出的区块——返回的可能尚未固化(FullNode 端口);交易最终入账请等待固化。

Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…

查询最新已产出的区块。返回的可能尚未固化(FullNode 端口);交易最终入账请等待固化。

📘

FullNode vs SolidityNode

调用 FullNode 端口(默认 8090)时返回的是最新已产出区块,可能尚未固化;调用 SolidityNode 端口(默认 8091)时返回的是最新已固化区块(落后约 1 分钟)。需要终态确认时应使用 SolidityNode 版本。


相关资源

  • GetBlockByLatestNum —— 一次返回最近 N 个区块
  • GetBlock —— 按高度或 ID 查询任意区块
  • 区块 —— 区块结构、复合区块 ID 和区块查询接口选型
  • 共识与 DPoS —— 至少 19 个不同活跃 SR 的固化机制(约 1 分钟)
Query Params
boolean

可选。设置为 true 时地址以 Base58 格式返回;设置为 false 时以 hex 格式返回。(默认:false

Response

Language
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json