Optional
lock: `0x${string}`The optional lock field of the witness.
Optional
inputType: `0x${string}`The optional input type field of the witness.
Optional
outputType: `0x${string}`The optional output type field of the witness.
Optional
lockThe optional lock field of the witness.
Optional
inputThe optional input type field of the witness.
Optional
outputThe optional output type field of the witness.
Static
Optional
byteThe bytes length of the entity, if it is fixed, otherwise undefined
Static
fromCreates a WitnessArgs instance from a WitnessArgsLike object.
A WitnessArgsLike object or an instance of WitnessArgs.
A WitnessArgs instance.
Static
encodeEncode the entity into bytes
The entity to encode
The encoded bytes
Static
decodeDecode the entity from bytes
The bytes to decode
The decoded entity
Static
fromCheck if the entity is equal to another entity
The other entity to compare with
True if the entities are equal, false otherwise
Calculate the hash of the entity
The hash of the entity
Creates an instance of WitnessArgs.