Skip to main content
The Trade model represents a buy, sell, or redemption transaction.

Schema


Trade Types


Amount Fields

Two representations are provided: Similarly for fees:

Price Calculation

The price field represents the average price per share for this trade: price=amount_usdcsharesprice = \frac{amount\_usdc}{shares}
Due to the bonding curve, the price changes as shares are bought/sold. The reported price is the average across the entire trade.

Market Cap Context

market_cap_at_trade captures the total market cap at the moment of execution. This is useful for:
  • Historical analysis
  • Slippage calculation
  • Charting price impact

Example


Verification

Trades can be verified on-chain using the transaction signature:
Or via Solana Explorer: