@clonegod/ttd-core 2.1.3 → 2.1.4
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 -1
package/package.json
CHANGED
package/types/index.d.ts
CHANGED
|
@@ -168,7 +168,11 @@ export interface TradeStrategyType {
|
|
|
168
168
|
fee_max_cap: number, // 动态GAS的上限
|
|
169
169
|
tip_ratio: number // tip 占总gas的比例(gas=priority_fee + tip_fee)
|
|
170
170
|
tip_up_ratio: number // tip上浮比例
|
|
171
|
-
|
|
171
|
+
|
|
172
|
+
sol_priority_fee: number // solana 优先级费用 lamports (1SOL = 10^9 lamports)
|
|
173
|
+
sol_tip_fee: number // solana tip 金额 lamports (1SOL = 10^9 lamports)
|
|
174
|
+
max_block_offset: number // Solana特定:限制交易在多少个区块内有效(约等于秒数,1 block ≈ 0.4秒)。使用最新blockhash,设置lastValidBlockHeight = currentBlockHeight + max_block_offset
|
|
175
|
+
|
|
172
176
|
// evm chain
|
|
173
177
|
evm_gas_limit: number // 300000
|
|
174
178
|
evm_gas_price_gwei: number // 1.1 Gwei
|