Show / Hide Table of Contents

Class TokenTransferData

Represents a token transfer within a transaction.

Inheritance
object
TokenTransferData
Inherited Members
object.Equals(object)
object.Equals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
object.ReferenceEquals(object, object)
object.ToString()
Namespace: Hiero.Mirror
Assembly: Hiero.dll
Syntax
public class TokenTransferData

Properties

| Edit this page View Source

Account

The account sending or receiving the token.

Declaration
[JsonPropertyName("account")]
public EntityId Account { get; set; }
Property Value
Type Description
EntityId
| Edit this page View Source

Amount

The amount of token transferred (positive value means the account received token, negative value means the account sent the token)

Declaration
[JsonPropertyName("amount")]
[JsonConverter(typeof(LongMirrorConverter))]
public long Amount { get; set; }
Property Value
Type Description
long
| Edit this page View Source

IsAllowance

Flag indicating this transfer was performed as an allowed transfer by a third party account.

Declaration
[JsonPropertyName("is_approval")]
[JsonConverter(typeof(BooleanMirrorConverter))]
public bool IsAllowance { get; set; }
Property Value
Type Description
bool
| Edit this page View Source

Token

The identifier of the token transferred.

Declaration
[JsonPropertyName("token_id")]
public EntityId Token { get; set; }
Property Value
Type Description
EntityId
  • Edit this page
  • View Source
In this article
Back to top .NET Client Library for Hiero Network and Hedera Hashgraph