Token Swap
This stream emits events anytime a token is swapped on a DEX that Hello Moon monitors.
Data source: TokenSwap
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. |
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. |
programName | string | The name of the program performing the swap. You must enter the exact programName.Visit https://www.hellomoon.io/id?search=dex to find the correct programName. |
instructionName | string | The name of the program instruction performing the swap. |
aggregator | string | The name of the aggregator that sent the instruction. |
srcMint | string | The mint of the source token. |
srcAmount | number | The amount going into the swap. |
srcTokenAccount | number | The account that holds the source tokens. |
srcOwnerAccount | number | The account that owns the source token account. |
dstMint | string | The mint of the destination token. |
dstAmount | number | The amount coming out of the swap. |
dstTokenAccount | number | The account that holds the destination tokens. |
poolId | string | The account that contains details for the pool. |
Updated over 1 year ago