Hello guys. i am trying to transfer an nft to a sc and burn it on the same transaction. I have written my transaction like this.const Data =
"ESDTNFTTransfer" +
"@" +
token_identifier +
"@" +
nonce +
"@" +
quantity +
"@" +
destinationaddres: smartContractaddress +
"@" +
methodname: burnmethod +
"@" +
first_arg +
"@" +
second_arg;
const callTransactionOne = new Transaction({
receiver: new Address(wallet.address),
gasLimit: new GasLimit(80000000),
data: new TransactionPayload(Data),
}); this transaction fails. does this transaction sends NFT to SC and calls the method in smart contract?
Do you have a link to the failed transaction? :)