StaticBoolFactory method to generate a MoveOptionboolean or undefined.
Optionalvalue: null | booleanthe value used to fill the MoveOption. If value is undefined
the resulting MoveOption's .isSome() method will return false.
a MoveOptionvalue
StaticMoveFactory method to generate a MoveOptionstring or undefined.
Optionalvalue: null | stringthe value used to fill the MoveOption. If value is undefined
the resulting MoveOption's .isSome() method will return false.
a MoveOptionvalue
StaticU128Factory method to generate a MoveOptionnumber or a bigint or undefined.
Optionalvalue: null | AnyNumberthe value used to fill the MoveOption. If value is undefined
the resulting MoveOption's .isSome() method will return false.
a MoveOptionvalue
StaticU16Factory method to generate a MoveOptionnumber or undefined.
Optionalvalue: null | numberthe value used to fill the MoveOption. If value is undefined
the resulting MoveOption's .isSome() method will return false.
a MoveOptionvalue
StaticU256Factory method to generate a MoveOptionnumber or a bigint or undefined.
Optionalvalue: null | AnyNumberthe value used to fill the MoveOption. If value is undefined
the resulting MoveOption's .isSome() method will return false.
a MoveOptionvalue
StaticU32Factory method to generate a MoveOptionnumber or undefined.
Optionalvalue: null | numberthe value used to fill the MoveOption. If value is undefined
the resulting MoveOption's .isSome() method will return false.
a MoveOptionvalue
StaticU64Factory method to generate a MoveOptionnumber or a bigint or undefined.
Optionalvalue: null | AnyNumberthe value used to fill the MoveOption. If value is undefined
the resulting MoveOption's .isSome() method will return false.
a MoveOptionvalue
StaticU8Factory method to generate a MoveOptionnumber or undefined.
Optionalvalue: null | numberthe value used to fill the MoveOption. If value is undefined
the resulting MoveOption's .isSome() method will return false.
a MoveOptionvalue
Serialize an argument to BCS-serialized bytes.
The serializer instance used for serialization.
Serialize an argument to BCS-serialized bytes. Serialize an argument as a type-agnostic, fixed byte sequence. The byte sequence contains the number of the following bytes followed by the BCS-serialized bytes for a typed argument.
The serializer used to convert the argument.
Optionalvalue: null | TStaticdeserialize
Represents an argument for entry functions, providing methods to serialize the argument to BCS-serialized bytes and convert it to different formats.