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.
StaticBaseGenerate a base class of CCC to create a serializable instance. This should be used with the codec decorator.
StaticencodeEncode the entity into bytes
The entity to encode
The encoded bytes
StaticdecodeDecode the entity from bytes
The bytes to decode
Optional_context: any
Optional context passed to the codec
The decoded entity
StaticfromCreate an entity from bytes
Optional_context: any
Optional context passed to the codec
The created entity
Check 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
Convert the entity to a full-byte untrimmed Hex representation
The entity full-byte untrimmed hexadecimal representation
StaticBaseGenerate a base class of CCC to create a serializable Union instance. This should be used with the codec decorator.
Creates an instance of WitnessArgs.