We’ve introduced UI Logs for Smart Wallet SDK requests!
- You can now track all your requests directly in the dashboard, and easily debug failed requests using built-in Tenderly simulations.
- Additionally, you can view details such as response time, request body, response body, and more.
Debugging Failed Requests Using UI Logs
You can use the UI logs to debug failed requests directly from the Gelato app. These logs are available in the Paymaster & Bundler section of the dashboard.
This debug feature is currently available only for
wallet_preparedCalls
endpoint of Smart Wallet SDK.Steps to Debug
- Go to the logs section and locate your failed
wallet_preparedCalls
request. - On the right side of the log entry, click the Debug button.
- A new option, View Debug, will appear. Click it.
- This will open a Tenderly simulation, which you can use to analyze and debug the failed request.
Using Status API
In any of the payment methods, when usingSmart Wallet SDK
, if you call the wallet_sendPreparedCalls
API endpoint, the returned Id
can also be used to track the status of the request through Gelato’s infrastructure like this:
status
API on Tenderly like this:
You can make use of the debug endpoint by adding the following parameters:
tenderlyUsername
tenderlyProjectName
Using WebSocket API
Additionally, you can also use theWebSocket
API to subscribe to the status updates of the request like this:
You can interact with the websocket API directly by connecting to this endpoint: