@somnia-chain/markets-sdk / index / SignRedeemAuthParams
Interface: SignRedeemAuthParams
Defined in: trade.ts:623
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:625
bytes32 marketId the redemption targets.
outcomeIdx
outcomeIdx:
0|1
Defined in: trade.ts:627
Outcome the owner holds (0 = YES, 1 = NO).
amount
amount:
bigint
Defined in: trade.ts:629
Outcome-token amount to burn for collateral.
nonce
nonce:
bigint
Defined in: trade.ts:631
Per-owner replay nonce; any value not yet consumed for this owner.
deadline
deadline:
bigint
Defined in: trade.ts:633
Signature deadline (unix seconds).
operatorId?
optionaloperatorId?:number
Defined in: trade.ts:635
Routing operator id (uint32) for attribution; 0 = none (default).
venueId?
optionalvenueId?:`0x${string}`
Defined in: trade.ts:637
Routing venue id (bytes32 hex); 32-byte zero = none (default).
owner?
optionalowner?:`0x${string}`
Defined in: trade.ts:642
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:647
BinaryMarketsModule address — the EIP-712 verifyingContract; resolved from
config.addresses.binaryModule when omitted.