solana.dex.trades contains instruction level swap data from major dex protocols and projects on Solana network.

If you require tx-level detail for records in this table, see here for more info.

DEX Coverage

The existing project and protocol coverage includes:

ProjectProtocols Supported
sabersaber-stableswap
meteorameteora
cremaclmm-v2
raydiumraydium-clmm, raydium-v4, raydium-stable
lifinitylifinity-v2, lifinity-v1
mercurialmercurial
stepnstepn
symmetrysymmetry
orcaorca-v1, orca-v2, orca-whirlpool
invariantinvariant
phoenixphoenix

Aggregator Coverage

Swaps routed through aggregators are also tagged. Existing aggregator coverage includes:

AggregatorsVersions
Jupiterjupiter-aggregator-v2, jupiter-aggregator-v3, jupiter-aggregator-v4, jupiter-aggregator-v5, jupiter-aggregator-v5.1, jupiter-aggregator-v6
Othersdrift, kamino, raydium-router, saber-router com

Table Columns

Column NameDescriptionTypeExample
projectThe project (decentralized exchange) of the liquidity pool that the swap occurred from.varcharsaber
protocolVersion of the protocol.varcharsaber-stableswap
aggregatorAggregator, if available.varcharjupiter-aggregator-v4
sender_addressThe address of the sender emitted on the swap event logs. This can be a router or pool address, which is different from the transaction initatior transaction_from_address that initiated the swap.varchar9doNJz52PMd8bi3FKRV9gfXa5nXLDjoW1SBVMbmAuuSh
to_addressAddress where the token is being transferred to.varchar9doNJz52PMd8bi3FKRV9gfXa5nXLDjoW1SBVMbmAuuSh
sender_token_accAddress of the account sending the token.varcharGaamrfkoR862pJDUBPzzrdZny4RSNFxUr8f7eRYRKqrq
to_token_accAddress of the account receiving the token.varcharDv7HRmd6MTPghRpLSr6aS6y9z638E6Apx3W7w5CabNrR
token_sold_mintMint address of the token sold.varchar7dHbWXmci3dT8UFYWYZweBLXgycu7Y3iL6trKn1Y7ARj
token_sold_symbolSymbol of the token sold.varcharstSOL
token_sold_amount_rawRaw amount of tokens sold (unnormalized).float428,240,429
token_sold_amount_raw_strRaw amount of tokens sold (unnormalized) in string.varchar428240429
token_sold_amountAmount of tokens sold.float0.428240429
token_sold_amount_strAmount of tokens sold in string.varchar0.428240429
usd_sold_amountAmount of token sold in USD value.float10.01002788
usd_sold_exchange_rateUSD exchange rate of the token sold.float23.3748172
token_bought_mintMint address of the token bought.varcharSo11111111111111111111111111111111111111112
token_bought_symbolSymbol of the token bought.varcharSOL
token_bought_amount_rawRaw amount of tokens bought (unnormalized).float472,388,367
token_bought_amount_raw_strRaw amount of tokens bought (unnormalized) in string.varchar472388367
token_bought_amountAmount of tokens bought.float0.472388367
token_bought_amount_strAmount of tokens bought in string.varchar0.472388367
usd_bought_amountAmount of token bought in USD value.float9.995737846
usd_bought_exchange_rateUSD exchange rate of the token bought.float21.16
usd_amountUSD value of the token amount transferred.float9.995737846
tokens_sold_symbolsArray of tokens bought.variant[ “stSOL” ]
tokens_bought_symbolsArray of tokens sold.variant[ “SOL” ]
token_pairsArray of token pairs traded.variant[ “stSOL-SOL” ]
signerAddress of the transaction signer.varchar9doNJz52PMd8bi3FKRV9gfXa5nXLDjoW1SBVMbmAuuSh
block_slotBlock slot of the transfer.number192,826,770
block_heightBlock height of the transfernumber175,699,063
block_timestampBlock timestamp of the transfer.timestamp_ntz2023-05-08 16:47:45
block_hashBlock hash of the transfer.varcharxSiG9AgdNfgKRhXyrd92EgLuQ5N6NVURdHNFN5U3TPM
txn_idTransaction ID of the transfer.varchar2HtfMAqb1meoJHB1kmDvPzfZWpjDu3JYV5cmruftATE2VpgASSEUtjsYdc3CD86vyM9RJAGMZDHx6ZFM5VvgiJMX
txn_indexTransaction Index of the transfer.number747
instruction_indexTransfer instruction index.number0
inner_instruction_indexTransfer inner instruction index.number4
program_idProgram ID.varcharSSwpkEEcbUqx4vtoEByFjSkhKdCT862DNVb52nZg1UZ
accountsArray of account addresses involved in the trade. variant<too long to display>
dataData field.varchareDt4c2UN1PNdapr97JsGk7
selectorSelector data.varchar1
unique_idUnique id of the trade.varchartxn_id-2HtfMAqb1meoJHB1kmDvPzfZWpjDu3JYV5cmruftATE2VpgASSEUtjsYdc3CD86vyM9RJAGMZDHx6ZFM5VvgiJMX_i_index-0_ii_index-4