TransactionRaw class

Inheritance

Constructors

TransactionRaw({required List<int> refBlockBytes, BigInt? refBlockNum, required List<int> refBlockHash, required BigInt expiration, List<Authority>? auths, List<int>? data, required List<TransactionContract> contract, List<int>? scripts, required BigInt timestamp, BigInt? feeLimit})
Create a new TransactionRaw instance with specified parameters.
TransactionRaw.deserialize(List<int> bytes)
factory
TransactionRaw.fromJson(Map<String, dynamic> json)
Create a new TransactionRaw instance by parsing a JSON map.
factory

Properties

auths List<Authority>?
List of authorities authorizing the transaction.
final
contract List<TransactionContract>
List of contracts included in the transaction.
final
data List<int>?
Additional data associated with the transaction.
final
expiration BigInt
The expiration time of the transaction.
final
feeLimit BigInt?
The maximum fee limit for the transaction.
final
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
bytes length of encoded transaction
latefinal
refBlockBytes List<int>
The reference block bytes of the transaction.
final
refBlockHash List<int>
The reference block hash of the transaction.
final
refBlockNum BigInt?
The reference block number of the transaction.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
scripts List<int>?
List of scripts associated with the transaction.
final
timestamp BigInt
The timestamp when the transaction is created.
final
toHex String
Gets the hexadecimal representation of the protocol buffer data.
no setterinherited
txID String
transaction ID
latefinal
values List
List of dynamic values to be encoded.
no setteroverride

Methods

copyWith({List<int>? refBlockBytes, BigInt? refBlockNum, List<int>? refBlockHash, BigInt? expiration, List<Authority>? auths, List<int>? data, List<TransactionContract>? contract, List<int>? scripts, BigInt? timestamp, BigInt? feeLimit}) TransactionRaw
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 TransactionRaw object to a JSON representation.
override
toString() String
Convert the TransactionRaw object to its string representation.
override

Operators

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