Skip to main content

USDC approval

Trading collateral is pulled from your wallet, so USDC must be approved to the protocol once:
Approvals must come from the trader’s own key; they cannot be routed through a delegate/API key. If you onboarded via the Avantis API Key Generator, USDC was approved in the same flow and you can skip this.

LP vault approval is separate

The LP vault pulls from an allowance on the tranche, not TradingStorage:
See LP vault.

Claims

Both are caller-scoped: the signing key must be the account that earned them (no delegate):

Builder codes

Partners routing order flow can register a builder code that collects a per-trade fee:
modify_builder_code(...) (same parameters) updates it. Set builder_code in the configuration to attach your code to outgoing orders.