Balance Change
Balance changes for all accounts at a transaction level. Each transaction will have 0 or more balance changes.
Data source: BalanceChange
Name | DataType | Description |
---|---|---|
blockId | number | Numeric identifier of a block describing the slot that the block was produced in. |
blockTime | number | Unix epoch time (in seconds) of a block as calculated from validator votes. |
transactionId | string | First signature in a transaction, which can be used to uniquely identify the transaction across the whole ledger. |
transactionPosition | number | Zero-indexed position of the transaction within the block. |
account | string | The account for which the balance change applies to. |
accountOwner | string | The owner of the account if this is a non-SOL account. For SOL balances, this is null. |
mint | string | Mint of the token that the balance is in. For SOL, this is null. |
decimals | number | Number of decimals the mint has. The number of decimals is used to convert the mint's amount (in native units) to USDC. For example, an amount of 1,000,000 with a decimal of 6 would be 1 USDC. |
preBalance | number | The balance of the account before the update. |
postBalance | number | The balance of the account after the update. |
amount | number | The change of the balance (postBalance - preBalance). |
Updated almost 2 years ago