@somnia-chain/markets-sdk / index / CancelExpiredOrdersParams
Interface: CancelExpiredOrdersParams
Defined in: trade.ts:245
Permissionless keeper drain: clean an explicit list of EXPIRED resting orders on a pool, returning each order's locked escrow to its owner. Best-effort — non-expired or stale ids are silently skipped on-chain (no revert).
Properties
pool
pool:
`0x${string}`
Defined in: trade.ts:247
BinaryPool (or SpotPool) address whose expired orders to clean.
orderIds
orderIds: (
string|bigint)[]
Defined in: trade.ts:249
uint128 OrderIds to attempt to clean (decimal strings or bigints).
gas?
optionalgas?:bigint
Defined in: trade.ts:251
Gas ceiling for this tx.
Default Value
TraderConfig.gas (10,000,000)