BitqueryBitqueryData Store
SolanaTrades

OKX DEX

Every swap routed through OKX's Solana DEX program, decoded and USD-priced at block time.

Coverage
Full historyto Sep 23, 2026 · yesterday
Table
1okx_dex_trades
Columns
82typed
Coverage ends yesterday, UTC

Overview

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.

Use cases

  • 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

Table

82 columns · free sample for the table

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.

datashare/solana/okx_dex/dex_trades<start_slot>_<end_slot>.parquet100 slots per file
Browse columns Sample fileSample updated Sep 24, 2026

Schema reference

copies a column name
82 columns
ColumnTypeDescription
Block4
Block_DateDateUTC date of the block
Block_HeightUInt64Block height
Block_SlotUInt64Solana slot
Block_TimeDateTimeBlock timestamp, UTC
Instruction7
Instruction_CallPathArrayNested call path of the instruction
Instruction_ExternalSeqNumberUInt64Sequence number of the outer instruction
Instruction_IndexUInt64Position of the instruction within the transaction
Instruction_InternalSeqNumberUInt64Sequence number of the inner instruction
Instruction_Program_AddressStringProgram that executed the instruction
Instruction_Program_MethodStringDecoded program method
Instruction_Program_NameStringDecoded program name
Trade_Buy29
Trade_Buy_Account_AddressStringTrade buy account address
Trade_Buy_Account_Token_OwnerStringTrade buy account token owner
Trade_Buy_AmountDecimalAmount bought, decimal adjusted
Trade_Buy_AmountInUSDFloat64Amount bought in USD
Trade_Buy_Currency_CollectionAddressStringTrade buy currency collection address
Trade_Buy_Currency_DecimalsUInt64Decimals of the bought currency
Trade_Buy_Currency_EditionNonceUInt64Trade buy currency edition nonce
Trade_Buy_Currency_FungibleBoolTrade buy currency fungible
Trade_Buy_Currency_MetadataAddressStringTrade buy currency metadata address
Trade_Buy_Currency_MintAddressStringMint of the bought currency
Trade_Buy_Currency_NameStringName of the bought currency
Trade_Buy_Currency_ProgramAddressStringTrade buy currency program address
Trade_Buy_Currency_SellerFeeBasisPointsUInt64Trade buy currency seller fee basis points
Trade_Buy_Currency_SymbolStringSymbol of the bought currency
Trade_Buy_Currency_TokenCreator_AddressArrayTrade buy currency token creator address
Trade_Buy_Currency_TokenStandardStringTrade buy currency token standard
Trade_Buy_Currency_UriStringTrade buy currency uri
Trade_Buy_Currency_UpdateAuthorityStringTrade buy currency update authority
Trade_Buy_Currency_VerifiedCollectionBoolTrade buy currency verified collection
Trade_Buy_Order_AccountStringTrade buy order account
Trade_Buy_Order_BuySideBoolTrade buy order buy side
Trade_Buy_Order_LimitAmountUInt64Trade buy order limit amount
Trade_Buy_Order_LimitPriceUInt64Trade buy order limit price
Trade_Buy_Order_MintStringTrade buy order mint
Trade_Buy_Order_OrderIdStringTrade buy order order id
Trade_Buy_Order_OwnerStringTrade buy order owner
Trade_Buy_Order_PayerStringTrade buy order payer
Trade_Buy_PriceFloat64Price of the bought currency in units of the sold currency
Trade_Buy_PriceInUSDFloat64Price of the bought currency in USD
Trade_Dex3
Trade_Dex_ProgramAddressStringOKX DEX program address (proVF4pMXVaYqmy4NjniPh4pqKNfMmsihgd4wdkCX3u)
Trade_Dex_ProtocolFamilyStringProtocol family; OKX
Trade_Dex_ProtocolNameStringProtocol name as indexed; dex_solana_v3
Trade3
Trade_IndexUInt64Trade index within the transaction
Trade_Market_MarketAddressStringAddress of the underlying pool the swap was routed into
Trade_PriceAsymmetryFloat64Relative difference between buy and sell side USD values
Trade_Sell29
Trade_Sell_Account_AddressStringTrade sell account address
Trade_Sell_Account_Token_OwnerStringTrade sell account token owner
Trade_Sell_AmountDecimalAmount sold, decimal adjusted
Trade_Sell_AmountInUSDFloat64Amount sold in USD
Trade_Sell_Currency_CollectionAddressStringTrade sell currency collection address
Trade_Sell_Currency_DecimalsUInt64Decimals of the sold currency
Trade_Sell_Currency_EditionNonceUInt64Trade sell currency edition nonce
Trade_Sell_Currency_FungibleBoolTrade sell currency fungible
Trade_Sell_Currency_MetadataAddressStringTrade sell currency metadata address
Trade_Sell_Currency_MintAddressStringMint of the sold currency
Trade_Sell_Currency_NameStringName of the sold currency
Trade_Sell_Currency_ProgramAddressStringTrade sell currency program address
Trade_Sell_Currency_SellerFeeBasisPointsUInt64Trade sell currency seller fee basis points
Trade_Sell_Currency_SymbolStringSymbol of the sold currency
Trade_Sell_Currency_TokenCreator_AddressArrayTrade sell currency token creator address
Trade_Sell_Currency_TokenStandardStringTrade sell currency token standard
Trade_Sell_Currency_UriStringTrade sell currency uri
Trade_Sell_Currency_UpdateAuthorityStringTrade sell currency update authority
Trade_Sell_Currency_VerifiedCollectionBoolTrade sell currency verified collection
Trade_Sell_Order_AccountStringTrade sell order account
Trade_Sell_Order_BuySideBoolTrade sell order buy side
Trade_Sell_Order_LimitAmountUInt64Trade sell order limit amount
Trade_Sell_Order_LimitPriceUInt64Trade sell order limit price
Trade_Sell_Order_MintStringTrade sell order mint
Trade_Sell_Order_OrderIdStringTrade sell order order id
Trade_Sell_Order_OwnerStringTrade sell order owner
Trade_Sell_Order_PayerStringTrade sell order payer
Trade_Sell_PriceFloat64Price of the sold currency in units of the bought currency
Trade_Sell_PriceInUSDFloat64Price of the sold currency in USD
Transaction7
Transaction_FeeDecimalNetwork fee paid, in SOL
Transaction_FeeInUSDFloat64Network fee valued in USD at block time
Transaction_FeePayerStringFee payer address
Transaction_IndexUInt64Position of the transaction within the block
Transaction_Result_SuccessBoolWhether the transaction succeeded
Transaction_SignatureStringTransaction signature, base58
Transaction_SignerStringTransaction signer address
Sample file

