This is a simple NodsJS Express server to fetch information on Syscoin.
Host: https://info.syscoin.org/
- This returns total supply calculated on both UTXO and NEVM blockchain in plaintext.
- Normally total supply is calculated and recorded when new block hash is detected.
- This endpoints acts as manual trigger in calculation.
- This is a health check endpoint. Useful for monitoring if API is running.
- Dockerized version of the Syscoin Daemon
- JSON RPC is used by the API in retrieving UTXO supply
SYSCOIN_CORE_RPC_HOST
ex.localhost
SYSCOIN_CORE_RPC_PORT
ex.8370
SYSCOIN_CORE_RPC_PASSWORD
- password for auth to RPCSYSCOIN_CORE_RPC_USERNAME
- username for auth to RPC
You can generate password and username:
curl -sSL https://raw.githubusercontent.com/syscoin/syscoin/master/share/rpcauth/rpcauth.py | python - <username>
For more information you can check it here: https://github.com/syscoin/docker-syscoin-core#usage