{s}omniamarkets

@somnia-chain/markets-sdk


@somnia-chain/markets-sdk / index / RedeemForParams

Interface: RedeemForParams

Defined in: trade.ts:478

Relayer path: submit a position owner's pre-signed RedeemAuthorization so THEY pay the gas while the OWNER receives the payout. The caller (relayer) need not be the owner; the module recovers the signature to owner and pays owner directly.

Properties

authorization

authorization: RedeemAuthorization

Defined in: trade.ts:480

The owner's signed authorization (from Trader.signRedeemAuth).


module?

optional module?: `0x${string}`

Defined in: trade.ts:484

BinaryMarketsModule address; resolved from config.addresses.binaryModule when omitted. Must match the verifyingContract the authorization was signed against.


gas?

optional gas?: bigint

Defined in: trade.ts:485