Repo for ETHBruxelles 2024 hackathon project.
Live URL: https://polyscout.vercel.app
ETHGlobal project: https://ethglobal.com/showcase/polyscout-en58q
Base URL: https://polyscout.vercel.app/api/
The backend provides a few APIs merging blockscout responses for each networks into one.
Supported API calls:
GET /addresses/{address}GET /addresses/{address}/transactionsGET /transactions
flowchart LR
B1[Blockscout Ethereum] --> P{PolyScout\n Merge }
B2[Blockscout Optimism] --> P
B3[Blockscout LUKSO] --> P
B4[Blockscout Base] --> P
BN[Blockscout Network N...] --> P
P --> C[Multichain API 😇]
Source: src/services/blockscout.ts
- Improve cache and loading by using Tanstack Query
- Allow users to select specific networks when querying APIs
- The copy button in the ENS docs on docs pages (like this one) doesn't work, the copied text is "undefined".
- The code snippet on this page relies on a "ens-core" import that I couldn't find/install.
- On that same previous page, if you reuse the code snippet, you will get the following error:
Type 'GetEnsNameReturnType | undefined' is not assignable to type 'string | undefined'.
Type 'null' is not assignable to type 'string | undefined'