Transaction class

Inheritance

Constructors

Transaction({required TransactionRaw rawData, required List<List<int>> signature})
Create a new Transaction instance with specified parameters.
Transaction.deserialize(List<int> bytes)
factory
Transaction.fromJson(Map<String, dynamic> json)
Create a new Transaction instance by parsing a JSON map.
factory

Properties

fieldIds List<int>
List of field IDs corresponding to the values.
no setteroverride
hashCode int
The hash code for this object.
no setterinherited
length int
latefinal
rawData TransactionRaw
The raw data of the transaction.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
signature List<List<int>>
List of cryptographic signatures associated with the transaction.
final
toHex String
Gets the hexadecimal representation of the protocol buffer data.
no setterinherited
values List
List of dynamic values to be encoded.
no setteroverride

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toBuffer() List<int>
Converts the protocol buffer data to a byte buffer.
inherited
toJson() Map<String, dynamic>
Convert the Transaction object to a JSON representation.
override
toString() String
Convert the Transaction object to its string representation.
override

Operators

operator ==(Object other) bool
The equality operator.
inherited