> For the complete documentation index, see [llms.txt](https://docs.cashmere.finance/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.cashmere.finance/reference/idl-methods/execute-transaction.md).

# Execute Transaction

```javascript
// fetch the transaction account holding the 
// instruction to be executed
const txAccountRemainingAccounts = await multisigProgram.account.transaction.fetch(txAccountPublicKey);

// execute a signed transaction with the current provider wallet  
await program.rpc.executeTransaction({
    accounts: {
      multisig: multisigPublicKey,
      multisigSigner: multisigSigner,
      transaction: txAccountPublicKey,
      owner: provider.wallet.publicKey,
    },
    // the accounts that are needed by the instruction
    // to be executed
    // need to be in the correct order
    remainingAccounts: txAccount.accounts,
    signers: [provider.wallet.publicKey]
  });
```
