Agara

Place a batch of pre-signed orders

POST/trade/v1/orders/signed/batch

Authorization

personal_access_token orders:place_signed
AuthorizationBearer <token>

Personal access token issued from the web app's Settings → API tokens page. Send as Authorization: Bearer agt_….

In: header

Scope: orders:place_signed

Request Body

application/json

Batched pre-signed order creation request. Expected per-order validation failures preserve the remaining entries; shared wallet, provider, and storage failures reject the request.

Response Body

application/json

application/problem+json

application/problem+json

application/problem+json

application/problem+json

application/problem+json

application/problem+json

application/problem+json

application/problem+json

application/problem+json

application/problem+json

application/problem+json

curl -X POST "https://example.com/trade/v1/orders/signed/batch" \  -H "Content-Type: application/json" \  -d '{    "orders": [      {        "builder": "string",        "chain_token_id": "string",        "maker": "string",        "maker_amount": "string",        "metadata": "string",        "order_hash": "string",        "salt": "string",        "side": "BUY",        "side_u8": 0,        "signature": "string",        "taker_amount": "string",        "time_in_force": "FAK",        "timestamp": "string",        "token_id": "string",        "type": "LIMIT"      }    ]  }'
{  "as_of": "2019-08-24T14:15:22Z",  "results": [    {      "as_of": "2019-08-24T14:15:22Z",      "order_id": "93101167-9065-4b9c-b98b-5d789a3ed9fe",      "pending_operation": "SUBMIT",      "source": "AGARA",      "status": "PENDING",      "outcome": "accepted",      "index": 0    }  ]}