Ask an AI about this data

Send this dataset’s full schema to an assistant and ask it anything. It reads the plain-text brief first, so the answer comes from the real column list rather than a guess.

Start with

Opens a new chat with the question filled in. Nothing about you is sent to Bitquery, and the assistant sees only the public brief.

Delivery

Parquet files, delivered as signed download links by email after payment, in this layout:

# okx_dex_trades — 100 slots per file
datashare/solana/okx_dex/dex_trades<start_slot>_<end_slot>.parquet
  1. Download a free sampleNo email needed.
  2. Pay nowName, work email and licence check.
  3. Pay the invoiceBy card or bank transfer.
  4. Get signed linksThe team prepares the export and emails the links.

Time windows

Every window includes 82 columns. Only the time range changes.

31 days
Latest month
Aug 23, 2026 → Sep 23, 2026
$150
Pay now
184 days
Last 6 months
Mar 23, 2026 → Sep 23, 2026
$750
Pay now
365 days
Last 12 months
Sep 23, 2025 → Sep 23, 2026
$1,500
Pay now
Since launch
Full history
Genesis → Sep 23, 2026
$2,500
Pay now
In every window
  • The okx_dex_trades table, 82 columns
  • Parquet files in the layout under Delivery
  • Signed download links by email
  • Licensed under the Data License

FAQ

7 questions
What is included in OKX DEX?

One Parquet table, okx_dex_trades, with 82 documented columns. Full history to yesterday, refreshed daily.

Why is there no pools table?

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.

What do the protocol name and family columns contain?

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.

How does this compare to the Jupiter and DFlow datasets?

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.

How is the data delivered?

As flat Parquet files under a stable S3 layout, with a JSON manifest listing every file and its sha256. Signed HTTPS links are emailed to you once the files are prepared.

How current is the data?

Refreshed daily with T+1 latency. A purchase made today includes everything up to yesterday.

Can I try before I buy?

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.