How to Connect to Evmos

Learn how easy it is to connect to the Evmos blockchain with Blockdaemon.

It's easy to connect to your Evmos infrastructure.

If you haven't already configured any Evmos infrastructure, visit the Evmos marketplace page to learn more about Blockdaemon's Evmos options.

In this guide, we will cover the following simple methods of connection to your infrastructure:


How to access Your Blockdaemon Evmos Credentials

Once you have purchased your Blockdaemon Evmos infrastructure, you can access your credentials:

  1. Log into the Blockdaemon app.
  2. In the Blockchain Access menu, click Nodes.
  3. Click the Evmos node.
  4. Click the Connect tab.

In the Connection Information area, you'll find the following:

  • Your Endpoint URL
  • Your Auth Token

Evmos ETH RPC Connection via cURL

curl -X POST -H "Content-Type: application/json" --data '{"jsonrpc":"2.0", "method": "YOUR_RPC_METHOD", "params": "YOUR_PARAMS", "id":1}'  'YOUR_ENDPOINT_URL/eth_rpc?auth=YOUR_AUTH_TOKEN'
  • Replace YOUR_RPC_METHOD with your chosen RPC method.
  • ReplaceYOUR_PARAMSwith your chosen RPC parameters.
  • ReplaceYOUR_ENDPOINT_URLwith the Endpoint URL found in the Blockdaemon app.
  • ReplaceYOUR_AUTH_TOKENwith the Auth Token found in the Blockdaemon app.

Evmos Tendermint RPC Connection via cURL

curl -X POST -H 'Content-Type: application/json' --data '{"method": "YOUR_RPC_METHOD", "params": [YOUR_PARAMS], "id": 1}' 'YOUR_ENDPOINT_URL/tendermint_rpc?auth=YOUR_AUTH_TOKEN'
  • Replace YOUR_RPC_METHOD with your chosen RPC method.
  • ReplaceYOUR_PARAMSwith your chosen RPC parameters.
  • ReplaceYOUR_ENDPOINT_URLwith the Endpoint URL found in the Blockdaemon app.
  • ReplaceYOUR_AUTH_TOKENwith the Auth Token found in the Blockdaemon app.

Evmos Tendermint REST Connection via cURL

curl -X POST -H 'Content-Type: application/json' 'YOUR_ENDPOINT_URL/tendermint_rest/status?auth=YOUR_AUTH_TOKEN'

Evmos Connection via WebSocket

Tendermint Websocket

wscat -H "X-Auth-Token: YOUR_AUTH_TOKEN" -c wss://YOUR_ENDPOINT_URL/websocket  
{"method": "status", "params": \[], "id": 1}

Ethereum Websocket

wscat -H "X-Auth-Token: YOUR_AUTH_TOKEN" -c wss://YOUR_ENDPOINT_URL/eth_websocket  
{"method": "web3_clientVersion", "params": \[], "id": 1, "jsonrpc":"2.0"}

📘

Info:

wscat is a tool that can connect over WebSocket(s) and may need to be installed. You can use your preferred tool of choice.


Cosmos REST Connection for Evmos

curl -X GET -H 'Content-Type: application/json' 'YOUR_ENDPOINT_URL/cosmos_rest/cosmos/gov/v1beta1/proposals?auth=YOUR_AUTH_TOKEN'
  • Replace YOUR_ENDPOINT_URL with the Endpoint URL found in the Blockdaemon app.
  • Replace YOUR_AUTH_TOKEN with the Auth Token found in the Blockdaemon app.

Evmos Tendermint GRPC Connection

grpcurl -H "X-Auth-Token: YOUR_AUTH_TOKEN" YOUR_ENDPOINT_URL:443 list
  • Replace YOUR_AUTH_TOKEN with the Auth Token found in the Blockdaemon app.
  • Replace YOUR_ENDPOINT_URL with the Endpoint URL found in the Blockdaemon app.

👋 Need Help?

Contact us through email or our support page for any issues, bugs, or assistance you may need.