> ## Documentation Index
> Fetch the complete documentation index at: https://developers.squads.so/llms.txt
> Use this file to discover all available pages before exploring further.

# UseTransfers

```ts theme={null}
function useTransfers(options): UseTransfersResult;
```

Hook for fetching account transfer history with pagination and filtering

Fetches transfer history including both Bridge transfers (fiat-to-crypto) and
SPL token transfers (on-chain Solana). Supports cursor-based pagination with
automatic caching and background updates.

Supports pagination (limit), filtering (status, paymentRail, currency, date ranges), and manual refetch.

## Parameters

| Parameter | Type                                                                                                  | Description                                                            |
| --------- | ----------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------- |
| `options` | [`UseTransfersOptions`](/grid/v1/sdk-reference/react/reference/latest/interfaces/UseTransfersOptions) | Configuration options for transfer fetching, filtering, and pagination |

## Returns

[`UseTransfersResult`](/grid/v1/sdk-reference/react/reference/latest/interfaces/UseTransfersResult)

Transfer data with loading, error, and pagination states

## Example

```tsx theme={null}
import { useTransfers } from '@sqds/grid-react';

function TransferHistory() {
  const { transfers, isLoading, error } = useTransfers();

  if (isLoading) return <div>Loading...</div>;
  if (error) return <div>Error: {error.message}</div>;

  return (
    <ul>
      {transfers.map(transfer => (
        <li key={transfer.id}>{transfer.createdAt}</li>
      ))}
    </ul>
  );
}
```
