AssetConfigParameters class
- Annotations
-
- @JsonSerializable(fieldRename: FieldRename.kebab)
Constructors
-
AssetConfigParameters({BigInt? total, int? decimals, bool? defaultFrozen, String? unitName, String? assetName, String? url, Uint8List? metaData, Address? managerAddress, Address? reserveAddress, Address? freezeAddress, Address? clawbackAddress})
-
-
AssetConfigParameters.fromJson(Map<String, dynamic> json)
-
factory
Properties
-
assetName
→ String?
-
The name of the asset. Supplied on creation. Example: Tether
final
-
clawbackAddress
→ Address?
-
The address of the account that can clawback holdings of this asset.
If empty, clawback is not permitted.
final
-
decimals
→ int?
-
The number of digits to use after the decimal point when
displaying the asset.
final
-
defaultFrozen
→ bool?
-
True to freeze holdings for this asset by default.
final
-
freezeAddress
→ Address?
-
The address of the account used to freeze holdings of this asset.
final
-
hashCode
→ int
-
The hash code for this object.
no setterinherited
-
managerAddress
→ Address?
-
The address of the account that can manage the configuration of the asset
and destroy it.
final
-
metaData
→ Uint8List?
-
This field is intended to be a 32-byte hash of some metadata that is
relevant to your asset and/or asset holders.
final
-
props
→ List<Object?>
-
The list of properties that will be used to determine whether
two instances are equal.
no setter
-
reserveAddress
→ Address?
-
The address of the account that holds the reserve (non-minted) units of
the asset.
final
-
runtimeType
→ Type
-
A representation of the runtime type of the object.
no setterinherited
-
stringify
→ bool?
-
If set to
true
, the toString method will be overridden to output
this instance's props.
no setterinherited
-
total
→ BigInt?
-
The total number of base units of the asset to create.
This number cannot be changed.
Required on creation.
final
-
unitName
→ String?
-
The name of a unit of this asset. Supplied on creation. Example: USDT
final
-
url
→ String?
-
Specifies a URL where more information about the asset can be retrieved.
Max size is 32 bytes.
final