refactor: move set_global_gas_fee_strategy to GasFeeStrategy struct
This commit is contained in:
@@ -134,7 +134,7 @@ let client = SolanaTrade::new(Arc::new(payer), trade_config).await;
|
||||
|
||||
For detailed information about Gas Fee Strategy, see the [Gas Fee Strategy Reference](docs/GAS_FEE_STRATEGY.md).
|
||||
```rust
|
||||
sol_trade_sdk::common::set_global_gas_fee_strategy(150000, 500000, 0.001, 0.001);
|
||||
GasFeeStrategy::set_global_fee_strategy(150000, 500000, 0.001, 0.001);
|
||||
```
|
||||
|
||||
#### 3. Build Trading Parameters
|
||||
|
||||
Reference in New Issue
Block a user