Class TokenInfo
The information returned from the GetTokenInfo Client method call. It represents the details concerning Tokens and Assets.
Implements
Inherited Members
Namespace: Hashgraph
Assembly: Hashgraph.dll
Syntax
public sealed class TokenInfo : IEquatable<TokenInfo>
Properties
| Improve this Doc View SourceAdministrator
Administrator key for signing transactions modifying this token's properties.
Declaration
public Endorsement Administrator { get; }
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
public long Ceiling { get; }
Property Value
| Type | Description |
|---|---|
| Int64 |
Circulation
The total balance of tokens in all accounts (the whole denomination).
Declaration
public ulong Circulation { get; }
Property Value
| Type | Description |
|---|---|
| UInt64 |
ConfiscateEndorsement
Administrator key for signing transaction that completely remove tokens from an crypto address.
Declaration
public Endorsement ConfiscateEndorsement { get; }
Property Value
| Type | Description |
|---|---|
| Endorsement |
Decimals
The number of decimal places which each token may be subdivided.
Declaration
public uint Decimals { get; }
Property Value
| Type | Description |
|---|---|
| UInt32 |
Deleted
Flag indicating the token has been deleted.
Declaration
public bool Deleted { get; }
Property Value
| Type | Description |
|---|---|
| Boolean |
Expiration
Expiration date for the token. Will renew as determined by the renew period and balance of auto renew account.
Declaration
public DateTime Expiration { get; }
Property Value
| Type | Description |
|---|---|
| DateTime |
GrantKycEndorsement
Administrator key for signing transactions updating the grant or revoke KYC status of an account.
Declaration
public Endorsement GrantKycEndorsement { get; }
Property Value
| Type | Description |
|---|---|
| Endorsement |
KycStatus
The current default KYC status of the token.
Declaration
public TokenKycStatus KycStatus { get; }
Property Value
| Type | Description |
|---|---|
| TokenKycStatus |
Memo
The memo associated with the token instance.
Declaration
public string Memo { get; }
Property Value
| Type | Description |
|---|---|
| String |
Name
Name of this token
Declaration
public string Name { get; }
Property Value
| Type | Description |
|---|---|
| String |
RenewAccount
Optional address of the account supporting the auto renewal of the token at expiration time. The topic 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
public Address RenewAccount { get; }
Property Value
| Type | Description |
|---|---|
| Address |
Remarks
If specified, an Administrator Endorsement must also be specified.
RenewPeriod
Interval of the topic 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 topic instance will be deleted.
Declaration
public TimeSpan? RenewPeriod { get; }
Property Value
| Type | Description |
|---|---|
| Nullable<TimeSpan> |
Royalties
The list of fixed royalties assessed on transactions by the network when transferring this token.
Declaration
public ReadOnlyCollection<IRoyalty> Royalties { get; }
Property Value
| Type | Description |
|---|---|
| ReadOnlyCollection<IRoyalty> |
RoyaltiesEndorsement
Administrator key for signing transactions updating the royalties (custom transfer fees) associated with this token.
Declaration
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
public Endorsement SupplyEndorsement { get; }
Property Value
| Type | Description |
|---|---|
| Endorsement |
SuspendEndorsement
Administrator key for signing transactions for freezing or unfreezing an account's ability to transfer tokens.
Declaration
public Endorsement SuspendEndorsement { get; }
Property Value
| Type | Description |
|---|---|
| Endorsement |
Symbol
The string symbol representing this token.
Declaration
public string Symbol { get; }
Property Value
| Type | Description |
|---|---|
| String |
Token
The Hedera address of this token.
Declaration
public Address Token { get; }
Property Value
| Type | Description |
|---|---|
| Address |
TradableStatus
The current default suspended/frozen status of the token.
Declaration
public TokenTradableStatus TradableStatus { get; }
Property Value
| Type | Description |
|---|---|
| TokenTradableStatus |
Treasury
The treasury account holding uncirculated tokens.
Declaration
public Address Treasury { get; }
Property Value
| Type | Description |
|---|---|
| Address |
Type
The type of token this represents, fungible token or Asset (NFT).
Declaration
public TokenType Type { get; }
Property Value
| Type | Description |
|---|---|
| TokenType |