Asset class abstract
Asset
Properties:
- asset - Hex-encoded asset full name
- policyId - Policy ID of the asset
- assetName - Hex-encoded asset name of the asset
- fingerprint - CIP14 based user-facing fingerprint
- quantity - Current asset quantity
- initialMintTxHash - ID of the initial minting transaction
- mintOrBurnCount - Count of mint and burn transactions
- onchainMetadata
- metadata
- Annotations
-
- @BuiltValue()
Constructors
- Asset([void updates(AssetBuilder b)])
-
factory
Properties
- asset → String
-
Hex-encoded asset full name
no setter
- assetName → String?
-
Hex-encoded asset name of the asset
no setter
- fingerprint → String
-
CIP14 based user-facing fingerprint
no setter
- hashCode → int
-
The hash code for this object.
no setterinherited
- initialMintTxHash → String
-
ID of the initial minting transaction
no setter
- metadata → AssetMetadata?
-
no setter
- mintOrBurnCount → int
-
Count of mint and burn transactions
no setter
- onchainMetadata → AssetOnchainMetadata?
-
no setter
- policyId → String
-
Policy ID of the asset
no setter
- quantity → String
-
Current asset quantity
no setter
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
rebuild(
dynamic updates(AssetBuilder)) → Asset -
Rebuilds the instance.
inherited
-
toBuilder(
) → AssetBuilder -
Converts the instance to a builder
B
.inherited -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Static Properties
-
serializer
→ Serializer<
Asset> -
no setter