NegRiskFeeModule

Polygon
polygonscandexguru

Add Admin

(addAdmin)

nonpayable


admin


Sign In

Use this function in your app


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