Token Transfer
Balance changes for all accounts at a transaction level. Each transaction will have 0 or more balance changes.
Data source: TokenTransfer
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. |
instructionPosition | number | Zero-indexed position of the instruction within the transaction. |
subInstructionPosition | number | Zero-indexed position of the sub-instruction within the instruction. |
instructionOrdinal | number | The zero-indexed position of an instruction - subinstruction combination in the context of the transaction. This is generated by flattening all instruction/subinstruction/sub-subinstruction/... and numbering them from 0. |
programId | string | The account id containing the program performing the swap. You must enter the exact programId.Visit https://www.hellomoon.io/id?search=dex to find the correct programId. |
type | string | Type of token transfer. |
source | string | The account the token was transferred from. |
sourceOwner | string | The owner of the source account if this is a non-SOL transfer. For SOL transfers, this is null. |
destination | string | The account the token was transferred to. |
destinationOwner | string | The owner of the destination account if this is a non-SOL transfer. For SOL transfers, this is null. |
authority | string | The authority that signed the transfer. |
mint | string | Mint of the token that the transfer is in. For SOL, this is null. |
amount | number | The amount of the transfer (newDestinationBalance - oldDestinationBalance). |
sourcePreBalance | number | The balance of the source account before the update. |
destinationPreBalance | number | The balance of the destination account before the update. |
sourcePostBalance | number | The balance of the source account after the update. |
destinationPostBalance | number | The balance of the destination account after the update. |
Updated almost 2 years ago