Skip to content

Query Next Available Nonce

Endpoint Information

Endpoint: GET /api/v1/orders/maker/next-nonce

Description: Query the next available order nonce for the Maker

Authentication: Authorization header with JWT token

Response Parameters

FieldTypeDescription
makerstringMaker address
next_noncelongNext available nonce

Request Example

bash
curl -X GET "/api/v1/orders/maker/next-nonce" \
     -H "Authorization: Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9..." \
     -H "Content-Type: application/json"

Response Example

json
{
    "code": 0,
    "data": {
        "maker": "0x1234567890123456789012345678901234567890",
        "next_nonce": 5
    }
}