HomeGuidesAPI ReferenceChangelog
GuidesAPI ReferenceCommunityDiscordBlogFAQBug BountyAnnouncementsChange Log
API Reference

GetBlockBalance

Get all balance change operations in a block. (Note: This API requires the node to enable the historical balance query feature. When using official nodes, the interface is currently available only on the following nodes: 13.228.119.63, 18.139.193.235, 18.141.79.38, and 18.139.248.26.)

Returns

FieldTypeDescription
timestampint64Timestamp. (Unit: millisecond)
block_identifier.hashstringBlock hash.
block_identifier.numberint64Block number.
transaction_balance_traceTransactionBalanceTrace[]List of transaction information with balance changes.

The fields contained in the TransactionBalanceTrace object are as follows:

FieldTypeDescription
transaction_identifierstringTransaction ID (hash).
operationOperation[]List of balance change operations in this transaction, including sender deductions, receiver additions, and resource fee burns (Bandwidth/Energy). Each item contains operation_identifier (index), address (affected address), and amount (balance change).
typestringTransaction type.
statusstringTransaction result status.
Language
Click Try It! to start a request and see the response here!