POST /register
Register a signing key for your wallet and receive an API key + secret.
No authentication
Body (JSON)
accountaddressrequiredYour wallet address.
signing_keyaddressrequiredAddress of the signing key you generated.
expiryintegerrequiredUnix seconds, signed in
Register. The key lives until expiry, capped by the server; a past value gives a 60-second key.account_signaturehexrequiredEIP-712
Register signature by your wallet.signing_key_signaturehexrequiredEIP-712
SignKey signature by the signing key.referral_codestringoptionalOptional.
invite_codestringoptionalOnly when the deployment is invite-only.
no_api_keybooleanoptionalUpdate 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_signatureorsigning_key_signatureis rejected with 401. - Keys expire. The TTL is derived from
expiryand 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.