# `getIncomingTransactions`

Returns the history of incoming transactions of a Safe account.

## Usage


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

    const safeAddress = '0x...'
    const options = {
      _from: '0x...',
      limit: 10,
      offset: 10
    }

    const incomingTxs = await apiKit.getIncomingTransactions(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<TransferListResponse>`

The history of incoming transactions.

## Parameters

### `safeAddress`

- **Type:** `string`

The Safe address.

```typescript focus=2
const incomingTxs = await apiKit.getIncomingTransactions(
  '0x...'
)
```

### `options.from` (Optional)

- **Type:** `string`

The transaction sender address.

### `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.
