本文へスキップ
Raydiumの売り指示ではターゲット注文はオプションですか?
はい、amm_target_orders アカウントはコメント化されているため、swap_base_out 命令を呼び出す必要はありません。 Raydium AMM はオープンソースであるため、ソース コードを通じてこれを確認できます。
...
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)?; //