@arkade-os/sdk Documentation - v0.3.11
    Preparing search index...

    Function getArkPsbtFields

    • getArkPsbtFields returns all the values of the given coder for the input at inputIndex Multiple fields of the same type can exist in a single input.

      Type Parameters

      • T

      Parameters

      Returns T[]

      const vtxoTaprootTreeFields = getArkPsbtFields(tx, 0, VtxoTaprootTree);
      console.log(`input has ${vtxoTaprootTreeFields.length} vtxoTaprootTree fields`