thirdweb

Set Transfer Fee

(SetTransferFee)

nonpayable

burnFee


Connect Wallet

Use this function in your app


import { prepareContractCall, sendTransaction } from "thirdweb"; const transaction = await prepareContractCall({ contract, method: "function SetTransferFee(uint256 burnFee)", params: [burnFee] }); const { transactionHash } = await sendTransaction({ transaction, account });