# Function createVerifySignaturesInstructions

- createVerifySignaturesInstructions(connection, wormholeProgramId, payer, vaa, signatureSet, commitment?): Promise<TransactionInstruction[]>

- This is used in createPostSignedVaaTransactions's initial transactions.

  Signatures are batched in groups of 7 due to instruction data limits. These signatures are passed through to the Secp256k1 program to verify that the guardian public keys can be recovered. This instruction is paired with `verify_signatures` to validate the pubkey recovery.

  There are at most three pairs of instructions created.

  https://github.com/certusone/wormhole/blob/main/solana/bridge/program/src/api/verify_signature.rs

  #### Parameters

  - ##### connection: Connection

    Solana web3 connection

  - ##### wormholeProgramId: PublicKeyInitData

    wormhole program address

  - ##### payer: PublicKeyInitData

    transaction signer address

  - ##### vaa: VAA<any>

    either signed VAA bytes or parsed VAA (use parseVaa on signed VAA)

  - ##### signatureSet: PublicKeyInitData

    address to account of verified signatures

  - ##### `Optional` commitment: Commitment

  #### Returns Promise<TransactionInstruction[]>

  - Defined in utils/instructions/verifySignature.ts:43

Generated using TypeDoc