How to Connect to Cosmos
It’s easy to connect to your Cosmos infrastructure.
If you haven’t already configured any Cosmos infrastructure, visit the Cosmos marketplace page to learn more about Blockdaemon’s Cosmos options.
In this guide, we will cover the following simple method of connection to your infrastructure:
How to access Your Blockdaemon Cosmos Credentials
Once you have purchased your Blockdaemon Cosmos infrastructure, you can access your credentials:
- Log into the Blockdaemon app.
- In the Blockchain Access menu, click Nodes.
- Click the Cosmos node.
- Click the Connect tab.
In the Connection Information area, you’ll find the following:
- Your Endpoint URL
- Your Auth Token
How to Connect to Cosmos Rest API with cURL
Here’s how you add your access credentials to a cURL request:
REST curl -X GET -H 'Content-Type: application/json' 'https://YOUR_ENDPOINT_URL/cosmos_rest/node_info?auth=YOUR_AUTH_TOKEN'