Last updated
For API keys with a bound user wallet address. The server submits transactions after the user delegates once.
GET /api/v1/1ct/status — check delegation.
If not enabled: POST /api/v1/1ct/prepare → user signs EIP-712 → POST /api/v1/1ct/enable.
Call /send endpoints for orders and cash.
Details: trading/one-click-delegated.md. viem example: demo-code.md.
Place order
POST /api/v1/orders/send
Cancel order
DELETE /api/v1/orders/{orderId}/send
Deposit
POST /api/v1/cash/deposits/send
Withdraw
POST /api/v1/cash/withdrawals/send
User wallet must approve the cash token spender before /cash/deposits/send.
Approval owner is the API key bound userAddress. See cash/deposits.md for spender addresses.
Last updated

