Variable WitnessArgsConst

WitnessArgs: BytesCodec<{
    inputType?: string;
    lock?: string;
    outputType?: string;
}, {
    inputType?: BytesLike;
    lock?: BytesLike;
    outputType?: BytesLike;
}> = ...

Type declaration

  • Optional inputType?: string
  • Optional lock?: string
  • Optional outputType?: string

Type declaration

Example

// secp256k1 lock witness
WitnessArgs.pack({ lock: '0x' + '00'.repeat(65) })

Generated using TypeDoc