Skip to main content

Table Details

PropertyValue
Table Namemode.dex.unhydrated_orderflow
Table StatusProduction-Ready
Unique Keyblock_timestamp, unique_id
Clustering Key(s)block_timestamp::date

Table Columns

Column NameData TypeDescription
block_numberNUMBER(38,0)Sequential number of the block that contains this record. Starts at 0 (genesis block) and increments by 1 for each new block.
block_timestampTIMESTAMP_NTZ(9)Timestamp (UTC) of the block that contains this record.
transaction_hashVARCHAR(66)Hash of the transaction that produced this record. Uniquely identifies a transaction within the blockchain.
transaction_indexNUMBER(38,0)Zero-based position of the transaction within its block. The first transaction in a block has index 0.
swapper_addressVARCHAR(42)Address of the account that initiated the swap (end user).
from_addressVARCHAR(42)Address that initiated or sent from in this event. For token transfers, the account whose balance decreased. For transactions, the transaction sender (msg.sender).
to_addressVARCHAR(42)Address that received in this event. For token transfers, the account whose balance increased. For transactions, the destination address (may be a smart contract).
is_aggregatorBOOLEANBoolean indicating if the trade was executed through a DEX aggregator.
usd_volumeFLOATUSD value of the individual trade.
total_usd_volumeFLOATTotal USD value of all trades in the transaction.
sendersVARIANTArray of addresses that sent tokens in the trade.
recipientsVARIANTArray of addresses that received tokens in the trade.
user_token_inputVARCHAR(42)Address of the token the user sent in the trade.
user_token_input_symbolVARCHAR(16777216)Symbol of the token the user sent.
user_token_outputVARCHAR(42)Address of the token the user received in the trade.
user_token_output_symbolVARCHAR(16777216)Symbol of the token the user received.
tokens_soldVARIANTArray of token addresses that were sold in the trade.
tokens_boughtVARIANTArray of token addresses that were bought in the trade.
integratorsVARIANTArray of integrator addresses used in the trade.
integrator_tagsVARIANTArray of tags associated with the integrators.
aggregator_sourceVARIANTSource of the aggregation if the trade was executed through an aggregator.
aggregator_usd_volumeFLOATUSD volume of the trade portion executed through aggregators.
aggregatorsVARIANTArray of aggregator addresses used in the trade.
aggregators_countNUMBER(38,0)Number of different aggregators used in the trade.
aggregator_detailsVARIANTDetailed information about the aggregator portion of the trade.
liquidity_sourceVARIANTArray of DEX protocols that provided liquidity for the trade.
liquidity_usd_volumeFLOATUSD volume of the trade portion executed through DEX liquidity pools.
liquidity_poolsVARIANTArray of liquidity pool addresses used in the trade.
liquidity_pools_countNUMBER(38,0)Number of different liquidity pools used in the trade.
liquidity_detailsVARIANTDetailed information about the liquidity sources used, including protocol, pair, and amounts.
total_tradesNUMBER(38,0)Total number of individual trades executed in this transaction.
unique_idVARCHAR(16777216)Allium’s deterministic unique identifier for this row. Generated from the fields that uniquely identify the record (e.g. transaction hash + log index). Stable across full refreshes.
_created_atTIMESTAMP_NTZ(9)Timestamp of when the entry was created in the database.
_updated_atTIMESTAMP_NTZ(9)Timestamp of when the entry was last updated in the database.