Skip to main content

POST /register

Register a signing key for your wallet and receive an API key + secret.

POSThttps://arc-testnet-api.realtime.exchange/register

No authentication

Body (JSON)

accountaddressrequired
Your wallet address.
signing_keyaddressrequired
Address of the signing key you generated.
expiryintegerrequired
Unix seconds, signed in Register. The key lives until expiry, capped by the server; a past value gives a 60-second key.
account_signaturehexrequired
EIP-712 Register signature by your wallet.
signing_key_signaturehexrequired
EIP-712 SignKey signature by the signing key.
referral_codestringoptional
Optional.
invite_codestringoptional
Only when the deployment is invite-only.
no_api_keybooleanoptional
Update the signing key without issuing a new API key (when one exists). The response then omits api_key / api_secret.

Response

201
{api_key, api_secret, account, signing_key}
  • Both signatures are required. A missing or invalid account_signature or signing_key_signature is rejected with 401.
  • Keys expire. The TTL is derived from expiry and capped at 30 days by default.
  • An account keeps at most 5 live API keys by default. A new registration adds a key; when that goes over the cap, the oldest key is revoked.
  • To revoke a key yourself, call DELETE /api-key.