Create AMM Instruction
POST/v1/amm-instructions
deprecated
This endpoint has been deprecated and may be replaced or removed in future versions of the API.
Creates an AMM instruction, requires bearer token in authorization header.
Requires strict field ordering in the JSON request payload.
Ratelimited: True
Request
Responses
- 200
- 400
- 401
- 403
- 429
- 500
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 liquidityId received in the response payload.
Bad Request
For example, sending a request with the BX-SIGNATURE header missing will result in the following response:
Not Authenticated
Access Forbidden
Too Many Requests
Internal Server Error