Zebec Protocol
Search
K

Create Multisig Account

Multisig account can be created in the following way.
const name = "<any name>"
const numberOfConfirmations = 2;
const amount = NearAmount.parse(10).toString();
const members: MultiSigMember[] = [
{ type: "Account", accountId: account.accountId },
{ type: "Account", accountId: account1.accountId },
];
const payload = await multisigFactory.createMultiSigAccount({ name, members, numberOfConfirmations, amount });
const results = await wallet.signAndSendTransactions(cancelPayload);