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

# UseTransfer

```ts theme={null}
function useTransfer(): UseTransferResult;
```

Hook for executing token transfers using Grid SDK

Works with both email and passkey authentication. Automatically detects
the authentication method and uses the appropriate signing flow.

## Returns

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

## Example

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

function SendMoney() {
  const { transfer, isLoading, signature, error } = useTransfer();

  const handleSend = async () => {
    await transfer({
      to: "9ajD8h...f0bEb",
      amount: "1000000",
      currency: "usdc"
    });
  };

  if (signature) return <div>Success! Signature: {signature}</div>;
  return <button onClick={handleSend} disabled={isLoading}>Send</button>;
}
```
