ConsumedInputs class

ConsumedInputs represents the inputs consumed by the transaction It includes.

Annotations
  • @freezed

Constructors

ConsumedInputs({int? amount, String? from, String? tokenAddress, int? timestamp, String? type, int? tokenId, int? protocolVersion, String? state})
const
factory
ConsumedInputs.fromJson(Map<String, dynamic> json)
factory

Properties

amount → int?
Asset amount
no setterinherited
copyWith → $ConsumedInputsCopyWith<ConsumedInputs>
Create a copy of ConsumedInputs with the given fields replaced by the non-null parameter values.
no setterinherited
from → String?
Transaction which send the amount of assets
no setterinherited
hashCode → int
The hash code for this object.
no setterinherited
protocolVersion → int?
Version of the UTXO data structure
no setterinherited
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
state → String?
State of a smart contract
no setterinherited
timestamp → int?
Date time when the UTXO created/manipulated
no setterinherited
tokenAddress → String?
Address of the token if the type is token
no setterinherited
tokenId → int?
Id for a token which is allocated when the token is minted.
no setterinherited
type → String?
Type of input : UCO/token/state/call
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() → Map<String, dynamic>
Serializes this ConsumedInputs to a JSON map.
inherited
toString() → String
A string representation of this object.
inherited

Operators

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