import { encodeCreateGroup } from "./interface";
// Implementation
export async function createGroup(args) {
    const transactionRequest = {
        to: args.contractAddress,
        data: encodeCreateGroup(args.groupToCreate)
    };
    if (args.returnTxInfo) {
        return transactionRequest;
    }
    else {
        return args.web3Lib.sendTransaction(transactionRequest);
    }
}
//# sourceMappingURL=handler.js.map