Skip to main content

Create AMM Instruction

POST 

/v2/amm-instructions

Creates an AMM instruction, requires bearer token in authorization header.

This endpoint uses the signing format which does not require strict field ordering in the request body. Quantities and prices does not require strict precision. E.g. for asset precision of 4 - 100, 100.0, 100.00, 100.000 and 100.0000 are all accepted.

Ratelimited: True

Request

Responses

Status OK. This means a create AMM instruction command was successfully acknowledged. It does not necessarily mean the instruction was created. To check the current status, query Get AMM Instruction by ID using the instructionId received in the response payload.