Skip to Content
Symmio Trading-SDK — the SDK surface for builders on HyperEVM

QuoteOrigin

Where a UnifiedQuote was sourced from before reconciliation. A string union.

type QuoteOrigin = "onchain" | "offchain";

Members

onchain"onchain"

Read from the SYMMIO core (getPartyAOpenPositions / getPartyAPendingQuotes + getQuote); the row carries a real quoteId.

offchain"offchain"

Only known to a hedger so far — a pending instant-open or instant-close; the row carries a tempQuoteId and waits to anchor on-chain.

A row’s origin flips from "offchain" to "onchain" the moment reconciliation links its temp id to an on-chain quote id (its key migrates temp:<id>onchain:<id> at the same time).

Last updated on