申し訳ありませんが、このページはお使いの言語では提供されていません。

XRP Ledger Dev Portalをさまざまな言語で提供するよう取り組んでいますが、すべてのページがすべての言語で提供されているわけではありません。ご協力いただける場合は、ぜひ貢献をお願いいたします

NFTokenBurn

The XLS-20 standard for NFTs has a preliminary implementation that can be used in test networks, but is not yet available as an amendment to the XRP Ledger protocol. An amendment may be included in a future XRP Ledger release.

The NFTokenBurn transaction is used to remove a NFToken object from the NFTokenPage in which it is being held, effectively removing the token from the ledger (burning it).

If this operation succeeds, the corresponding NFToken is removed. If this operation empties the NFTokenPage holding the NFToken or results in consolidation, thus removing a NFTokenPage, the owner’s reserve requirement is reduced by one.

Example NFTokenBurn JSON

{
      "TransactionType": "NFTokenBurn",
      "Account": "rNCFjv8Ek5oDrNiMJ3pw6eLLFtMjZLJnf2",
      "Owner": "rvYAfWj5gh67oV6fW32ZzP3Aw4Eubs59B",
      "Fee": 10,
      "NFTokenID": "000B013A95F14B0044F78A264E41713C64B5F89242540EE208C3098E00000D65"
}

NFTokenBurn Fields

In addition to the common fields, a NFTokenBurn transaction uses the following fields:

Field Name Required? JSON Type Internal Type Description
TransactionType Yes string UInt16 The NFTokenBurn transaction type. The integer value is 26.
Account Yes string AccountID The AccountID that submitted this transaction. The account must be either the present owner of the token or, if the lsfBurnable flag is set in the NFToken, the issuer account or an account authorized by the issuer, (that is, the NFTokenMinter).
Owner No string AccountID The account that owns the NFToken to be destroyed. This field is required when an issuer burns a NFToken minted using the `tfBurnable` flag that is owned by another account.
NFTokenID Yes string Hash256 Identifies the NFToken object to be removed by the transaction.
Owner No string AccountID Identifies the owner of the NFToken with the given TokenID. Only used if that owner is different than the account signing this transaction. This is used to burn tokens with the lsfBurnable flag that have been traded.

Account Root Enhancements

NFTokenMinter

Issuers might want to issue NFTs from their well known account, while at the same time wanting to delegate the issuance of such NFTs to a mint or other third party.

Field Name Required? JSON Type Internal Type Description
NFTokenMinter string AccountID The NFTokenMinter field, if set, specifies an alternate account that is allowed to execute the NFTokenMint and NFTokenBurn operations on behalf of the account.

The SetAccount transaction allows the NFTokenMinter field to be set or cleared.

MintedNFTokens

The MintedNFTokens field is used to form the NFTokenID of a new object, to ensure the uniqueness of NFToken objects. If this field is not present, the value is 0.

BurnedNFTokens

The BurnedNFTokens field provides a convenient way to determine how many NFToken objects issued by an account are still active (that is, not burned). If this field is not present the value 0 is assumed. The field is decremented whenever a token issued by this account is burned.

An account for which the difference in the number of minted and burned tokens, as stored in the MintedNFTokens and BurnedNFTokens fields respectively, is non-zero cannot be deleted.