This documentation is a work in progress. More details to follow.
json/snrinfo/
Used to sync multiple explorers to the SNR master so they are all show the same info.
json/state/1.2.3.4
1.2.3.4 is announced address, returns node state (ONLINE=1 UNREACHABLE=2 SYNC=3 STUCK=4 FORKED=5).
json/nodeinfo/1.2.3.4
1.2.3.4 is announced address, returns node details.
json/accounts/
Returns top 10 richest accounts.
Don't forget to create these indexes:
CREATE INDEX transaction_height_timestamp ON transaction(height, timestamp);
CREATE INDEX asset_height ON asset(height);
CREATE INDEX account_latest ON account(latest);