Interacting With Polaris Ethereum via REST
Polaris Ethereum extends the base functionality of the Cosmos-SDK for querying via REST. To learn more about querying the node via REST, see here (opens in a new tab).
Swagger Open API Specification
Polaris Ethereum supports the Swagger API, which is a specification for describing RESTful APIs. The Swagger API is available at the following endpoints
Network | Swagger Url |
---|---|
Local Node | Coming Soon |
Testnet | Coming Soon |
Mainnet | Coming Soon |
Base Cosmos-SDK Open API Specification
Cosmos supports the Swagger API, which is a specification for describing RESTful APIs. To view the Cosmos-SDK Swagger API, see here (opens in a new tab)
The above link will point towards the Cosmos Hub. To point towards your Polaris Ethereum Endpoint and
test the base cosmos-sdk module endpoints Change Base URL
to point towards your desired endpoint for testing purposes.
Enabling Unsafe Cors
Disable unsafe CORS if deploying to an external network.
If querying a local node, you will need to enable unsafe CORS.