Skip to main content
Schema: aleo.defi Table: fact_swaps Type: Base Table Records of all swap transactions on Aleo, including both public and private swaps.

Columns

Column NameData TypeDescription
BLOCK_TIMESTAMPTIMESTAMP_NTZThe timestamp at which the block began.
BLOCK_IDNUMBERThe block height the block was recorded at.
TX_IDTEXTThe unique identifier for the transaction.
SUCCEEDEDBOOLEANA boolean value indicating if the event succeeded.
SWAPPERTEXTThe address that initiated the swap
FROM_AMOUNT_UNADJFLOATThe amount of tokens input into the swap, unadjusted for decimals
FROM_AMOUNTFLOATThe amount of tokens input into the swap, adjusted for decimals
FROM_SYMBOLTEXTThe token being swapped from
FROM_IDTEXTThe token id being swapped from
TO_AMOUNT_UNADJFLOATThe amount of tokens received from the swap, unadjusted for decimals
TO_AMOUNTFLOATThe amount of tokens received from the swap, adjusted for decimals
TO_SYMBOLTEXTThe token being swapped to
TO_IDTEXTThe token id being swapped to
ROOT_ACTIONTEXTThe program and function that initiated the swap
PLATFORMTEXTThe name of the protocol where the swap occurred
FACT_SWAPS_IDTEXTThe unique identifier for each row in the table.
INSERTED_TIMESTAMPTIMESTAMP_NTZThe utc timestamp at which the row was inserted into the table.
MODIFIED_TIMESTAMPTIMESTAMP_NTZThe utc timestamp at which the row was last modified.
_INVOCATION_IDTEXT