@clonegod/ttd-core 2.0.18 → 2.0.20
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +1 -1
- package/types/index.d.ts +5 -0
package/package.json
CHANGED
package/types/index.d.ts
CHANGED
|
@@ -159,6 +159,7 @@ export interface RpcInfoType {
|
|
|
159
159
|
|
|
160
160
|
|
|
161
161
|
export interface TradeStrategyType {
|
|
162
|
+
// solana chain
|
|
162
163
|
broadcast_type: 'rpc' | 'jito' | 'mixed' // 提交交易的通道
|
|
163
164
|
speed: 'fast' | 'turbo' | 'ultra' // fee_mode='MAX_CAP' 模式下,费用:x1, x2, x4
|
|
164
165
|
fee_mode: 'exact' | 'max_cap' // GAS支出模式
|
|
@@ -166,6 +167,10 @@ export interface TradeStrategyType {
|
|
|
166
167
|
fee_max_cap: number, // 动态GAS的上限
|
|
167
168
|
tip_ratio: number // tip 占总gas的比例(gas=priority_fee + tip_fee)
|
|
168
169
|
tip_up_ratio: number // tip上浮比例
|
|
170
|
+
// evm chain
|
|
171
|
+
evm_gas_limit: number // 300000
|
|
172
|
+
evm_gas_price_gwei: number // 1.1 Gwei
|
|
173
|
+
evm_tip_amount_gwei: number // 48000 Gwei
|
|
169
174
|
}
|
|
170
175
|
|
|
171
176
|
|