# Activating a Transaction

In order for the mulltisig to approve or reject a transaction, the transaction must be activated by switching the status to "Active". Only the creator of a transaction can change the state to Active, and once activated it is no longer possible to change instruction data attached to the transaction.

```
  // the member/creator
  const creator = wallet.publicKey;
  
  // acitvate the tx
  await program.methods.activateTransaction()
           .accounts({
                multisig,
                transaction,
                creator
           })
           .rpc();
```


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.squads.so/main/squads-legacy/development/anchor-idl/transactions/activating-a-transaction.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
