Skip to main content
Target orders optionnal on Raydium sell instructions?
Yes the amm_target_orders account is commented out and thus is not needed to call the swap_base_out instruction. Since the Raydium AMM is open source you can confirm this via the source code:
...
let amm_open_orders_info = next_account_info(account_info_iter)?;
if input_account_len == SWAP_ACCOUNT_NUM + 1 {
let _amm_target_orders_info = next_account_info(account_info_iter)?; //