See the canonical spec:
.TypeScriptimport { Client, Wallet } from 'xrpl'; async function burnNFToken(): Promise<void> { const client = new Client('wss://honeycluster.dev'); await client.connect(); const wallet = Wallet.fromSeed('s...'); const prepared = await client.autofill({ TransactionType: 'NFTokenBurn', Account: wallet.address, NFTokenID: '000800001B736F6D657468696E675F636F6F6C5F000000000000000000', }); const signed = wallet.sign(prepared); const res = await client.submitAndWait(signed.tx_blob); console.log(res); await client.disconnect(); } burnNFToken().catch(console.error);
| Field | Type | Required | Description |
|---|---|---|---|
Account | String | Yes | The address of the account burning the NFToken |
NFTokenID | String | Yes | The unique identifier of the NFToken to burn |
NFTokenID:
64-character hexadecimal string
Format: 0008 + NFTokenTaxon + URI + padding
Example: 000800001B736F6D657468696E675F636F6F6C5F000000000000000000
Note:
Only the NFToken owner or authorized operator can burn it
This action is irreversible - the NFToken cannot be recovered
Permanently removes an NFToken from the ledger
Can only be executed by the token owner or authorized operator
This action is irreversible - the token cannot be recovered
Always use autofill to set fees and sequence safely when using the XRPL client library