Token Transfer

Balance changes for all accounts at a transaction level. Each transaction will have 0 or more balance changes.

Data source: TokenTransfer

NameDataTypeDescription
blockIdnumberNumeric identifier of a block describing the slot that the block was produced in.
blockTimenumberUnix epoch time (in seconds) of a block as calculated from validator votes.
transactionIdstringFirst signature in a transaction, which can be used to uniquely identify the transaction across the whole ledger.
transactionPositionnumberZero-indexed position of the transaction within the block.
instructionPositionnumberZero-indexed position of the instruction within the transaction.
subInstructionPositionnumberZero-indexed position of the sub-instruction within the instruction.
instructionOrdinalnumberThe 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.
programIdstringThe 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.
typestringType of token transfer.
sourcestringThe account the token was transferred from.
sourceOwnerstringThe owner of the source account if this is a non-SOL transfer. For SOL transfers, this is null.
destinationstringThe account the token was transferred to.
destinationOwnerstringThe owner of the destination account if this is a non-SOL transfer. For SOL transfers, this is null.
authoritystringThe authority that signed the transfer.
mintstringMint of the token that the transfer is in. For SOL, this is null.
amountnumberThe amount of the transfer (newDestinationBalance - oldDestinationBalance).
sourcePreBalancenumberThe balance of the source account before the update.
destinationPreBalancenumberThe balance of the destination account before the update.
sourcePostBalancenumberThe balance of the source account after the update.
destinationPostBalancenumberThe balance of the destination account after the update.