harmony icon indicating copy to clipboard operation
harmony copied to clipboard

How to query address balance in all shards through RPC

Open leezijie opened this issue 2 years ago • 3 comments

I can query all balances through the hwy-cli,connected to the main network node I set up locally, and the data synchronization is not complete.But can query the latest data.

Why is it not possible to query a node directly through RPC? Why?

image

leezijie avatar Apr 21 '22 11:04 leezijie

Is there something like a gateway that pulls all the data together

leezijie avatar Apr 21 '22 11:04 leezijie

./hmy -n "https://api.s0.t.hmny.io/" balances address ?

Frozen avatar Apr 21 '22 15:04 Frozen

./hmy -n "https://api.s0.t.hmny.io/" balances

image The result is the same

leezijie avatar Apr 22 '22 01:04 leezijie