getCode instead of balance

This commit is contained in:
Bryan Stitt 2022-07-09 04:28:23 +00:00
parent 290da41f12
commit 856f4e8e86
2 changed files with 2 additions and 1 deletions

@ -100,3 +100,4 @@
- [ ] flashbots specific methods
- [ ] flashbots protect fast mode or not? probably fast matches most user's needs, but no reverts is nice.
- [ ] https://docs.flashbots.net/flashbots-auction/searchers/advanced/rpc-endpoint#authentication maybe have per-user keys. or pass their header on if its set
- [ ] if no redis set, but public rate limits are set, exit with an error

@ -199,7 +199,7 @@ impl Web3Connection {
.wait_for_request_handle()
.await
.request(
"eth_getBalance",
"eth_getCode",
("0xdead00000000000000000000000000000000beef", "0x1"),
)
.await;