thirdweb

ActionLogs

Base
basescoutdexguru
Code Snippets

Add Signer

(addSigner)

nonpayable

_signer


Sign in

Use this function in your app


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