Skip to main content
POST
Build a USDC approval transaction (one-time trading prerequisite)

Body

application/json
trader
string
required

The token owner; must sign this transaction.

spender
string

Contract being approved to pull USDC. Defaults to TradingStorage (trading); pass the tranche address for LP deposits.

amountUsdc

Approval amount in USDC; omit for an unlimited approval.

Response

Success envelope: ok is true and data carries the payload documented below.

ok
enum<boolean>
required

Always true on success.

Available options:
true
data
object
required

An unsigned EVM transaction. Sign it with the from key and broadcast it yourself, or submit the signed bytes via POST /v2/relay.