The GenesisMint transaction is used to mint new XAH and distribute it to multiple accounts. This transaction can only be used by the genesis account.
[Source]
Added by the [XahauGenesis amendment][] and the [Hooks amendment][]
Account
String
AccountID
The address of the genesis account that will mint and distribute XAH.
GenesisMints
Array
Array
An array of objects representing the destinations and amounts of the minted XAH.
The GenesisMint transaction includes an array of objects called GenesisMints
. Each object represents a destination account and the amount of XAH to be minted and distributed to that account.
Destination
String
AccountID
The address of the account that will receive the minted XAH.
Amount
String
Amount
The amount of XAH to be minted and distributed to the destination account.
GovernanceFlags
String
Hash256
(Optional) The governance flags associated with the destination account.
GovernanceMarks
String
Hash256
(Optional) The governance marks associated with the destination account.
The GenesisMint transaction has a standard transaction cost, which is the minimum transaction cost required for all transactions.
Besides errors that can occur for all transactions, the GenesisMint transaction can result in the following transaction result codes:
temDISABLED
Occurs if the "Hooks" or "XahauGenesis" amendments are not enabled.
temMALFORMED
Occurs if the transaction is malformed, such as missing required fields or invalid values.