Axes Docs

Post A New Order

Create a new order

POST
/order

Header Parameters

KUEST_ADDRESS*string

Checksummed wallet address performing the request.

KUEST_API_KEY*string

API key obtained from the L1 derivation endpoint.

Formatuuid
KUEST_PASSPHRASE*string

64 character hexadecimal passphrase associated with the API key.

KUEST_TIMESTAMP*string

Unix timestamp in seconds (string) used for freshness checks.

KUEST_SIGNATURE*string

Hex-encoded HMAC-SHA256 signature built from the L2 signing string.

Request Body

application/json

TypeScript Definitions

Use the request body type in TypeScript.

Response Body

application/json

application/json

application/json

curl -X POST "https://clob.axes.co/order" \  -H "KUEST_ADDRESS: string" \  -H "KUEST_API_KEY: 497f6eca-6276-4993-bfeb-53cbbbba6f08" \  -H "KUEST_PASSPHRASE: string" \  -H "KUEST_TIMESTAMP: string" \  -H "KUEST_SIGNATURE: string" \  -H "Content-Type: application/json" \  -d '{    "order": {      "tokenId": "string",      "conditionId": "string",      "maker": "string",      "signer": "string",      "taker": "string",      "makerAmount": "string",      "takerAmount": "string",      "side": "BUY",      "nonce": "string",      "feeRateBps": "string",      "salt": "string",      "signatureType": 0,      "signature": "string"    },    "orderType": "FOK",    "owner": "string"  }'
{
  "success": true,
  "errorMsg": "string",
  "orderID": "string",
  "takingAmount": "string",
  "makingAmount": "string",
  "status": "string"
}
{
  "error": "string"
}
{
  "error": "string"
}