Expect a basis of a few percent between the token price and the index. The
funding mechanism narrows persistent gaps over time; it
does not eliminate them block by block.
Where you trade depends on market phase
Each market goes through two phases:- Bootstrap: the token trades on a bonding curve. Buys draw tokens from the preminted curve allocation; sells return them to it.
- Live: after graduation, trading moves to the market’s internal AMM, a constant-product pool seeded from the curve raise.
curve_fee_bps and amm_fee_bps).
Buying on the curve
1
Check the market status
Fetch the
Market account. status must be Bootstrap and frozen must
be false.2
Quote and set slippage
Compute the expected output from the curve’s virtual reserves, then pass a
min_tokens_out you are willing to accept.3
Send curve_buy
Your SOL goes to the market vault and the synth is transferred from the
curve allocation to your associated token account (created automatically
if needed).
curveSell(tokensIn, minSolOut), which
returns your tokens to the curve allocation and pays out SOL, minus the curve
fee.
Trading on the AMM
After graduation, useammBuy and ammSell with the same slippage pattern.
The AMM adds one extra account, the market’s pool token account:
Reading premium and basis
Two fields on theMarket account tell you where the token trades relative to
the underlying:
The premium is
(mark_ema - index_twap) / index_twap. A positive premium
means the token trades rich to the index; funding is then
paying shorts to draw and sell, which pushes the price back down. A negative
premium means the token trades cheap; shorts are being charged, which pushes
them to buy back and repay.
Remember the scale: 1,000,000 tokens represent one whole underlying unit (one
floor NFT or one graded card), and the token has 6 decimals.

