INNER CODE UNIT · Rust
sell_with_tip
0xfnzero/pumpfun-sdk · src/lib.rs:182
pub async fn sell_with_tip(
&self,
mint: Pubkey,
amount_token: Option<u64>,
) -> Result<(), anyhow::Error> {
pumpfun::sell::sell_with_tip(
self.rpc.clone(),
self.fee_clients.clone(),
self.payer.clone(),
mint,
amount_token,
self.priority_fee.clone(),
).await
}
#[inline]
pub async fn tokens_subscription<F>(
&self,