Class AssetInfo
The information returned from the GetTokenInfo Client method call. It represents the details concerning a Hedera Fungable Token.
Implements
Inherited Members
Namespace: Hashgraph
Assembly: Hashgraph.dll
Syntax
public sealed class AssetInfo : IEquatable<AssetInfo>
Properties
| Improve this Doc View SourceAsset
The identifer of the asset (NFT Instance).
Declaration
public Asset Asset { get; }
Property Value
| Type | Description |
|---|---|
| Asset |
Created
The Consensus Timestamp for when this asset was created (minted).
Declaration
public DateTime Created { get; }
Property Value
| Type | Description |
|---|---|
| DateTime |
Metadata
The metadata associated with this asset, limited to 100 bytes.
Declaration
public ReadOnlyMemory<byte> Metadata { get; }
Property Value
| Type | Description |
|---|---|
| ReadOnlyMemory<Byte> |
Owner
The account currently owning the asset.
Declaration
public Address Owner { get; }
Property Value
| Type | Description |
|---|---|
| Address |
Methods
| Improve this Doc View SourceAssetInfoCollection(Response)
Declaration
public static ReadOnlyCollection<AssetInfo> AssetInfoCollection(Response response)
Parameters
| Type | Name | Description |
|---|---|---|
| Proto.Response | response |
Returns
| Type | Description |
|---|---|
| ReadOnlyCollection<AssetInfo> |
Equals(AssetInfo)
Equality implementation
Declaration
public bool Equals(AssetInfo other)
Parameters
| Type | Name | Description |
|---|---|---|
| AssetInfo | other | The other object to compare.
|
Returns
| Type | Description |
|---|---|
| Boolean | True if asset, owner, created and metadata are the same. |
GetHashCode()
Equality implementation.
Declaration
public override int GetHashCode()
Returns
| Type | Description |
|---|---|
| Int32 | A unique hash of the contents of this
object. Only consistent within the current instance of
the application process.
|