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

real BGWallet.connect() instead.

Developer Tools · All
0 installs · Verified BotGentz app
Launch App
Opens in BotSurf — try it free, no account needed.
CategoryDeveloper Tools
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 monitors and validates BGWallet API calls on the page, specifically detecting when BGWallet.connect() and other API methods are called directly instead of using reimplemented bridge code. It shows each BGWallet API call with its method name, parameters, return value, timestamp, and caller context. It tracks all connection state changes including connect, disconnect, switchNetwork, subscribe, isConnected, getAddress, getChainId, getState, getProvider, getSigner, on, once, off, and emit calls. The call history is displayed with success/failure status, error messages, and timing information. A search filter lets you find specific API calls by method name, status, or content. You can copy individual call details or the entire call history to your clipboard. The inspector mode lets you click any wallet-related element on the page to see a report of the BGWallet API call history and summary statistics. This tool helps developers verify that they are correctly using the real BGWallet API rather than custom reimplementations, and provides full visibility into BGWallet method usage, behavior, and performance.

WHERE IT RUNS

The script runs on every website and web application you visit. It works with any BGWallet implementation injected into the page, regardless of framework—React, Vue, Angular, Svelte, or plain HTML. It wraps the BGWallet API methods using method interception and does not modify the underlying behavior of the API.

HOW TO USE

Upon installation, a floating panel appears with the tool interface. The panel shows a status indicator (monitoring active/inactive), a search box, a call count, and the call history. Click "Start Monitoring" to begin intercepting BGWallet API calls. Once monitoring is active, all BGWallet method calls are recorded and displayed in the panel. Each call entry shows a status dot (green for success, red for error), call ID, method name, timestamp, parameters, return value or error message, and caller location. Use the search box to filter calls by method name, parameters, result, or error message. Click "Clear" to clear the call history. Click "Copy All" to copy the entire call history to your clipboard. Click "Inspect" to enter inspector mode, then click any wallet-related element on the page to see a report of the call history and summary statistics. Click "Inspect" again or press Escape to exit inspector mode.

TECHNICAL MECHANISM: METHOD INTERCEPTION WITH WRAPPER GENERATION

This tool uses method interception to monitor BGWallet API calls. When "Start Monitoring" is clicked, it wraps each BGWallet method with a wrapper function that captures call details. For each tracked method, the wrapper preserves the original method's behavior while adding logging: it captures the method name, arguments, timestamp, and caller location (from the stack trace). For asynchronous methods (those returning Promises), the wrapper attaches then/catch handlers to capture the resolution value or rejection error along with execution timing. The wrapper ensures that the original method's return value and behavior are unchanged, making the monitoring completely non-invasive. All captured calls are stored in memory with a limit of 100 entries and displayed in the panel with real-time updates.

THE PANEL

The panel is fully draggable and remembers its position per website using GM_setValue. It automatically snaps to the nearest screen edge when released for a clean workspace. Click the collapse button to minimize it to a small floating bubble that takes minimal space. Click the bubble to expand the panel back. The panel can be resized by dragging any edge or corner. Press the Escape key to close the panel temporarily, and click the extension icon to reopen it.

PLEASE NOTE

This script requires the free BotGentz extension to function. As websites frequently update their structure and wallet integration patterns, scripts may need occasional updates to maintain compatibility. All data processing happens locally in your browser—no information about your pages, API calls, or browsing habits is ever transmitted or stored externally. The tool intercepts BGWallet methods solely for the purpose of monitoring and debugging, and does not modify or persist any page data. This tool is designed for debugging and development purposes only. The call history is limited to 100 entries to prevent memory issues.

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.