Skip to content

GenesisMint - (Emitted Txn)

[Source]

Added by the [XahauGenesis amendment][] and the [Hooks amendment][]

{
"TransactionType": "GenesisMint",
"Account": "rHb9CJAWyB4rj91VRWn96DkukG4bwdtyTh",
"GenesisMints": [
{
"GenesisMint": {
"Destination": "rPT1Sjq2YGrBMTttX4GZHjKu9dyfzbpAYe",
"Amount": "1000000000"
},
}
]
}
FieldJSON TypeInternal TypeDescription
AccountStringAccountIDThe address of the genesis account that will mint and distribute XAH.
GenesisMintsArrayArrayAn 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.

FieldJSON TypeInternal TypeDescription
DestinationStringAccountIDThe address of the account that will receive the minted XAH.
AmountStringAmountThe amount of XAH to be minted and distributed to the destination account.
GovernanceFlagsStringHash256(Optional) The governance flags associated with the destination account.
GovernanceMarksStringHash256(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:

Error CodeDescription
temDISABLEDOccurs if the “Hooks” or “XahauGenesis” amendments are not enabled.
temMALFORMEDOccurs if the transaction is malformed, such as missing required fields or invalid values.