Hi Kyu,
I didn’t hear back but wanted to show more guidance on how to use and examples that you can do as this cluster is available for anyone to use. There is no need to have the end user have an auth token, the user will just need to use the URL plus port(s) to use the correct endpoints on the cluster. Here are some examples of how you can use the end points:
Base URL:
https://blockdaemon-terra-lcd.api.bdnodes.net/
Tendermint Endpoints
URL for Tendermint endpoints:
https://blockdaemon-terra-lcd.api.bdnodes.net:26657
To see a list of endpoints that are supported in our cluster the user will need to visit the following URL: https://blockdaemon-terra-lcd.api.bdnodes.net:26657/
Note that not all official endpoints are supported on our cluster so if you do not see it in the above output, please reach out to us and we can look into it and let you know how we can assist.
If you need information on the endpoints you can look at the official docs found here: Tendermint RPC
Example of how to use the endpoints:
Get Block info
REST API (works on browsers)
https://blockdaemon-terra-lcd.api.bdnodes.net:26657/block?height=6311484
RPC equivalent (does not work on browser)
For reference above: curl -X POST ‘https://blockdaemon-terra-lcd.api.bdnodes.net:26657’ --header ‘Content-Type: application/json’ --data-raw ‘{“jsonrpc”: “2.0”,“method”: “block”, “params”: [“6311484”], “id”: 1}’
Number of unconfirmed Transaction
REST API (works on browsers)
https://blockdaemon-terra-lcd.api.bdnodes.net:26657/num_unconfirmed_txs
RPC equivalent (does not work on browser)
For reference above: curl -X POST ‘https://blockdaemon-terra-lcd.api.bdnodes.net:26657’ --header ‘Content-Type: application/json’ --data-raw ‘{“jsonrpc”: “2.0”,“metod”: “num_unconfirmed_txs”, “params”: [], “id”: 1}’
Check validators at specific height
REST API (works on browsers)
https://blockdaemon-terra-lcd.api.bdnodes.net:26657/validators?height=6311484
RPC equivalent (does not work on browser) - for this RPC example you will need to pass all parameters into your call
For reference above: curl -X POST ‘https://blockdaemon-terra-lcd.api.bdnodes.net:26657’ --header ‘X-Auth-Token;’ --header ‘Content-Type: application/json’ --data-rw ‘{“jsonrpc”: “2.0”,“method”: “validators”, “params”: [“6311484”,“1”,“30”], “id”: 1}’
LCD Endpoints
URL for LCD Rest Endpoints
https://blockdaemon-terra-lcd.api.bdnodes.net:1317
There is no endpoint that gives you the list of supported endpoints for LCD but the official documentation can be found here: Swagger UI
Example on how to use endpoints:
Get Node info using Terra Rest
REST API (works on browser)
https://blockdaemon-terra-lcd.api.bdnodes.net:1317/node_info
There is no RPC equivalent
Get block height info using Tendermint Rest
REST API (Works on browser)
https://blockdaemon-terra-lcd.api.bdnodes.net:1317/blocks/6311484
There is no RPC equivalent
Query to view validator info, Blockdaemon is used an example
REST API (works on browser)
https://blockdaemon-terra-lcd.api.bdnodes.net:1317/cosmos/staking/v1beta1/validators/terravaloper155x8vngnz4u2ce3fs6dvu027v8w90jqdjtdp3h
There is no RPC equivalent
Query the exchange rate of a denomination, denomination UUSD used in this example
REST API (works on browser)
https://blockdaemon-terra-lcd.api.bdnodes.net:1317/terra/oracle/v1beta1/denoms/uusd/exchange_rate
There is no RPC equivalent
I hope this helps and please again reach out for any questions!