The DEX trades table contains successful swaps made on decentralized exchanges (DEX), consolidated into a single table.

Active Marketplaces

Currently, two major marketplaces are active:
  • Tradeport
  • Bluemove
Both support buy and bid flows, but their event formats are non-standardized and vary even within the same platform.

Buy Events

These represent finalized NFT purchases.
MarketplaceProtocolEvent Source
TradeportTradeportCustom buy events
BluemoveBluemoveCustom buy events
-OrderbyteProtocol-level buy events (WIP marketplace attribution)
💡 Events are explicitly named as buy, so detection is straightforward. Attribution to marketplaces via Orderbyte remains a work in progress.

Bid Events

These are settled bids, i.e. when a bid was accepted.
MarketplaceProtocolEvent Types
TradeportTradeport8+ unique event types
-Orderbyte1 known bid event

Aggregator Trades (WIP)

Sui has no native aggregator standard. Current state:
  • Tradeport acts as an aggregator, routing trades through other marketplaces like Bluemove.
    • The Bluemove trade event is still emitted, despite aggregation.
    • Aggregator trades are not explicitly marked in logs.
  • Attribution requires:
    • Combining balance changes
    • Tracing commission recipients in the transaction block digest
    • Possibly recognizing aggregator contracts via known patterns
⚠️ Work in progress — Allium attribution heuristics are under development.

Table Columns

_str columns are numeric fields cast varchar to retain precision when summing. Unique Key: unique_id
Column NameDescription
marketplaceMarketplace where this trade occurred. e.g. tradeport
protocolProtocol that was used for this trade e.g. orderbyte
package_idPackage ID of the protocol that was used for this trade.
event_typeEvent type of the protocol that was used for this trade.
order_match_typeType of sales. Registered as ‘BUY’ for direct purchase and ‘ACCEPT_BID’ for bids accepeted.
trade_typeType of trade. SINGLE_TRADE for single token sale or BUNDLE_TRADE when more than 1 token is sold in a transaction
buyer_addressAddress of the buyer.
seller_addressAddress of the seller.
nft_idobject_id of the NFT.
nft_nameName of the NFT collection.
collection_idID of the NFT collection.
nft_extra_fieldsExtra fields of the NFT.
coin_typeType of the currency used in the trade.
raw_priceThe price of the NFT in the currency used to purchase (not divided by the number of decimals).
price’raw_price’ divided by the number of decimals of the currency
usd_priceThe USD price of the NFTs in this trade.
extra_fieldsExtra fields of the trade.
transaction_block_digestThe block digest of the transaction that contains the trade.
checkpoint_timestampThe timestamp of the checkpoint that contains the trade.
checkpoint_sequenceThe sequence of the checkpoint that contains the trade.
checkpoint_digestThe digest of the checkpoint that contains the trade.
unique_idUnique ID of each trade.
_created_atThe timestamp of the creation of the trade.
_updated_atThe timestamp of the last update of the trade.
_helper_nft_tokens__updated_atThe timestamp of the last update of the NFT metadata.
_changed_since_full_refreshWhether the trade has changed since the last full refresh.