Auth

Register a signing wallet

Register a signing wallet address and create an API key pair.

This endpoint allows users to authorize a separate wallet (signer) to sign orders on behalf of their primary wallet (sender). Both wallets must provide cryptographic signatures to prove ownership and authorize the registration. Upon successful registration, an API key pair is generated for authenticated API access.

POST
/auth/signers

Authorization

ApiKeyAuth ApiSignatureAuth ApiTimestampAuth
x-api-key<token>

API key for authentication

In: header

x-api-signature<token>

HMAC-SHA256 signature: base64(HMAC(timestamp + method + path + body, secret))

In: header

x-api-timestamp<token>

Unix timestamp in seconds

In: header

Request Body

application/json

TypeScript Definitions

Use the request body type in TypeScript.

Response Body

application/json