Limit Orders
Limit Orders allow you to set precise buy or sell conditions, enabling automated trades at your desired price levels. Secure better market entry or exit points and maintain control over your strategy,
Limit Orders
const afSdk = new Aftermath("MAINNET");
await afSdk.init(); // initialize provider
const dca = afSdk.Dca();
const limitOrders = afSdk.LimitOrders();
const userData = afSdk.UserData();Constants
LimitOrders.constants = {
gasAmount: BigInt(50_000_000),
};Order Management
Authorization
Fetch Orders
Create Order
Cancel Order
Last updated