# OKX DEX | Bitquery Data Store Every swap routed through OKX's Solana DEX program, decoded and USD-priced at block time. Dataset page: https://bitquery.io/datastore/datasets/okx-dex Network: Solana Category: Trades Tables: 1 Columns: 82 Coverage: first block to 2026-11-09 Format: Apache Parquet, ZSTD compression, one prefix per table Licence: https://bitquery.io/datastore/legal/data-license ## What this is Complete historical record of swaps routed through the OKX DEX program (proVF4pMXVaYqmy4NjniPh4pqKNfMmsihgd4wdkCX3u) on Solana, at slot resolution. OKX DEX is a router: it holds no liquidity of its own and executes a user's swap against pools run by other programs. Each row is one swap as the router executed it, decoded from the program instructions and priced in USD at block time, with both sides of the trade, full token metadata and the transaction context. Bitquery indexes this program under the protocol family OKX and the protocol name dex_solana_v3, and those values appear verbatim in the data. ## What people use it for - Measuring how much Solana swap flow originates from an exchange-operated router - Aggregator market-share comparison against Jupiter and DFlow - Execution quality and slippage benchmarking per route - Wallet-level trading behaviour for users entering Solana DeFi through OKX ## Tables (1) ### okx_dex_trades: 82 columns One row per swap routed through the OKX DEX program, with buy and sell sides, token metadata and USD pricing. Bucket prefix: datashare/solana/okx_dex/dex_trades File naming: _.parquet, 100 slots per file Free sample (real Parquet, no email needed): https://bitquery-blockchain-dataset.s3.us-east-1.amazonaws.com/datashare/solana/okx_dex/dex_trades/423500000_423500099.parquet Sample updated: Sep 24, 2026 | column | type | description | | --- | --- | --- | | Block_Date | Date | UTC date of the block | | Block_Height | UInt64 | Count of blocks produced before this one; lower than the slot because some slots are skipped | | Block_Slot | UInt64 | Slot number of the block; delivered files are split by slot range | | Block_Time | DateTime | Block timestamp, UTC | | Instruction_CallPath | Array | Instruction_Index values of the parent instructions; empty on a top-level instruction | | Instruction_ExternalSeqNumber | UInt64 | Number of the top-level instruction this row falls under, counting from 1 | | Instruction_Index | UInt64 | Position of the instruction in the transaction, counting inner instructions | | Instruction_InternalSeqNumber | UInt64 | Position under its top-level instruction, counting from 1; 0 on a top-level instruction | | Instruction_Program_Address | String | Program that executed the instruction | | Instruction_Program_Method | String | Decoded instruction name, for example swap, buy or route | | Instruction_Program_Name | String | Decoded program name | | Trade_Buy_Account_Address | String | Token account that received the bought tokens; empty on nearly all DFlow rows, and a plain wallet on some native SOL rows | | Trade_Buy_Account_Token_Owner | String | Wallet that owns the receiving token account; often the signer, and often empty | | Trade_Buy_Amount | Decimal | Amount bought, decimal adjusted | | Trade_Buy_AmountInUSD | Float64 | Amount bought, in USD; 0 when unpriced or when only the sold side was valued, then use Trade_Buy_Amount × Trade_Buy_PriceInUSD | | Trade_Buy_Currency_CollectionAddress | String | NFT collection of the bought asset; empty for fungible tokens | | Trade_Buy_Currency_Decimals | UInt64 | Decimal places of the bought token, as its mint sets them | | Trade_Buy_Currency_EditionNonce | UInt64 | Metaplex edition bump seed; a technical value, 0 when unset | | Trade_Buy_Currency_Fungible | Bool | Whether the bought asset is fungible; false for NFTs | | Trade_Buy_Currency_MetadataAddress | String | Metaplex metadata account of the bought asset, when recorded | | Trade_Buy_Currency_MintAddress | String | Mint address of the bought token and the key for joins; SOL shows as 11111111111111111111111111111111 (native) or So11111111111111111111111111111111111111112 (wrapped) | | Trade_Buy_Currency_Name | String | Name from the bought token's metadata; lookalikes copy real names | | Trade_Buy_Currency_ProgramAddress | String | Program that owns the bought mint, SPL Token or Token-2022, when recorded | | Trade_Buy_Currency_SellerFeeBasisPoints | UInt64 | Creator royalty in basis points (100 = 1%); 0 for nearly all fungible coins | | Trade_Buy_Currency_Symbol | String | Ticker of the bought token; not unique, so join on the mint address | | Trade_Buy_Currency_TokenCreator_Address | Array | Creator wallets from the bought asset's metadata; mostly empty in this table | | Trade_Buy_Currency_TokenStandard | String | Metaplex standard, such as Fungible or FungibleAsset, when recorded | | Trade_Buy_Currency_Uri | String | Link to the bought asset's off-chain metadata file, often on IPFS or Arweave | | Trade_Buy_Currency_UpdateAuthority | String | Account that can change the bought asset's metadata unless it is immutable; NativeLoader1111111111111111111111111111111 for SOL | | Trade_Buy_Currency_VerifiedCollection | Bool | Whether the NFT collection is verified; false for fungible tokens | | Trade_Buy_Order_Account | String | Account of the matched order; set only on Magic Eden marketplace trades, empty on AMM and order-book swaps | | Trade_Buy_Order_BuySide | Bool | Whether the matched order is a buy; false when none is attached | | Trade_Buy_Order_LimitAmount | UInt64 | Order size limit; 0 in all rows checked, Magic Eden included | | Trade_Buy_Order_LimitPrice | UInt64 | Order limit price; 0 in all rows checked, Magic Eden included | | Trade_Buy_Order_Mint | String | Mint of the NFT or token the order is for, when one is attached | | Trade_Buy_Order_OrderId | String | Order ID, when one is attached | | Trade_Buy_Order_Owner | String | Wallet that placed the order, when one is attached | | Trade_Buy_Order_Payer | String | Account that paid for the order, normally its owner | | Trade_Buy_Price | Float64 | Price of the bought currency in units of the sold currency | | Trade_Buy_PriceInUSD | Float64 | USD price of one bought token; 0 when unpriced or when only Trade_Buy_AmountInUSD is set, then divide that by Trade_Buy_Amount | | Trade_Dex_ProgramAddress | String | Program address of the DEX that ran the swap, base58; OKX DEX's is proVF4pMXVaYqmy4NjniPh4pqKNfMmsihgd4wdkCX3u | | Trade_Dex_ProtocolFamily | String | Venue family as indexed, which can span several programs; OKX for OKX DEX | | Trade_Dex_ProtocolName | String | Program name and version as indexed; forks can share one, so pair it with the program address; dex_solana_v3 for OKX DEX | | Trade_Index | UInt64 | Position of the swap within the transaction | | Trade_Market_MarketAddress | String | Pool, bonding curve or order-book market the swap ran against; empty when the program reports none, as on Jupiter, DFlow, OKX and Aquifer | | Trade_PriceAsymmetry | Float64 | Relative difference between buy and sell side USD values; 0 when only one side is valued | | Trade_Sell_Account_Address | String | Token account that the sold tokens came from; empty on nearly all DFlow rows, and a plain wallet on some native SOL rows | | Trade_Sell_Account_Token_Owner | String | Wallet that owns the paying token account; often the signer, and often empty | | Trade_Sell_Amount | Decimal | Amount sold, decimal adjusted | | Trade_Sell_AmountInUSD | Float64 | Amount sold, in USD; 0 when unpriced or when only the bought side was valued, then use Trade_Sell_Amount × Trade_Sell_PriceInUSD | | Trade_Sell_Currency_CollectionAddress | String | NFT collection of the sold asset; empty for fungible tokens | | Trade_Sell_Currency_Decimals | UInt64 | Decimal places of the sold token, as its mint sets them | | Trade_Sell_Currency_EditionNonce | UInt64 | Metaplex edition bump seed; a technical value, 0 when unset | | Trade_Sell_Currency_Fungible | Bool | Whether the sold asset is fungible; false for NFTs | | Trade_Sell_Currency_MetadataAddress | String | Metaplex metadata account of the sold asset, when recorded | | Trade_Sell_Currency_MintAddress | String | Mint address of the sold token and the key for joins; SOL shows as 11111111111111111111111111111111 (native) or So11111111111111111111111111111111111111112 (wrapped) | | Trade_Sell_Currency_Name | String | Name from the sold token's metadata; lookalikes copy real names | | Trade_Sell_Currency_ProgramAddress | String | Program that owns the sold mint, SPL Token or Token-2022, when recorded | | Trade_Sell_Currency_SellerFeeBasisPoints | UInt64 | Creator royalty in basis points (100 = 1%); 0 for nearly all fungible coins | | Trade_Sell_Currency_Symbol | String | Ticker of the sold token; not unique, so join on the mint address | | Trade_Sell_Currency_TokenCreator_Address | Array | Creator wallets from the sold asset's metadata; mostly empty in this table | | Trade_Sell_Currency_TokenStandard | String | Metaplex standard, such as Fungible or FungibleAsset, when recorded | | Trade_Sell_Currency_Uri | String | Link to the sold asset's off-chain metadata file, often on IPFS or Arweave | | Trade_Sell_Currency_UpdateAuthority | String | Account that can change the sold asset's metadata unless it is immutable; NativeLoader1111111111111111111111111111111 for SOL | | Trade_Sell_Currency_VerifiedCollection | Bool | Whether the NFT collection is verified; false for fungible tokens | | Trade_Sell_Order_Account | String | Account of the matched order; set only on Magic Eden marketplace trades, empty on AMM and order-book swaps | | Trade_Sell_Order_BuySide | Bool | Whether the matched order is a buy; false when none is attached | | Trade_Sell_Order_LimitAmount | UInt64 | Order size limit; 0 in all rows checked, Magic Eden included | | Trade_Sell_Order_LimitPrice | UInt64 | Order limit price; 0 in all rows checked, Magic Eden included | | Trade_Sell_Order_Mint | String | Mint of the NFT or token the order is for, when one is attached | | Trade_Sell_Order_OrderId | String | Order ID, when one is attached | | Trade_Sell_Order_Owner | String | Wallet that placed the order, when one is attached | | Trade_Sell_Order_Payer | String | Account that paid for the order, normally its owner | | Trade_Sell_Price | Float64 | Price of the sold currency in units of the bought currency | | Trade_Sell_PriceInUSD | Float64 | USD price of one sold token; 0 when unpriced or when only Trade_Sell_AmountInUSD is set, then divide that by Trade_Sell_Amount | | Transaction_Fee | Decimal | Network fee paid, in SOL | | Transaction_FeeInUSD | Float64 | Network fee, in USD | | Transaction_FeePayer | String | Wallet that paid the network fee; Solana makes it the first signer | | Transaction_Index | UInt64 | Position of the transaction within the block | | Transaction_Result_Success | Bool | Whether the transaction succeeded | | Transaction_Signature | String | Transaction signature, base58 | | Transaction_Signer | String | Wallet that signed the transaction and paid its fee | ## Price - Latest month (Oct 9, 2026 → Nov 9, 2026): $150 one-time, USD - Last 6 months (May 9, 2026 → Nov 9, 2026): $750 one-time, USD - Last 12 months (Nov 9, 2025 → Nov 9, 2026): $1,500 one-time, USD - Full history (Genesis → Nov 9, 2026): $2,500 one-time, USD Every window includes all 82 columns. Only the time range changes. ## Questions buyers ask Q: What is included in OKX DEX? A: One Parquet table, okx_dex_trades, with 82 documented columns. Each purchase covers the window you choose, through to yesterday, refreshed daily. The Full tier starts from the program's first indexed slot. Q: Why is there no pools table? A: OKX DEX is a router, not a pool program. It sends orders into pools run by Raydium, Orca, Meteora and others rather than holding liquidity itself, so it emits no pool reserve events. We checked a 10,000-slot span and found zero pool rows. For pool-level data, buy the dataset for the underlying DEX. Q: What do the protocol name and family columns contain? A: Trade_Dex_ProtocolFamily is OKX and Trade_Dex_ProtocolName is dex_solana_v3, which is how Bitquery's classifier labels this program. Filter on Trade_Dex_ProgramAddress if you want to pin the exact router. Q: How does this compare to the Jupiter and DFlow datasets? A: All three cover routed order flow rather than pools. Holding them together lets you compare router market share, venue selection and execution quality across the same tokens and time windows. Q: Why take the full history rather than a shorter window? A: Router market share moves with product launches and incentive programmes, so the interesting questions are longitudinal: when OKX flow grew, which venues it shifted into, and how execution changed. The shorter windows cannot show those turning points. Q: How is the data delivered? A: As flat Parquet files under a stable layout, with a JSON manifest listing every file and its sha256. We prepare the files within 7 business days of purchase and email you the location. You choose at checkout where to collect them: a Requester Pays S3 bucket, downloaded with your own AWS account, or a Cloudflare R2 bucket with a read-only API key and no egress fees. Files stay available for 7 days from delivery. Q: How current is the data? A: Refreshed daily with T+1 latency. A purchase made today includes everything up to yesterday. Q: Can I try before I buy? A: Yes. The table links to a public sample file with real records, and the sample bucket holds full Parquet files you can load directly. No email address required. ## Data after your purchase A purchase is a one-time set of files, up to the coverage end date on the dataset page. For data after that: - Real-time stream: Kafka Streams sends new Solana data as it happens. Enterprise plan. Topics and schema: https://docs.bitquery.io/docs/streams/kafka-streaming-concepts/#solana-solana - Daily warehouse tables: Datashares refreshes tables daily in Snowflake, BigQuery, S3 or Azure. Enterprise plan. https://bitquery.io/products/datashares - Another one-off slice (other chains, tables or dates): a custom extract. https://bitquery.io/products/data-on-demand ## What this file is, and is not This is a description of one dataset sold by Bitquery, written for assistants and for people. It lists every column but holds no data rows. The sample files linked under each table are real Parquet and are free to download. Figures here come from the product record and are exact unless marked otherwise; the delivery manifest is authoritative for a purchased file. If a question needs a row that is not in a sample, say so rather than guessing at it.