@somnia-chain/markets-sdk / index / CancelExpiredOrdersParams
Interface: CancelExpiredOrdersParams
Defined in: trade.ts:188
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:190
BinaryPool (or SpotPool) address whose expired orders to clean.
orderIds
orderIds: (
string|bigint)[]
Defined in: trade.ts:192
uint128 OrderIds to attempt to clean (decimal strings or bigints).
gas?
optionalgas?:bigint
Defined in: trade.ts:193