{s}omniamarkets

@somnia-chain/markets-sdk


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

Type Alias: RouterActionRecord

RouterActionRecord = object

Defined in: query.ts:2451

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:2453

Record id (${blockNumber}_${logIndex}).


kind

kind: RouterActionKind

Defined in: query.ts:2455

Redeem | MintCompleteSet | MergeCompleteSet.


account

account: string

Defined in: query.ts:2457

Acting wallet (lowercased).


market

market: string | null

Defined in: query.ts:2459

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


amount

amount: string

Defined in: query.ts:2464

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:2466

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


routedVia

routedVia: string | null

Defined in: query.ts:2471

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


timestamp

timestamp: string

Defined in: query.ts:2473

Timestamp (unix seconds) of the action.


txHash

txHash: string

Defined in: query.ts:2475

Tx hash the action landed in.