@somnia-chain/markets-sdk / index / SignRedeemAuthParams
Interface: SignRedeemAuthParams
Defined in: trade.ts:451
Inputs to Trader.signRedeemAuth — everything in the signed struct EXCEPT the signature (which the call produces). Signed by the connected signer (the position owner); the resulting RedeemAuthorization is handed to a relayer to submit via Trader.redeemFor.
Properties
marketId
marketId:
`0x${string}`
Defined in: trade.ts:453
bytes32 marketId the redemption targets.
outcomeIdx
outcomeIdx:
0|1
Defined in: trade.ts:455
Outcome the owner holds (0 = YES, 1 = NO).
amount
amount:
bigint
Defined in: trade.ts:457
Outcome-token amount to burn for collateral.
nonce
nonce:
bigint
Defined in: trade.ts:459
Per-owner replay nonce; any value not yet consumed for this owner.
deadline
deadline:
bigint
Defined in: trade.ts:461
Signature deadline (unix seconds).
operatorId?
optionaloperatorId?:number
Defined in: trade.ts:463
Routing operator id (uint32) for attribution; 0 = none (default).
venueId?
optionalvenueId?:`0x${string}`
Defined in: trade.ts:465
Routing venue id (bytes32 hex); 32-byte zero = none (default).
owner?
optionalowner?:`0x${string}`
Defined in: trade.ts:468
Owner the payout is pinned to; defaults to the connected signer's address. Must be the address whose signer produces the signature.
module?
optionalmodule?:`0x${string}`
Defined in: trade.ts:471
BinaryMarketsModule address — the EIP-712 verifyingContract; resolved from
config.addresses.binaryModule when omitted.