我试图在 Tron 区块链的合约中创建 NFT,我的功能是:
async function createNFT() {
let contract = await tronWeb.contract().at('address of contract');
let result = await contract.mintWithTokenURI("my wallet", id, "urlToNFT").send({
feeLimit:100_000_000,
callValue:0,
tokenId:1000036,
tokenValue:100,
shouldPollResponse:true
});
}
但我总是收到这个错误: error printscreen
error: "CONTRACT_VALIDATE_ERROR", message: "contract validate error : Owner no asset!"