Swap API
raydium
raydium-cp
raydium-clmm
meteora
pumpfun
jupiter
moonshot
pamm
raydium-launchpad
meteora-dbcoptional amount of token in to swap, if not provided (0) will use amount from worker
update flag allows the bot to know whether user want to update the current position (buy more case) or treat it as a separate position by default bot will serve it as separate
optional slippage for the swap, if not provided (0) will use slippage from worker
optional tip for the swap, if not provided (0) will use tip from worker (overrides work only if tip for specific provider is set)
input is an optional string that must be in sol pub key format. If provided, the bot will determine whether its pool or token address by itself so you can safely omit pool, token and platform fields its still not recommended to use this field, if provided value is a token address since the bot will not be able to choose the 'best' pool but instead use the last one
optional fee for the swap, if not provided (0) will use fee from worker
txBase64 is an optional field that allows you to perform swap on "new" pools (afk like) basically, it allows the bot to get pool information from the tx instead of fetching it from the rpc so if this field is provided, the bot will execute the swap based on the txBase64 transaction must be in encoded using base64, moreover it must be resolved if it contains ATLs (address table lookups)
OK
Default error response
SwapPumpfunMigration is a special endpoint that is used to create a worker group file for pumpfun migration snipe The bot will use wallet and rpc from config file and based on provided data will create a worker group file Note: this endpoint is not used to execute the migration snipe, but to prepare the worker group file
pumpfun token address (mandatory)
amount to use for migration snipe (mandatory)
slippage for the swap (optional, default slippage is 50%)
tip for the swap (optional, default tip is 0.002 SOL)
fee for the swap (optional, default fee is 0.002 SOL)
optional preset name to use for the migration snipe (optional, by default the bot will create custom preset)
optional wallet name to use for the migration snipe (optional, by default the bot will use qt wallet from config file)
optional rpc name to use for the migration snipe (optional, by default the bot will use qt rpc from config file)
OK
Default error response
OK
Default error response
OK
Default error response
Last updated