简体   繁体   中英

How can I get the balance information across multiple mainnets?

I am trying to fetch balance data of multiple chain.

For example, I want my react webapp to display the balance of ether, polygon, etc. for the connected user.

How can I achieve this? I would appreciate your help:)

Each chain provides its own P2P, nodes and JSON-RPC API endpoints. You need to connect to all API endpoints simultaneously and query each chain individually.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM