Get Wallet Address
Get your deposit wallet address.
GET/api/1/b2b/wallet
Request
curl -X GET "https://api.sproutfi.xyz/api/1/b2b/wallet" \
-H "Authorization: Bearer YOUR_API_KEY"Response
{
"code": 0,
"msg": "success",
"data": {
"wallet_address": "0x1234567890abcdef1234567890abcdef12345678",
"currency": "USDC",
"chain": "Base"
}
}Response Fields
| Parameter | Type | Description |
|---|---|---|
wallet_address | string | Your Sprout wallet address on Base |
currency | string | Currency to send (always USDC) |
chain | string | Blockchain network (always Base) |
How Deposits Work
This endpoint returns your wallet address for deposits. Simply transfer USDC to this address on Base chain. The deposit will be automatically detected and credited to your account.
Deposit Flow
- Call this endpoint to get your wallet address
- Transfer USDC to the wallet address on Base chain
- Deposit is automatically detected (1-2 minutes)
- Check your balance using
GET /api/1/b2b/balance
Important
- Only send USDC - other tokens will not be credited
- Only use Base chain (Chain ID: 8453)
- USDC contract:
0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913