AssetConfigTransaction class
- Inheritance
-
- Annotations
-
- @JsonSerializable(fieldRename: FieldRename.kebab)
Constructors
-
AssetConfigTransaction({int? assetId, int? total, int? decimals, bool? defaultFrozen, String? unitName, String? assetName, String? url, Uint8List? metaData, Address? managerAddress, Address? reserveAddress, Address? freezeAddress, Address? clawbackAddress, bool destroy = false, int? fee, int? firstValid, Uint8List? genesisHash, int? lastValid, Address? sender, String? type, String? genesisId, Uint8List? group, Uint8List? lease, Uint8List? note, Address? rekeyTo})
-
-
AssetConfigTransaction.builder(AssetConfigTransactionBuilder builder)
-
-
AssetConfigTransaction.fromJson(Map<String, dynamic> json)
-
factory
Properties
-
assetId
→ int?
-
For re-configure or destroy transactions, this is the unique asset ID.
On asset creation, the ID is set to zero.
final
-
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
-
destroy
→ bool
-
Boolean to destroy the asset.
use in combination with the asset id.
final
-
fee
↔ int?
-
Paid by the sender to the FeeSink to prevent denial-of-service.
The minimum fee on Algorand is currently 1000 microAlgos.
This field cannot be combined with flat fee.
getter/setter pairinherited
-
firstValid
→ int?
-
The first round for when the transaction is valid.
If the transaction is sent prior to this round it will be rejected by
the network.
finalinherited
-
freezeAddress
→ Address?
-
The address of the account used to freeze holdings of this asset.
final
-
genesisHash
→ Uint8List?
-
The hash of the genesis block of the network for which the transaction
is valid. See the genesis hash for MainNet, TestNet, and BetaNet.
finalinherited
-
genesisId
→ String?
-
The human-readable string that identifies the network for the transaction.
The genesis ID is found in the genesis block.
finalinherited
-
group
↔ Uint8List?
-
The group specifies that the transaction is part of a group and, if so,
specifies the hash of the transaction group.
getter/setter pairinherited
-
hashCode
→ int
-
The hash code for this object.
no setterinherited
-
id
→ String
-
Get the transaction id.
The encoded transaction is hashed using sha512/256 and base32 encoded.
no setterinherited
-
lastValid
→ int?
-
The ending round for which the transaction is valid.
After this round, the transaction will be rejected by the network.
finalinherited
-
lease
↔ Uint8List?
-
A lease enforces mutual exclusion of transactions.
If this field is nonzero, then once the transaction is confirmed,
it acquires the lease identified by the (Sender, Lease) pair of the
transaction until the LastValid round passes.
getter/setter pairinherited
-
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
-
note
→ Uint8List?
-
Any data up to 1000 bytes.
finalinherited
-
props
→ List<Object?>
-
The list of properties that will be used to determine whether
two instances are equal.
no setteroverride
-
rawId
→ Uint8List
-
Get the binary representation of the transaction id.
The encoded transaction is hashed using sha512/256 without base32 encoding
no setterinherited
-
rekeyTo
→ Address?
-
Specifies the authorized address.
This address will be used to authorize all future transactions.
TODO Change key
finalinherited
-
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
-
sender
→ Address?
-
The address of the account that pays the fee and amount.
finalinherited
-
stringify
→ bool?
-
If set to
true
, the toString method will be overridden to output
this instance's props.
no setterinherited
-
total
→ int?
-
The total number of base units of the asset to create.
This number cannot be changed.
Required on creation.
final
-
type
→ String?
-
Specifies the type of transaction.
This value is automatically generated using any of the developer tools.
finalinherited
-
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