AssetBalance

constructor(id: String? = null, total: String? = null, available: String? = null, pending: String? = null, frozen: String? = null, lockedAmount: String? = null, blockHeight: String? = null, blockHash: String? = null, rewardInfo: BalanceRewardInfo? = null)

Parameters

id

The asset ID

total

The total wallet balance. Total = available + pending + lockedAmount + frozen

  • In EOS this value includes the network balance, self staking and pending refund.

  • For all other coins it is the balance as it appears on the blockchain.

available

Funds available for transfer. Equals: "total" minus "lockedAmount" minus "frozen" minus "pending".

pending

The cumulative balance of all transactions pending to be cleared.

frozen

The cumulative frozen balance.

lockedAmount

Funds in outgoing transactions that are not yet published to the network

blockHeight

The height (number) of the block of the balance

blockHash

The hash of the block of the balance

rewardInfo

BalanceRewardInfo The reward information