MPTokenIssuanceSet
Update a mutable property of a Multi-purpose Token (MPT) issuance, including locking (freezing) or unlocking the tokens globally or for an individual holder.
Requires the MPTokensV1 amendment. Loading...
Example MPTokenIssuanceSet JSON
This example locks the balances of all holders of the specified MPT issuance.
{
"TransactionType": "MPTokenIssuanceSet",
"Account": "rNFta7UKwcoiCpxEYbhH2v92numE3cceB6",
"MPTokenIssuanceID": "05EECEBE97A7D635DE2393068691A015FED5A89AD203F5AA",
"Fee": "10",
"Flags": 1,
"Sequence": 99536577
}
MPTokenIssuanceSet Fields
In addition to the common fields, MPTokenIssuanceSet transactions use the following fields:
Field | JSON Type | Internal Type | Required? | Description |
---|---|---|---|---|
MPTokenIssuanceID | String - Hexadecimal | UInt192 | Yes | The identifier of the MPTokenIssuance to update. |
Holder | String - Address | AccountID | No | An individual token holder. If provided, apply changes to the given holder's balance of the given MPT issuance. If omitted, apply to all accounts holding the given MPT issuance. |
MPTokenIssuanceSet Flags
Transactions of the MPTokenIssuanceSet
type support additional values in the Flags
field, as follows:
Flag Name | Hex Value | Decimal Value | Description |
---|---|---|---|
tfMPTLock | 0x00000001 | 1 | Enable to lock balances of this MPT issuance. |
tfMPTUnlock | 0x00000002 | 2 | Enable to unlock balances of this MPT issuance. |