Skip to main content

Documentation Index

Fetch the complete documentation index at: https://docs.allium.so/llms.txt

Use this file to discover all available pages before exploring further.

Table Details

PropertyValue
Table Namecasper.dex.trades
Table StatusProduction-Ready
Unique Keytransaction_hash, unique_id

Table Columns

Column NameData TypeDescription
projectVARCHAR(16777216)Name of the DEX protocol’s project (e.g., Casperswap).
protocolVARCHAR(16777216)Specific protocol variant or version identifier.
liquidity_pool_addressVARCHAR(16777216)Address of the liquidity pool contract where the trade occurred.
sender_addressVARCHAR(16777216)Address that initiated the trade.
to_addressVARCHAR(16777216)Address that received the bought tokens.
token_sold_addressVARCHAR(16777216)Address of the token sold (input) in the trade.
token_sold_nameVARCHAR(16777216)Human-readable name of the sold token.
token_sold_symbolVARCHAR(16777216)Ticker symbol of the sold token.
token_sold_decimalsNUMBER(38,0)Decimals of the sold token.
token_sold_amount_raw_strVARCHAR(16777216)Raw amount of the sold token in its smallest unit as a string.
token_sold_amount_rawFLOATRaw amount in the token’s smallest unit (no decimal adjustment).
token_sold_amount_strVARCHAR(16777216)Human-readable amount of the sold token adjusted for decimals as a string.
token_sold_amountFLOATHuman-readable amount adjusted for token decimals.
usd_sold_amountFLOATUSD value of the sold token amount at the time of the trade.
token_bought_addressVARCHAR(16777216)Address of the token bought (output) in the trade.
token_bought_nameVARCHAR(16777216)Human-readable name of the bought token.
token_bought_symbolVARCHAR(16777216)Ticker symbol of the bought token.
token_bought_decimalsNUMBER(38,0)Decimals of the bought token.
token_bought_amount_raw_strVARCHAR(16777216)Raw amount of the bought token in its smallest unit as a string.
token_bought_amount_rawFLOATRaw amount in the token’s smallest unit (no decimal adjustment).
token_bought_amount_strVARCHAR(16777216)Human-readable amount of the bought token adjusted for decimals as a string.
token_bought_amountFLOATHuman-readable amount adjusted for token decimals.
usd_bought_amountFLOATUSD value of the bought token amount at the time of the trade.
usd_amountFLOATUSD value of the trade, using the closest available price.
extra_fieldsVARIANTProtocol-specific additional fields not captured by standard columns.
swap_countNUMBER(38,0)Number of underlying swaps composing the trade (>1 for multi-hop routes).
transaction_hashVARCHAR(16777216)Hash of the transaction this event belongs to.
log_indexNUMBER(38,0)Index of the event within the transaction.
block_timestampTIMESTAMP_NTZ(9)Timestamp of the block this event was included in.
block_numberNUMBER(38,0)Height of the block this event was included in.
block_hashVARCHAR(16777216)Hash of the block this event was included in.
unique_idVARCHAR(16777216)Unique identifier for the row, used for deduplication.