HiveXPH SDKhivexph-sdk
NPM
Developer toolkit for Hive Custom JSON and Hive Engine transactions.

NFTs

Burn NFTs

Burning sends instance ids to a destination nobody controls, defaulting to the Hive account null.

Try it: burn NFTs

Usage

TypeScript
await hive.issuer.nft.burn({
  from: hive.accounts.treasury,
  symbol: "TESTNFT",
  id: ["1", "2"],
});

await hive.keychainIssuer.nft.burn({
  username: "alice",
  symbol: "TESTNFT",
  id: ["1"],
});

Important

Burned instances cannot be recovered.

Parameters

ParameterTypeRequiredDescription
from / usernameAccountRef | stringYesSigning account.
symbolstringYesCollection symbol.
idstring[]YesInstance ids to burn.
accountstringNoOptional destination, default "null".