UnspentOutputs constructor

const UnspentOutputs({
  1. int? amount,
  2. String? tokenAddress,
  3. String? type,
  4. String? from,
  5. int? tokenId,
  6. int? timestamp,
  7. Map<String, dynamic>? state,
})

Implementation

const factory UnspentOutputs({
  /// Amount: asset amount
  int? amount,

  /// Token address: address of the token if the type is token
  String? tokenAddress,

  /// Type: UCO/Token
  String? type,

  /// From: transaction which send the amount of assets
  String? from,

  /// Token id: It is the id for a token which is allocated when the token is minted.
  int? tokenId,

  /// Date time when the UTXO created/manipulated
  int? timestamp,

  /// State: It is the state of a smart contract
  Map<String, dynamic>? state,
}) = _UnspentOutputs;