Optionallock: `0x${string}`The optional lock field of the witness.
OptionalinputType: `0x${string}`The optional input type field of the witness.
OptionaloutputType: `0x${string}`The optional output type field of the witness.
OptionallockThe optional lock field of the witness.
OptionalinputThe optional input type field of the witness.
OptionaloutputThe optional output type field of the witness.
Static OptionalbyteThe bytes length of the entity, if it is fixed, otherwise undefined
StaticfromCreates a WitnessArgs instance from a WitnessArgsLike object.
A WitnessArgsLike object or an instance of WitnessArgs.
A WitnessArgs instance.
StaticencodeEncode the entity into bytes
The entity to encode
The encoded bytes
StaticdecodeDecode the entity from bytes
The bytes to decode
The decoded entity
StaticfromCheck 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.