@arkade-os/sdk Documentation - v0.4.0-next.8
    Preparing search index...

    Class Script

    DelegateVtxo.Script extends DefaultVtxo.Script and adds a delegate path.

    const vtxoScript = new DelegateVtxo.Script({
    pubKey: new Uint8Array(32),
    serverPubKey: new Uint8Array(32),
    delegatePubKey: new Uint8Array(32),
    });

    console.log("script pub key:", vtxoScript.pkScript)

    Hierarchy (View Summary)

    Index

    Constructors

    Properties

    defaultVtxo: DefaultVtxo.Script
    delegateScript: string
    leaves: TapLeafScript[]
    scripts: Bytes[]
    tweakedPublicKey: Bytes

    Accessors

    • get pkScript(): Bytes

      Returns Bytes

    Methods