Class TokenAllowanceData
Allowance information retrieved from a mirror node.
Inherited Members
Namespace: Hiero.Mirror
Assembly: Hiero.dll
Syntax
public class TokenAllowanceData
Properties
| Edit this page View SourceAmount
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 |
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 |
Owner
ID of the token owner.
Declaration
[JsonPropertyName("owner")]
public EntityId Owner { get; set; }
Property Value
| Type | Description |
|---|---|
| EntityId |
Spender
ID of the account allowed to spend the token.
Declaration
[JsonPropertyName("spender")]
public EntityId Spender { get; set; }
Property Value
| Type | Description |
|---|---|
| EntityId |
Token
ID of the token.
Declaration
[JsonPropertyName("token_id")]
public EntityId Token { get; set; }
Property Value
| Type | Description |
|---|---|
| EntityId |