Skip to content

WantInput

WantInput = { resourceAddress: string; type: "VaultForResource"; } | { substateId: string; type: "SpecificSubstate"; version?: number | null; }

Defined in: ootle-indexer/src/want-input.ts:16

Lazily describes an input the transaction needs, resolved by querying the indexer. Mirrors WantInput from the Rust ootle-rs crate.

  • VaultForResource — find the vault component that holds the given resource address.
  • SpecificSubstate — resolve a specific substate by ID (same as resolveInputs but deferred until resolveWantInputs is called).