feat: add trade type parameter and bump version to 1.1.1

This commit is contained in:
ysq
2025-09-22 01:25:32 +08:00
parent 334e685104
commit 020187a57a
8 changed files with 19 additions and 11 deletions
+1
View File
@@ -19,6 +19,7 @@
| 参数 | 类型 | 必需 | 描述 |
|------|------|------|------|
| `dex_type` | `DexType` | ✅ | 要使用的交易协议 (PumpFun, PumpSwap, Bonk, RaydiumCpmm, RaydiumAmmV4) |
| `trade_type` | `TradeType` | ✅ | 要执行的交易类型 (Buy, Sell) |
| `input_mint` | `Pubkey` | ✅ | 要花费的代币公钥(输入代币) |
| `output_mint` | `Pubkey` | ✅ | 要接收的代币公钥(输出代币) |
| `input_token_program` | `Pubkey` | ✅ | 输入代币的代币程序 ID |