DefaultVtxo.Script is the class letting to create the vtxo script.
const vtxoScript = new DefaultVtxo.Script({ pubKey: new Uint8Array(32), serverPubKey: new Uint8Array(32),});console.log("script pub key:", vtxoScript.pkScript) Copy
const vtxoScript = new DefaultVtxo.Script({ pubKey: new Uint8Array(32), serverPubKey: new Uint8Array(32),});console.log("script pub key:", vtxoScript.pkScript)
Readonly
Static
DefaultVtxo.Script is the class letting to create the vtxo script.
Example