User Data
getFirstTopup
Get the first topup (deposit) information for a wallet including date and amount.
Documentation Index
Fetch the complete documentation index at: /llms.txt
Use this file to discover all available pages before exploring further.
getFirstTopup(walletAddress: string, chainId: number): Promise<FirstTopupResponse>
| Parameter | Type | Required | Description |
|---|---|---|---|
walletAddress | string | ✅ | Smart wallet address |
chainId | number | ✅ | Chain ID |
interface FirstTopupResponse {
success: boolean;
walletAddress: string;
date: string;
amount?: string;
chainId?: number;
}
const firstTopup = await sdk.getFirstTopup("0x...", 8453);
console.log("First deposit date:", firstTopup.date);
console.log("Amount:", firstTopup.amount);