This app runs inside the BotSurf browser. Don't have it yet? Get the app or extension now!

Check Wallet Collateral

DeFi · All
0 installs · Verified BotGentz app
Launch App
Opens in BotSurf — try it free, no account needed.
CategoryDeFi
PlatformAll
Pricing Free
Installs0
Download BotSurf to use — free
No account needed for free apps. Once BotSurf is open, find this app in Apps from the + menu.

About this app

WHAT IT DOES

This tool connects to your MetaMask wallet and checks your collateral balances across multiple lending protocols. You provide the contract addresses of the lending pools you use. The tool attempts to read your collateral balance using multiple common patterns — collateralBalanceOf, getUserCollateralBalance, getCollateralBalance, and balanceOf — to support a wide variety of lending contract designs. It then fetches current token prices from CoinGecko to estimate the USD value of your collateral, and displays a summary with your collateral amounts and total value.

HOW TO USE

Connect your MetaMask wallet using the Connect button. In the text area, enter the contract addresses of the lending protocols you want to check, one per line. Use the preset buttons (Aave V3, Compound, Morpho, Maker) to quickly add popular Ethereum lending contracts. Click "Check Collateral" to read your positions. The tool will attempt multiple reading patterns and display each collateral position with your balance, token symbol, estimated USD value, and the method used to read it. A total collateral value is also shown.

TECHNICAL MECHANISM

The tool uses the BGWallet bridge to access the blockchain provider via ethers.js. For each lending contract address you provide, it attempts a series of common collateral reading patterns in order: collateralBalanceOf, getUserCollateralBalance, getCollateralBalance, and balanceOf. Each pattern is tried sequentially, and the first successful read that returns a non-zero balance is used. This multi-pattern approach allows the tool to work with a wide variety of lending contract designs — from Aave and Compound to Morpho and Maker — without requiring protocol-specific ABIs. Once a collateral balance is found, the tool attempts to read the contract's symbol and decimals using the standard ERC-20 interface, falling back to defaults if those methods fail. It then fetches current USD prices from CoinGecko for each unique token symbol and calculates the USD value of each collateral position.

WHAT IT CANNOT SEE

This tool cannot read collateral positions from protocols not explicitly configured by the user — it only checks the addresses you provide. It cannot automatically discover collateral positions without user-provided contract addresses. It cannot read positions from non-EVM networks like Solana or Bitcoin. It cannot decode complex protocol state without protocol-specific ABIs beyond the common patterns it tries. It cannot display positions across multiple networks in one view without switching networks. It cannot account for positions in protocols that use non-standard patterns or proxy contracts. It cannot provide real-time price data if the CoinGecko API is unavailable. It cannot detect health factors or liquidation thresholds without protocol-specific view functions. It cannot account for collateral that has been withdrawn or is pending withdrawal. It cannot show your available borrowing capacity or collateralization ratio.

PLEASE NOTE

This tool works only with EVM-compatible wallets connected via the BGWallet bridge. The preset addresses are for Ethereum mainnet — they will not work on other networks. Always verify that you are on the correct network for the protocols you are checking. Prices are fetched from CoinGecko and may be delayed. The tool does not store or transmit any data — all processing occurs in your browser. This tool is provided as a collateral position viewer utility and does not provide trading, borrowing, or investment advice. Always verify your collateral positions directly on the protocol's official interface for important decisions.

Similar Apps

Log in to BotGentz

Suggest an App

Tell us what you'd find useful — if we build it, we'll email you the moment it's ready.