Track your UserOp Request
In any of the payment methods, when using Gelato Bundler
, if you call the eth_sendUserOperation
API endpoint, the returned userOpHash
can also be used to track the status of the UserOperation through Gelato’s infrastructure like this:
Additionally, you can debug the UserOperation using the status
API on Tenderly like this:
You can make use of the debug endpoint by adding the following parameters:
tenderlyUsername
tenderlyProjectName
The request URL should look like this:
After running the above command, you can use the link of tenderly simulation in the response to debug the UserOperation.
Using WebSocket API
Additionally, you can also use the WebSocket
API to subscribe to the status updates of the UserOperation like this:
You can interact with the websocket API directly by connecting to this endpoint:
Once connected, you can subscribe to updates using userOpHash of your submitted userOperations by sending messages like this:
To unsubscribe from updates: