Users
Get Wallet Balance
Retrieve the authenticated user’s wallet balance from the blockchain
GET
Retrieves the user’s wallet balance from the blockchain using their wallet address. The endpoint follows a fallback strategy, first attempting to fetch USDC balance, then ETH, and finally any other non-zero balance.
Request Headers
Your API key for authentication
Response
Whether the balance retrieval was successful
Current wallet balance formatted as a string to preserve precision
Asset type (USDC, ETH, or other cryptocurrency)
Additional information about the balance retrieval (appears when balance fetching methods fail)
Status Codes
Status Code | Description |
---|---|
200 | Wallet balance retrieved successfully |
400 | Bad Request - Invalid wallet address format |
401 | Unauthorized - Invalid or missing API key |
500 | Unexpected error |
Notes
- Requires authentication with a valid API key.
- The endpoint uses a fallback strategy: first checks USDC, then ETH, and finally any other non-zero balance.
- Balance is returned as a string to preserve precision for financial calculations.
- If all balance fetching methods fail, the API will return a successful response with a zero balance and an explanatory message.