import { prepareContractCall, sendTransaction } from "thirdweb";
const transaction = await prepareContractCall({
contract,
method: "function amendMetadata(uint256 tokenId, string _newTokenURI, bytes authorization)",
params: [tokenId, _newTokenURI, authorization]
});
const { transactionHash } = await sendTransaction({
transaction,
account
});