Class AssetTransfer
Represents a token transfer (Token, Account, Amount)
Implements
Inherited Members
Namespace: Hashgraph
Assembly: Hashgraph.dll
Syntax
public sealed class AssetTransfer : IEquatable<AssetTransfer>
Constructors
| Improve this Doc View SourceAssetTransfer(Asset, Address, Address)
Public Constructor, an
TokenTransfer
is immutable after creation.
Declaration
public AssetTransfer(Asset asset, Address fromAddress, Address toAddress)
Parameters
Type | Name | Description |
---|---|---|
Asset | asset | The address and serial number of the asset to transfer. |
Address | fromAddress | The address of the crypto account having the token. |
Address | toAddress | The address of the crypto account sending the token. |
Properties
| Improve this Doc View SourceAsset
The Address and Serial Number of the asset to transfer.
Declaration
public Asset Asset { get; }
Property Value
Type | Description |
---|---|
Asset |
From
The Address having the asset to send.
Declaration
public Address From { get; }
Property Value
Type | Description |
---|---|
Address |
To
The Address receiving the asset.
Declaration
public Address To { get; }
Property Value
Type | Description |
---|---|
Address |