debank_get_user_balance
Get the total USD value of a wallet across all chains or filter by a specific chain using DeBank.
Instructions
Get user's total balance or chain-specific balance from DeBank.
This tool retrieves comprehensive portfolio data for a wallet address, including total balance across all chains or balance on a specific chain.
Args: address: User's wallet address (required, must start with 0x) chain_id: Optional chain ID. If provided, returns balance on that chain. If None, returns total balance across all chains. Examples: "eth", "bsc", "polygon", "arbitrum"
Returns: Balance information: - If chain_id is None: { "total_usd_value": 123456.78, "chain_list": [ { "id": "eth", "usd_value": 98765.43 }, ... ] } - If chain_id is specified: { "usd_value": 98765.43, "chain": "eth" }
Examples: - Get total balance: debank_get_user_balance( address="0x5853ed4f26a3fcea565b3fbc698bb19cdf6deb85" ) - Get Ethereum balance: debank_get_user_balance( address="0x5853ed4f26a3fcea565b3fbc698bb19cdf6deb85", chain_id="eth" ) - Get BSC balance: debank_get_user_balance( address="0x5853ed4f26a3fcea565b3fbc698bb19cdf6deb85", chain_id="bsc" )
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| address | Yes | ||
| chain_id | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||