INNER CODE UNIT · Rust
sell_by_percent_with_tip
0xfnzero/pumpfun-sdk · src/lib.rs:166
pub async fn sell_by_percent_with_tip(
&self,
mint: Pubkey,
percent: u64,
) -> Result<(), anyhow::Error> {
pumpfun::sell::sell_by_percent_with_tip(
self.rpc.clone(),
self.fee_clients.clone(),
self.payer.clone(),
mint,
percent,
self.priority_fee.clone(),
).await
}
/// Sell tokens using Jito
pub async fn sell_with_tip(
&self,