# `getPendingTransactions`

Returns the list of multi-signature transactions that are waiting for the confirmation of the Safe owners.

## Usage


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

    const safeAddress = '0x...'      
    const options = {
      currentNonce: 0,
      hasConfirmations: true,
      ordering: 'created',
      limit: 10,
      offset: 10
    }

    const pendingTxs = await apiKit.getPendingTransactions(safeAddress, options)      
    ```
  </Tabs.Tab>
  <Tabs.Tab>
    ```typescript
    import SafeApiKit from '@safe-global/api-kit'

    // How to get an Api key => http://docs.safe.global/core-api/how-to-use-api-keys
    export const apiKit = new SafeApiKit({
      chainId: 1n, // Mainnet
      apiKey: 'YOUR_API_KEY'
    })
    ```
  </Tabs.Tab>
</Tabs>


## Returns

`Promise<SafeMultisigTransactionListResponse>`

The list of transactions waiting for the confirmation of the Safe owners.

## Parameters

### `safeAddress`

- **Type:** `string`

The Safe address.

```typescript focus=2
const pendingTxs = await apiKit.getPendingTransactions(
  '0x...'
)
```

### `options.currentNonce` (Optional)

- **Type:** `number`

The current nonce of the Safe.

### `options.hasConfirmations` (Optional)

- **Type:** `boolean`

Filter transactions with al least one confirmation.

### `options.ordering` (Optional)

- **Type:** `string`

The field used to sort the results.

### `options.limit` (Optional)

- **Type:** `number`

The number of results to return per page.

### `options.offset` (Optional)

- **Type:** `number`

The initial index from which to return the results.
