i'm trying to use metaplex mpl token metadata v3 to burn an nft, and i need the instruction. When i use burnNft method, it returns a transaction builder instance.
Is there a way to get only the instruction like in old versions ? (i build the transaction myself)
I'm using JS (vue) I would like to be able to do the following :
let transaction = new Transaction()
let instruction = await burnNft(umi, accounts)
But i'm missing something since burnNft doesn't return an instruction, but a transactionBuilder, and i would like to get only the burn instruction