GetBlockBalance

获取一个区块中所有的余额变化操作(注:目前该接口数据只能通过官方如下节点查询 13.228.119.63 & 18.139.193.235&18.141.79.38 &18.139.248.26)

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

返回值

返回如下数据:

字段类型描述
timestampint64时间戳。(单位: 毫秒)
block_identifier.hashstring区块哈希。
block_identifier.numberint64区块高度。
transaction_balance_traceTransactionBalanceTrace[]涉及余额变更的交易信息列表。

其中TransactionBalanceTrace对象包含的字段如下:

字段类型描述
transaction_identifierstring交易 ID (哈希)。
operationOperation[]操作列表,包含了本次交易中涉及到的余额变化操作,包括发送方扣款、接收方入账以及资源费用 (带宽/能量) 扣除等。每项包含 operation_identifier (序号)、address (涉及地址) 和 amount (变更金额)。
typestring交易类型。
statusstring交易状态。
Body Params
string
required

区块hash。例如:0000000003dba95c7f05cedf1ba32cd64b6baa082a7870f533b4451703e432ab

int32
required

区块高度,区块hash和number必须一致。例如:64727388

boolean

设置为 true 则地址将以 Base58 格式显示;设置为 false 则以 Hex 格式显示。(默认值: false)

Responses

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