Approve Transaction

Example code to programmatically approve a transaction

// approve a transaction with the current provider wallet
const approveTransactionIx = multisigProgram.rpc.approve({
    accounts: {
      multisig: multisigPublicKey,
      transaction: txAccountPublicKey,
      owner: provider.wallet.publicKey,
    },
    signers: [provider.wallet.publicKey]
  });

Last updated