Arguments for the transaction.
Entry point for the transaction execution.
Private
fieldsInternal map to store serialized fields, where the key is the field identifier.
Scheduling details for the transaction execution.
Target destination of the transaction.
Serializes the fields of the object into a Uint8Array
for transmission or storage.
This method iterates over the fields
map, serializing each key-value pair. The key is
written as a 16-bit unsigned integer, and the value is written as a sequence of bytes.
The resulting byte array contains all serialized fields in order, preceded by the number of fields.
A Uint8Array
containing the serialized representation of the fields.
Static
buildBuilds a PayloadFields
instance from provided transaction details.
A new PayloadFields
instance.
Error if any of the required parameters are missing or invalid.
Transaction arguments.
Transaction target.
Transaction entry point.
Scheduling information for the transaction.
Generated using TypeDoc
Class representing a collection of fields used in transaction serialization. This class handles serialization and deserialization of transaction data fields.