Skip to content

WatchOptions

WatchOptions = { from: "latest"; } | { from: "all"; } | { blockHeight: number; from: "blockHeight"; inclusive?: boolean; } | { from: "txId"; inclusive?: boolean; txId: string; }

Defined in: src/Contract.ts:1012

Options for watching contract state changes.

Controls where the subscription stream starts from. Maps to the indexer’s ContractStateObservableConfig under the hood.

Since

0.9.0