TransactionParams class

Annotations
  • @JsonSerializable(fieldRename: FieldRename.kebab)

Constructors

TransactionParams({required String consensusVersion, required BigInt fee, required String genesisId, required Uint8List? genesisHash, required BigInt lastRound, required BigInt minFee})
TransactionParams.fromJson(Map<String, dynamic> json)
factory

Properties

consensusVersion String
indicates the consensus protocol version as of LastRound.
final
fee BigInt
Fee is the suggested transaction fee Fee is in units of micro-Algos per byte. Fee may fall to zero but transactions must still have a fee of at least MinTxnFee for the current network protocol.
final
genesisHash Uint8List?
GenesisHash is the hash of the genesis block.
final
genesisId String
GenesisID is an ID listed in the genesis block.
final
hashCode int
The hash code for this object.
no setterinherited
lastRound BigInt
LastRound indicates the last round seen
final
minFee BigInt
The minimum transaction fee (not per byte) required for the txn to validate for the current network protocol.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

copyWith({String? consensusVersion, BigInt? fee, String? genesisId, Uint8List? genesisHash, BigInt? lastRound, BigInt? minFee}) TransactionParams
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() Map<String, dynamic>
toString() String
A string representation of this object.
inherited

Operators

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