Agara

Advance wallet setup

POST
/trade/v1/wallet/setup

Authorization

Authorization
Required
Bearer <token>

Privy identity token from a live browser session. Issued by the web app's Privy SDK; not obtainable via API. Used by operations that require a fresh browser session.

In: header

curl -X POST "https://app.agara.xyz/trade/v1/wallet/setup" \
  -H "Authorization: Bearer <token>"

AGARA deposit-wallet deployment, approvals, and signer authorization advanced to the next stage.

{
  "wallets": [
    {
      "action": "STARTED",
      "error": "string",
      "wallet": {
        "deposit_wallet_address": "string",
        "deposit_wallet_deployed": true,
        "engine_id": 0,
        "eoa_address": "string",
        "exchange": "AGARA",
        "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
        "source_id": "string",
        "status": "string"
      }
    }
  ]
}