AssetTransferTransactionResponse class

Fields for an asset transfer transaction.

Annotations
  • @JsonSerializable(fieldRename: FieldRename.kebab)

Constructors

AssetTransferTransactionResponse({required int amount, required int assetId, required String receiver, int? closeAmount, String? closeTo, String? sender})
AssetTransferTransactionResponse.fromJson(Map<String, dynamic> json)
factory

Properties

amount int
Amount of asset to transfer. A zero amount transferred to self allocates that asset in the account's Assets map.
final
assetId int
ID of the asset being transferred.
final
closeAmount int?
Number of assets transfered to the close-to account as part of the transaction.
final
closeTo String?
Indicates that the asset should be removed from the account's Assets map, and specifies where the remaining asset holdings should be transferred. It's always valid to transfer remaining asset holdings to the creator account.
final
hashCode int
The hash code for this object.
no setterinherited
receiver String
Recipient address of the transfer.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
sender String?
The effective sender during a clawback transactions. If this is not a zero value, the real transaction sender must be the Clawback address from the AssetParams.
final

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

Operators

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