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({
  /// Amount: asset amount
  int? amount,

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

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

  /// Spent: determines if the input has been spent
  bool? spent,

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

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

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