Trade Types
- Buy
- Sell
- Redeem
Buying mints new shares of a specific outcome.
- You send USDC to the market vault
- New shares are minted to your position account
- The price increases based on the bonding curve
- Fees are deducted from your input amount
Trade Data Structure
When a trade is executed, the indexer records the following data:Fees
Orica charges fees on trading activity. These fees are distributed between the protocol and market creators.Positions
A Position tracks how many shares a user holds in each outcome of a market.Trade History
Fetch historical trades via the API:Compute Units
Complex bonding curve calculations may require additional compute units. The SDK automatically includes aComputeBudgetProgram.setComputeUnitLimit instruction.
Next Steps
Bonding Curve
Understand how prices are calculated.
Disputes
Learn about dispute resolution.