> For the complete documentation index, see [llms.txt](https://polkasafe.gitbook.io/polkasafe-sdk/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://polkasafe.gitbook.io/polkasafe-sdk/guides-and-tutorials/approve-transaction.md).

# Approve Transaction

The SDK supports the approval process for multisig transactions. Developers can use the SDK to initiate the approval of a pending transaction by other signatories associated with the multisig wallet.

```typescript
const multisigAddress = '...'; 
const callHash = '...' // trasaction callHash
const callData = '...' // trasaction callData

const requestType = 'proxy' // requestType can be 3 types 'proxy'| 'wallet' | 'edit_proxy'

// A function that takes a single parameter.
const eventGrabber = (message)=>{
    // use message to track transaction progress and events using eventGrabber for real-time visibility
    console.log(message)
}

const { data, error } = await client.approveTransaction(multisigAddress, callHash, callData, requestType, eventGrabber);

if (data){
    console.log(data)
    // use your data
}
else if(error){
    console.log(error)
}
```

#### Response Data

```json
{
  "status": 200,
  "message": "Transaction Successful"
}
```

[Generic Error](/polkasafe-sdk/guides-and-tutorials/generic-errors.md)
