Trade
Endpoint
https://api.monitor.ws/api/tradePayload
{
"mint": "solana.PublicKey",
"private_key": "solana.PrivateKey",
"amount": "string", // Float64 | % can be used for Sell: 100%
"is_sol": bool, // True = amount is in SOL
"slippage": float64, // 20 = 20% | 100 = 100%
"fee": float64, // Priority Fee
"type": "string", // buy or sell
"pool": "string", // pumpfun_bonding / pumpfun_amm / raydium / auto
"mev_protection": bool, // true or false | use false for fast landing
"skip_preflight": bool, // true or false | true for fast landing
"custom_tip_address": "solana.Publickey",
"custom_tip_percentage": float64 // 20 = 20% | 100 = 100%
}Last updated