@arkade-os/sdk Documentation - v0.5.0-rc.11
    Preparing search index...

    Function withPrevTxs

    • Fill in prevTx on every coin an intent proof will spend, in one batched lookup. The proof's synthetic input 0 needs nothing — the emulator synthesises a one-output tx for it — so this covers exactly the coins, which land on proof inputs 1..n.

      Type Parameters

      • T extends { prevTx?: Uint8Array<ArrayBufferLike>; txid: string }

      Parameters

      Returns Promise<T[]>