blockchain | VARCHAR | Blockchain on which this trade occurred |
project | VARCHAR | Name of the DEX on which the trade occurred |
version | VARCHAR | Version of the DEX protocol/contract |
block_time | TIMESTAMP | UTC event block time |
block_month | DATE | UTC event block month (partition key) |
block_number | BIGINT | Block number in which the trade occurred |
token_sold_address | VARBINARY | Contract address of the token sold |
token_bought_address | VARBINARY | Contract address of the token bought |
token_sold_symbol | VARCHAR | Symbol of the token sold |
token_bought_symbol | VARCHAR | Symbol of the token bought |
maker | VARBINARY | Address that sold tokens (can be contract or EOA) |
taker | VARBINARY | Address that purchased tokens (can be contract or EOA) |
tx_hash | VARBINARY | Transaction hash |
tx_from | VARBINARY | EOA address that sent the transaction |
tx_to | VARBINARY | Address called in the first call of this transaction |
project_contract_address | VARBINARY | Smart contract address which emitted the trade event |
token_pair | VARCHAR | Symbol pair for the tokens involved, always alphabetical order |
tx_index | BIGINT | Index of the transaction in the block |
token_sold_amount_raw | UINT256 | Raw amount of the token sold |
token_bought_amount_raw | UINT256 | Raw amount of the token bought |
token_sold_amount | DOUBLE | Amount of the token sold in display units |
token_bought_amount | DOUBLE | Amount of the token bought in display units |
amount_usd | DOUBLE | USD value of the trade at time of execution |
evt_index | BIGINT | Index of the event in the transaction |