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
fromCreate an entity from bytes
The created entity
Create a clone of the entity
A clone of the entity
Check if the entity is equal to another entity
The other entity to compare with
True if the entities are equal, false otherwise
Creates an instance of WitnessArgs.