{s}omniamarkets

@somnia-chain/markets-sdk


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

Type Alias: RouterActionRecord

RouterActionRecord = object

Defined in: query.ts:2006

One RouterMinter action for an account (mirror of the indexer RouterActionRecord entity). Amounts are raw collateral/outcome units.

Properties

id

id: string

Defined in: query.ts:2007


kind

kind: RouterActionKind

Defined in: query.ts:2009

Redeem | MintCompleteSet | MergeCompleteSet.


account

account: string

Defined in: query.ts:2011

Acting wallet (lowercased).


market

market: string | null

Defined in: query.ts:2013

Binary market id the action targeted (lowercased bytes32); null if unlinked.


amount

amount: string

Defined in: query.ts:2016

Redeem: winning tokens burned; Mint/Merge: amount of EACH outcome minted / merged (a complete set). Raw outcome-token units.


payout

payout: string | null

Defined in: query.ts:2018

Collateral paid out (Redeem); null on Mint/Merge. Raw units.


routedVia

routedVia: string | null

Defined in: query.ts:2021

Periphery entry the flow routed through (NativeMint | Permit2Mint | NativeRedeem); null on a direct module call.


timestamp

timestamp: string

Defined in: query.ts:2022


txHash

txHash: string

Defined in: query.ts:2023