docs: Add emoji icons to parameter section headers

This commit is contained in:
ysq
2025-09-10 00:37:00 +08:00
parent d65122c1be
commit 0cb4e08794
2 changed files with 8 additions and 8 deletions
+4 -4
View File
@@ -46,7 +46,7 @@ sol-trade-sdk = "0.6.2"
## Usage Examples
### Important Parameter Description
#### open_seed_optimize Parameter
#### 🌱 open_seed_optimize Parameter
`open_seed_optimize` is used to specify whether to use seed optimization to reduce transaction CU consumption.
@@ -54,7 +54,7 @@ sol-trade-sdk = "0.6.2"
- **Note**: Transactions created with `open_seed_optimize` enabled must be sold through this SDK. Using official methods to sell may fail.
- **Note**: After enabling `open_seed_optimize`, you need to use the `get_associated_token_address_with_program_id_fast_use_seed` method to get the token ata address.
#### create_wsol_ata and close_wsol_ata、 create_mint_ata Parameters
#### 💰 create_wsol_ata and close_wsol_ata、 create_mint_ata Parameters
In PumpSwap, Bonk, and Raydium trading, the `create_wsol_ata` and `close_wsol_ata``create_mint_ata` parameters provide fine-grained control over wSOL (Wrapped SOL) account management:
@@ -74,7 +74,7 @@ In PumpSwap, Bonk, and Raydium trading, the `create_wsol_ata` and `close_wsol_at
- Useful for batch operations where you want to create once and close after multiple transactions
- Provides flexibility for advanced trading strategies
#### lookup_table_key Parameter
#### 🔍 lookup_table_key Parameter
The `lookup_table_key` parameter is an optional `Pubkey` that specifies an address lookup table for transaction optimization. You need to use `AddressLookupTableCache` to manage the cached address lookup table before using it.
@@ -88,7 +88,7 @@ The `lookup_table_key` parameter is an optional `Pubkey` that specifies an addre
- Improves transaction success rate and speed
- Particularly useful for complex transactions with many account references
#### priority_fee Parameter
#### priority_fee Parameter
The `priority_fee` parameter is an optional `PriorityFee` that allows you to override the default priority fee settings for individual transactions:
+4 -4
View File
@@ -47,7 +47,7 @@ sol-trade-sdk = "0.6.2"
### 重要说明
#### open_seed_optimize 参数
#### 🌱 open_seed_optimize 参数
`open_seed_optimize` ,用于指定是否使用 seed 优化交易 CU 消耗。
@@ -55,7 +55,7 @@ sol-trade-sdk = "0.6.2"
- **注意**:开启 `open_seed_optimize` 后创建的交易,需要通过该 SDK 卖出,使用官网提供的方法卖出可能会失败。
- **注意**:开启 `open_seed_optimize` 后,获取代币 ata 地址需要通过 `get_associated_token_address_with_program_id_fast_use_seed` 方法获取。
#### create_wsol_ata 和 close_wsol_ata、 create_mint_ata 参数
#### 💰 create_wsol_ata 和 close_wsol_ata、 create_mint_ata 参数
在 PumpSwap、Bonk、Raydium 交易中,`create_wsol_ata``close_wsol_ata``create_mint_ata` 参数提供对 wSOL(Wrapped SOL)账户管理的精细控制:
@@ -75,7 +75,7 @@ sol-trade-sdk = "0.6.2"
- 适用于批量操作,可以创建一次,在多次交易后再关闭
- 为高级交易策略提供灵活性
#### lookup_table_key 参数
#### 🔍 lookup_table_key 参数
`lookup_table_key` 参数是一个可选的 `Pubkey`,用于指定地址查找表以优化交易。在使用前你需要通过`AddressLookupTableCache`来管理缓存地址查找表。
@@ -89,7 +89,7 @@ sol-trade-sdk = "0.6.2"
- 提高交易成功率和速度
- 特别适用于具有许多账户引用的复杂交易
#### priority_fee 参数
#### priority_fee 参数
`priority_fee` 参数是一个可选的 `PriorityFee`,允许您为单个交易覆盖默认的优先级费用设置: