v2

latestOpenAPI 3.0.3Apache 2.02026-07-3149289180.2 KB

Create Proxy

Create a new proxy to sign orders. Returns an API secret for private account access. Requires EOA signature, see EOA signing.

post/v1/account/proxy

Request body

sigstring required

Signature in hex format

saltinteger required

Salt

tsinteger required

Request timestamp. Unix milliseconds for most operations; Unix seconds for withdrawals (must match the on-chain EIP-712 struct verified against block.timestamp).

labelstring

Human-readable label for a proxy key or internal transfer

codestring

Referral or invite code

Example request

{
  "op": {
    "args": {
      "owner": "0x1234567890abcdef1234567890abcdef12345678",
      "proxy": "0x70997970C51812dc3A010C7d01b50e0d17dc79C8",
      "expiry": 1767225600000
    }
  },
  "sig": "0x1234567890...",
  "salt": 1234567890,
  "ts": 1767225600000,
  "label": "trading-bot",
  "code": "ABC123"
}

Response

Proxy creation response.

status'ok' required
secretstring required

API secret

Example response

{
  "secret": "wJalrXUtnFEMI/K7MDENG/bPxRfiCYEXAMPLEKEY"
}