- Post-only (ALO) orders
- Modify orders on ALO orders
- Cancel, and Cancel All orders
The direct benefit of using this configuration is having access to an optimized execution path, with reduced scheduling latency.
Implementation notes:
- Order types with any type of speed bump sent via a maker-only key will be rejected (error 62007)
- We apply a 1-hour cooldown in between api key type changes (error 62008)
- Maker-only api keys are only accessible by premium account types. Standard accounts will be rejected (error 62009)
- Api key indexes reserved by our front-end cannot be switched to maker-only (0-3)
- A maximum of 200 api keys can be set as maker-only, per account index
- It might take around a second for the api key type change to be effective
- Setting an array of keys as maker-only replaces the previous restrictions. Sending an empty array clears all maker-only restrictions
- To set an api key as maker-only, and get a list of them, we added POST
/api/v1/setMakerOnlyApiKeys and GET /api/v1/getMakerOnlyApiKeys (both auth-gated): https://apidocs.lighter.xyz/reference/setmakeronlyapikeys ; https://apidocs.lighter.xyz/reference/getmakeronlyapikeys