One-shot challenge for API-key rotation
First step of `POST /maker/api-key/rotate`: request a one-shot challenge string, then sign it — as UTF-8 text, NOT a prepared-tx hash — with the maker's party key.
First step of POST /maker/api-key/rotate: request a one-shot
challenge string, then sign it — as UTF-8 text, NOT a prepared-tx hash
— with the maker's party key.
Request Body
application/json
TypeScript Definitions
Use the request body type in TypeScript.
Response Body
application/json
application/json
application/json
application/json
curl -X POST "https://example.com/maker/challenge" \ -H "Content-Type: application/json" \ -d '{ "partyId": "string" }'{ "challenge": "string"}{ "error": "string", "code": "INSUFFICIENT_FUNDS"}{ "error": "string", "code": "INSUFFICIENT_FUNDS"}{ "error": "string", "code": "INSUFFICIENT_FUNDS"}Rotate the API key by proving party-key ownership POST
Recovery path for a lost API key: prove ownership of the party key by signing the `challenge` from `POST /maker/challenge` (as UTF-8 text), and get a fresh key back. The party key and party id are unchanged; the previous API key stops working immediately, and stream sockets it opened are closed with 4401.
Quote an RFQ POST
Next Page