Skip to content

resolveWantInputs

resolveWantInputs(client, wants): Promise<SubstateRequirement[]>

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

Resolves a list of WantInput descriptors by querying the indexer, returning fully-versioned SubstateRequirement objects ready to attach to a transaction.

Mirrors TransactionInputResolver from the Rust ootle-rs crate.

IndexerClient

WantInput[]

Promise<SubstateRequirement[]>

when a VaultForResource query finds no matching vault for the given resource address (an account-shape problem on the caller’s side).