is there any documentation of where and how many archieval nodes are running,
and how to access them?
I had some requests already from developers who wanted to clone the mainnet using hardhat,
which should work in theory, that results in an error, which is known to happen when not accessing an archieval node.
In order to have information of our balance in older blocks (for tax return purpose for example) we are having similar issues.
Due that this information is not in the current API or explorer.harmony.one, it will be really interesting if we can query archieval/explorer nodes to get this information.
Either I’m misunderstanding the question or you are looking for “https://a.api.s0.t.hmny.io/”. Works fine for me at least using the “hmyv2_call” method.
I do not think they have historical data in the nodes. Maybe I am wrong but I have not found anything. You will need to maintain your own and maybe have an EDW structure of it. I am looking at making some data viz but the scope will be for real time as I do not know if there is the data. Of course I will try to maintain my own historical data. You can also use the transactions to do a historical database I think. I have noticed tho, there is the epoch chart on the staking page of harmony for each validators. This one has total number of delegations for the previous epochs, I am wondering why they get this data from.
If you want to query for the latest data, you can use the python library. An example is below:
from pyhmy import staking
main_net = 'https://rpc.s0.t.hmny.io'
all_validators = staking.get_all_validator_addresses(endpoint=main_net)
for i in all_validators:
validator_information = staking.get_validator_information(i, endpoint=main_net)
print(validator_information)