Show / Hide Table of Contents

Class AssetTransfer

Represents a token transfer (Token, Account, Amount)

Inheritance
Object
AssetTransfer
Implements
IEquatable<AssetTransfer>
Inherited Members
Object.Equals(Object)
Object.Equals(Object, Object)
Object.GetHashCode()
Object.GetType()
Object.MemberwiseClone()
Object.ReferenceEquals(Object, Object)
Object.ToString()
Namespace: Hashgraph
Assembly: Hashgraph.dll
Syntax
public sealed class AssetTransfer : IEquatable<AssetTransfer>

Constructors

| Improve this Doc View Source

AssetTransfer(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 Source

Asset

The Address and Serial Number of the asset to transfer.

Declaration
public Asset Asset { get; }
Property Value
Type Description
Asset
| Improve this Doc View Source

From

The Address having the asset to send.

Declaration
public Address From { get; }
Property Value
Type Description
Address
| Improve this Doc View Source

To

The Address receiving the asset.

Declaration
public Address To { get; }
Property Value
Type Description
Address

Implements

System.IEquatable<T>
  • Improve this Doc
  • View Source
In This Article
Back to top .NET Client Library for Hedera Hashgraph