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

# getFirstTopup

Get the first topup (deposit) information for a wallet including date and amount.

## Signature

```typescript theme={null}
getFirstTopup(walletAddress: string, chainId: number): Promise<FirstTopupResponse>
```

## Parameters

| Parameter       | Type     | Required | Description          |
| --------------- | -------- | -------- | -------------------- |
| `walletAddress` | `string` | ✅        | Smart wallet address |
| `chainId`       | `number` | ✅        | Chain ID             |

## Returns

First topup date and details

## Return Type

```typescript theme={null}
interface FirstTopupResponse {
  success: boolean;
  walletAddress: string;
  date: string;
  amount?: string;
  chainId?: number;
}
```

## Example

```typescript theme={null}
const firstTopup = await sdk.getFirstTopup("0x...", 8453);
console.log("First deposit date:", firstTopup.date);
console.log("Amount:", firstTopup.amount);
```
