PrivateGroupFactory

BNB Smart Chain Testnet
bscscan-testnet
Code Snippets

CreateNewGroup

nonpayable

Use this function in your app

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