Show / Hide Table of Contents

Class TokenAllowanceData

Allowance information retrieved from a mirror node.

Inheritance
object
TokenAllowanceData
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 TokenAllowanceData

Properties

| Edit this page View Source

Amount

The remaining amount of token the allowed spender may spend from the owner account (denominated in smallest denomination)

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

AmountGranted

The amount of token that the allowed spender was originally granted (denominated in smallest denomination)

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

Owner

ID of the token owner.

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

Spender

ID of the account allowed to spend the token.

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

Token

ID of the token.

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