GetBlockBalance

Get all balance change operations in a block.(Note: At present, the interface data can only be queried through the following official nodes 13.228.119.63 & 18.139.193.235&18.141.79.38 &18.139.248.26).

This method will use 30 Compute Units.


Parameters

  • hash - String - Block hash.

  • number - int32 - Block number.

  • visible - Boolean - Optional. Specifies whether the address is in Base58 format (default: false).

Returns

Field
Type
Description

timestamp

int64

timestamp

block_identifier.hash

string

block hash

block_identifier.number

int64

block number

transaction_balance_trace

TransactionBalanceTrace[]

List of transaction information with balance changes

The fields contained in the TransactionBalanceTrace object are as follows:

Field
Type
Description

transaction_identifier

string

transaction hash

operation

Operation[]

The operation list contains the balance change operations involved in this transaction. Each operation contains the following fields: operation_identifier: operation identifier, int64 type; address: address, string type; amount: amount of balance increase or decrease, int64 type

type

string

transaction type

status

string

transaction result

Last updated

Was this helpful?