This repository was archived by the owner on Mar 5, 2025. It is now read-only.
Replies: 1 comment
-
Yes, you can intercept and log requests made through Web3.js by creating a custom provider wrapper around HttpProvider. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I'm looking for a way to intercept requests made through this library so I can capture the request being made to forward to Datadog to debug some slow network calls.
Is there any way to do this? I suspect creating a custom provider is somewhere in the right direction as I saw in this discussion: #5025 but I'm kind of stuck from there as I don't see any way to do that within the
Web3.providers.HttpProvider
class.Beta Was this translation helpful? Give feedback.
All reactions