The buy and sell methods have added the priority_fee parameter, which can control the priority fee for each transaction

This commit is contained in:
wei
2025-09-02 09:43:53 +08:00
parent 7aa676781c
commit 6f953ffa0d
13 changed files with 107 additions and 9 deletions
+1
View File
@@ -103,6 +103,7 @@ async fn test_middleware() -> AnyResult<()> {
Box::new(PumpSwapParams::from_pool_address_by_rpc(&client.rpc, &pool_address).await?),
None,
true,
None,
)
.await?;
println!("tip: This transaction will not succeed because we're using a test account. You can modify the code to initialize the payer with your own private key");