# `getOwnersWhoApprovedTransaction`

Returns the list of owners who signed a given Safe transaction.

## Usage


<Tabs items={['example.ts', 'setup.ts']}>
  <Tabs.Tab>
    ```typescript
    import { safeClient } from './setup.ts'

    const safeTxHash = '0x...'

    const owners = safeClient.getOwnersWhoApprovedTransaction(safeTxHash)
    ```
  </Tabs.Tab>
  <Tabs.Tab>
    ```typescript
    import { createSafeClient } from '@safe-global/sdk-starter-kit'

    export const safeClient = await createSafeClient({
      provider,
      signer,
      safeAddress: '0x...'
    })
    ```
  </Tabs.Tab>
</Tabs>


## Returns

`Promise<string[]>`

The list of owners who signed a given Safe transaction hash.

## Parameters

### `safeTxHash`

- **Type:** `string`

The Safe transaction hash to check.

```typescript focus=2
const owners = safeClient.getOwnersWhoApprovedTransaction(
  '0x...'
)
```
