Class TokenTransferData
Represents a token transfer within a transaction.
Inherited Members
Namespace: Hiero.Mirror
Assembly: Hiero.dll
Syntax
public class TokenTransferData
Properties
| Edit this page View SourceAccount
The account sending or receiving the token.
Declaration
[JsonPropertyName("account")]
public EntityId Account { get; set; }
Property Value
| Type | Description |
|---|---|
| EntityId |
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 |
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 |
Token
The identifier of the token transferred.
Declaration
[JsonPropertyName("token_id")]
public EntityId Token { get; set; }
Property Value
| Type | Description |
|---|---|
| EntityId |