Caravan Documentation
    Preparing search index...

    Function getP2WSHOutputSize

    • Returns the approximate size of outputs in tx. Calculated by adding value field (8 bytes), field providing length scriptPubkey and the script pubkey itself

      Parameters

      • scriptPubkeySize: number = 34

      Returns any