Function listen::pump::send_pump_bump
source ยท pub async fn send_pump_bump(
wallet: &Keypair,
rpc_client: &RpcClient,
mint: &Pubkey,
searcher_client: &mut Arc<Mutex<SearcherClient>>,
wait_for_confirmation: bool,
) -> Result<(), Box<dyn Error>>
Expand description
send_pump_bump is idempotent, if the ata does not exist it will make a buy and sell to create it, otherwise it sends a simple buy and sell ixs transaction