@somnia-chain/markets-sdk


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

Type Alias: VaultPayoutFallback

VaultPayoutFallback = object

Defined in: packages/sdk/src/binary/portfolio.ts:426

A vault-credit fallback record (mirror of the indexer VaultPayoutFallback entity) — an append-only history of payouts that could not be delivered to the wallet and were credited to the owner's ERC20Vault balance instead. This is the HISTORY layer; for the live claimable amount read client.getVaultBalance. Amounts are raw token units.

Properties

id

id: string

Defined in: packages/sdk/src/binary/portfolio.ts:428

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


owner

owner: string

Defined in: packages/sdk/src/binary/portfolio.ts:430

Credited owner (lowercased).


token

token: string

Defined in: packages/sdk/src/binary/portfolio.ts:432

Credited token (lowercased).


amount

amount: string

Defined in: packages/sdk/src/binary/portfolio.ts:434

Amount credited to the vault balance (raw token units).


market

market: string

Defined in: packages/sdk/src/binary/portfolio.ts:436

Market id the fallback was emitted for (lowercased).


timestamp

timestamp: string

Defined in: packages/sdk/src/binary/portfolio.ts:438

Timestamp (unix seconds) of the credit.


txHash

txHash: string

Defined in: packages/sdk/src/binary/portfolio.ts:440

Tx hash the credit landed in.