CurrencyAsset class

Constructors

CurrencyAsset({required String policyId, required String assetName, String? fingerprint, required String quantity, required String initialMintTxHash, CurrencyAssetMetadata? metadata})

Properties

assetId String
unique ID for this asset (i.e. policyId+assetName)
final
assetName String
Hex-encoded asset name of the asset
final
fingerprint String
CIP14 based user-facing fingerprint
final
hashCode int
The hash code for this object.
no setterinherited
initialMintTxHash String
ID of the initial minting transaction
final
isADA bool
no setter
isNativeToken bool
no setter
metadata CurrencyAssetMetadata?
final
name String
human-readable version of assetName or empty string
final
policyId String
Policy ID of the asset as a hex encoded hash. Blank for non-mintable tokens (i.e. ADA).
final
quantity String
Current asset quantity
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
symbol String
return first non-null match from: ticker, metadata.name, name
no setter

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
override

Operators

operator ==(Object other) bool
The equality operator.
inherited