Function createMultisig

  • Create and initialize a new multisig

    Parameters

    • connection: Connection

      Connection to use

    • payer: Signer

      Payer of the transaction and initialization fees

    • signers: PublicKey[]

      Full set of signers

    • m: number

      Number of required signatures

    • keypair: Keypair = ...

      Optional keypair, defaulting to a new random one

    • Optional confirmOptions: ConfirmOptions

      Options for confirming the transaction

    • programId: PublicKey = TOKEN_PROGRAM_ID

      SPL Token program account

    Returns Promise<PublicKey>

    Address of the new multisig

Generated using TypeDoc