CommandMetadata class

Annotations
  • @JsonSerializable()

Constructors

CommandMetadata({required String chainId, required int gasLimit, required double gasPrice, required String sender, required int ttl, required int creationTime})
CommandMetadata.fromJson(Map<String, dynamic> json)
factory

Properties

chainId String
The chain id of the chain to send the transaction to.
getter/setter pair
creationTime int
The creation time of the transaction in epoch milliseconds.
getter/setter pair
gasLimit int
The gas limit for the transaction. Example: 2500. Higher gas limit means more gas is used if an error occurs. Keep the gas limit low to avoid this.
getter/setter pair
gasPrice double
The gas price for the transaction. Generally something like 1e-5.
getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
sender String
The public key of the sender. This is also the gas payer.
getter/setter pair
ttl int
The time to live for the transaction. Example: 28800.
getter/setter pair

Methods

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.
override

Operators

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