TransactionInput constructor

const TransactionInput({
  1. int? amount,
  2. String? from,
  3. String? tokenAddress,
  4. bool? spent,
  5. int? timestamp,
  6. String? type,
  7. int? tokenId,
})

Implementation

const factory TransactionInput({
  /// Asset amount
  int? amount,

  /// Transaction which send the amount of assets
  String? from,

  /// Address of the token if the type is token
  String? tokenAddress,

  /// Determines if the input has been spent
  bool? spent,

  /// Date time when the inputs was generated
  int? timestamp,

  /// Type of the input: UCO/Token/Call
  String? type,

  /// Id for a token which is allocated when the token is minted.
  int? tokenId,
}) = _TransactionInput;