Check Wallet Profit/Loss
Free to download on every platform. Comes pre-installed on BotFone, BotPad and BotFlip — with extra free apps included.
About this app
WHAT IT DOES
This tool connects to your MetaMask wallet and estimates your profit and loss by analyzing incoming and outgoing transfers. It scans a configurable block range for transactions involving your wallet, identifies transfers to and from your address, and values them using historical ETH price data at the time of each transaction. The tool then calculates total incoming value, total outgoing value, and your estimated net profit or loss. All data is processed locally — the only external call is to CoinGecko for historical price data.
HOW TO USE
Connect your MetaMask wallet using the Connect button. Enter the number of recent blocks to scan (default 3000) — larger values find more transfers but take longer. Click "Analyze P&L" to start the scan. The tool will show progress as it scans blocks in chunks. Once complete, you'll see a summary with total incoming value, total outgoing value, estimated P&L, and percentage change. Individual transfers are listed with their type (in/out), amount, and estimated USD value at the time of the transaction.
TECHNICAL MECHANISM
The tool uses the BGWallet bridge to access the blockchain provider via ethers.js. It implements a robust chunked scanning strategy to handle varying RPC eth_getLogs limits — when the RPC returns a "limit exceeded" error, the tool halves the chunk size and retries, ensuring scanning completes even on restrictive providers. For each transaction hash found, it fetches the full transaction and receipt, extracting the ETH value transferred and the block number. It then fetches the block timestamp to determine when the transfer occurred. For each transfer, it queries CoinGecko's historical price API for the ETH price on that date, and multiplies the transfer amount by the price to get an estimated USD value. Total incoming and outgoing values are summed, and P&L is calculated as incoming minus outgoing.
WHAT IT CANNOT SEE
This tool cannot provide accurate P&L without historical price data for every token at every transaction time — it only uses ETH price data. It cannot account for fees beyond gas (exchange fees, slippage, trading fees). It cannot detect off-chain trades or transfers that occur outside the blockchain. It cannot account for tokens received via airdrops, mining rewards, or staking without transaction value. It cannot read transaction history beyond the RPC provider's block range limits. It cannot account for tokens that have been bridged or swapped across chains. It cannot determine cost basis for tokens received without price data. It cannot distinguish between trading activity and personal transfers. It cannot account for NFTs or other digital assets. It cannot provide tax-specific profit calculations.
PLEASE NOTE
This tool works only with EVM-compatible wallets connected via the BGWallet bridge. The P&L calculation is an estimate and should not be used for tax reporting or investment decisions. Historical price data is fetched from CoinGecko's public API, which may have rate limits or be unavailable. The tool does not store or transmit any data — all processing occurs in your browser. This tool is provided as a utility for understanding your wallet's historical transfer activity and should be used alongside comprehensive portfolio tracking tools for accurate financial analysis.