Class TokenData
Token information retrieved from a mirror node.
Inherited Members
Namespace: Hiero.Mirror
Assembly: Hiero.dll
Syntax
public class TokenData
Properties
| Edit this page View SourceAdministrator
Administrator key for signing transactions modifying this token's properties.
Declaration
[JsonPropertyName("admin_key")]
public Endorsement? Administrator { get; set; }
Property Value
| Type | Description |
|---|---|
| Endorsement |
Ceiling
The maximum number of tokens allowed in circulation at a given time. The value of 0 is unbounded.
Declaration
[JsonPropertyName("max_supply")]
[JsonConverter(typeof(LongMirrorConverter))]
public long Ceiling { get; set; }
Property Value
| Type | Description |
|---|---|
| long |
Circulation
The total supply of the token (in tinytokens).
Declaration
[JsonPropertyName("total_supply")]
[JsonConverter(typeof(LongMirrorConverter))]
public long Circulation { get; set; }
Property Value
| Type | Description |
|---|---|
| long |
ConfiscateEndorsement
Administrator key for signing transactions that completely remove tokens from an crypto address.
Declaration
[JsonPropertyName("wipe_key")]
public Endorsement? ConfiscateEndorsement { get; set; }
Property Value
| Type | Description |
|---|---|
| Endorsement |
Created
The consensus timestamp of the token's creation.
Declaration
[JsonPropertyName("created_timestamp")]
public ConsensusTimeStamp Created { get; set; }
Property Value
| Type | Description |
|---|---|
| ConsensusTimeStamp |
Decimals
The number of token decimals (if this is a fungible token).
Declaration
[JsonPropertyName("decimals")]
[JsonConverter(typeof(IntMirrorConverter))]
public int Decimals { get; set; }
Property Value
| Type | Description |
|---|---|
| int |
Deleted
Flag indicating the token has been deleted.
Declaration
[JsonPropertyName("deleted")]
[JsonConverter(typeof(BooleanMirrorConverter))]
public bool Deleted { get; set; }
Property Value
| Type | Description |
|---|---|
| bool |
Expiration
Expiration date for the token. Will renew as determined by the renew period and balance of auto renew account.
Declaration
[JsonPropertyName("expiry_timestamp")]
[JsonConverter(typeof(ConsensusTimeStampForTokenExpirationConverter))]
public ConsensusTimeStamp Expiration { get; set; }
Property Value
| Type | Description |
|---|---|
| ConsensusTimeStamp |
GrantKycEndorsement
Administrator key for signing transactions updating the grant or revoke KYC status of an account.
Declaration
[JsonPropertyName("kyc_key")]
public Endorsement? GrantKycEndorsement { get; set; }
Property Value
| Type | Description |
|---|---|
| Endorsement |
InitialSupply
The number of tokens in circulation upon creation of this token.
Declaration
[JsonPropertyName("initial_supply")]
[JsonConverter(typeof(LongMirrorConverter))]
public long InitialSupply { get; set; }
Property Value
| Type | Description |
|---|---|
| long |
Memo
The memo associated with the token instance.
Declaration
[JsonPropertyName("memo")]
public string Memo { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
Modified
The last time this token was modified.
Declaration
[JsonPropertyName("modified_timestamp")]
public ConsensusTimeStamp Modified { get; set; }
Property Value
| Type | Description |
|---|---|
| ConsensusTimeStamp |
Name
Name of this token
Declaration
[JsonPropertyName("name")]
public string Name { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
PauseEndorsement
Administrator key for signing transactions that can pause or continue the exchange of all assets across all accounts on the network.
Declaration
[JsonPropertyName("pause_key")]
public Endorsement? PauseEndorsement { get; set; }
Property Value
| Type | Description |
|---|---|
| Endorsement |
PauseStatus
The current paused/frozen status of the token for all accounts.
Declaration
[JsonPropertyName("pause_status")]
[JsonConverter(typeof(PauseStatusConverter))]
public TokenTradableStatus PauseStatus { get; set; }
Property Value
| Type | Description |
|---|---|
| TokenTradableStatus |
RenewAccount
Optional address of the account supporting the auto renewal of the token at expiration time. The token lifetime will be extended by the RenewPeriod at expiration time if this account contains sufficient funds. The private key associated with this account must sign the transaction if RenewAccount is specified.
Declaration
[JsonPropertyName("auto_renew_account")]
public EntityId? RenewAccount { get; set; }
Property Value
| Type | Description |
|---|---|
| EntityId |
RenewPeriodInSeconds
Interval of the token and auto-renewal period. If the associated renewal account does not have sufficient funds to renew at the expiration time, it will be renewed for a period of time the remaining funds can support. If no funds remain, the token instance will be deleted.
Declaration
[JsonPropertyName("auto_renew_period")]
[JsonConverter(typeof(LongMirrorConverter))]
public long RenewPeriodInSeconds { get; set; }
Property Value
| Type | Description |
|---|---|
| long |
Royalties
The list of royalties assessed on transactions by the network when transferring this token.
Declaration
[JsonPropertyName("custom_fees")]
public CustomFeeData Royalties { get; set; }
Property Value
| Type | Description |
|---|---|
| CustomFeeData |
RoyaltiesEndorsement
Administrator key for signing transactions updating the royalties (custom transfer fees) associated with this token.
Declaration
[JsonPropertyName("fee_schedule_key")]
public Endorsement? RoyaltiesEndorsement { get; set; }
Property Value
| Type | Description |
|---|---|
| Endorsement |
SupplyEndorsement
Administrator key for signing transactions for minting or unminting tokens in the treasury account.
Declaration
[JsonPropertyName("supply_key")]
public Endorsement? SupplyEndorsement { get; set; }
Property Value
| Type | Description |
|---|---|
| Endorsement |
SupplyType
The supply type, finite or infinite.
Declaration
[JsonPropertyName("supply_type")]
public string SupplyType { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
SuspendEndorsement
Administrator key for signing transactions for freezing or unfreezing an account's ability to transfer tokens.
Declaration
[JsonPropertyName("freeze_key")]
public Endorsement? SuspendEndorsement { get; set; }
Property Value
| Type | Description |
|---|---|
| Endorsement |
SuspendedByDefault
The current default suspended/frozen status of the token.
Declaration
[JsonPropertyName("freeze_default")]
public bool SuspendedByDefault { get; set; }
Property Value
| Type | Description |
|---|---|
| bool |
Symbol
The string symbol representing this token.
Declaration
[JsonPropertyName("symbol")]
public string Symbol { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
Token
The Hedera address of this token.
Declaration
[JsonPropertyName("token_id")]
public EntityId Token { get; set; }
Property Value
| Type | Description |
|---|---|
| EntityId |
Treasury
The treasury account holding uncirculated tokens.
Declaration
[JsonPropertyName("treasury_account_id")]
public EntityId Treasury { get; set; }
Property Value
| Type | Description |
|---|---|
| EntityId |
Type
The type of token this represents, fungible token or Nft (NFT).
Declaration
[JsonPropertyName("type")]
public TokenType Type { get; set; }
Property Value
| Type | Description |
|---|---|
| TokenType |