Show / Hide Table of Contents

Class AssetInfo

The information returned from the GetTokenInfo Client method call. It represents the details concerning a Hedera Fungable Token.

Inheritance
Object
AssetInfo
Implements
IEquatable<AssetInfo>
Inherited Members
Object.Equals(Object)
Object.Equals(Object, Object)
Object.GetType()
Object.MemberwiseClone()
Object.ReferenceEquals(Object, Object)
Object.ToString()
Namespace: Hashgraph
Assembly: Hashgraph.dll
Syntax
public sealed class AssetInfo : IEquatable<AssetInfo>

Properties

| Improve this Doc View Source

Asset

The identifer of the asset (NFT Instance).

Declaration
public Asset Asset { get; }
Property Value
Type Description
Asset
| Improve this Doc View Source

Created

The Consensus Timestamp for when this asset was created (minted).

Declaration
public DateTime Created { get; }
Property Value
Type Description
DateTime
| Improve this Doc View Source

Metadata

The metadata associated with this asset, limited to 100 bytes.

Declaration
public ReadOnlyMemory<byte> Metadata { get; }
Property Value
Type Description
ReadOnlyMemory<Byte>
| Improve this Doc View Source

Owner

The account currently owning the asset.

Declaration
public Address Owner { get; }
Property Value
Type Description
Address

Methods

| Improve this Doc View Source

AssetInfoCollection(Response)

Declaration
public static ReadOnlyCollection<AssetInfo> AssetInfoCollection(Response response)
Parameters
Type Name Description
Proto.Response response
Returns
Type Description
ReadOnlyCollection<AssetInfo>
| Improve this Doc View Source

Equals(AssetInfo)

Equality implementation

Declaration
public bool Equals(AssetInfo other)
Parameters
Type Name Description
AssetInfo other

The other

AssetInfo
object to compare.

Returns
Type Description
Boolean

True if asset, owner, created and metadata are the same.

| Improve this Doc View Source

GetHashCode()

Equality implementation.

Declaration
public override int GetHashCode()
Returns
Type Description
Int32

A unique hash of the contents of this

AssetInfo
object. Only consistent within the current instance of the application process.

Overrides
Object.GetHashCode()

Implements

System.IEquatable<T>
  • Improve this Doc
  • View Source
In This Article
Back to top .NET Client Library for Hedera Hashgraph