Skip to main content

Getting Evmos RPC

Evmos ipRPC πŸͺ™β€‹

LavaπŸŒ‹ now offers incentivized public RPC for Evmos. Developers can get free, public endpoints for all.

Mainnet πŸŒβ€‹

Service πŸ”ŒURL πŸ”—
🟒 tendermint-rpchttps://evmos.tendermintrpc.lava.build
🟒 tendermint-rpc / websocketwss://evmos.tendermintrpc.lava.build/websocket
🟒 json-rpchttps://evmos.lava.build
🟒 json-rpc / websocketwss://evmos.lava.build
🟒 resthttps://evmos.rest.lava.build
🟒 grpcevmos.grpc.lava.build

Testnet πŸ§ͺ​

Service πŸ”ŒURL πŸ”—
🟒 tendermint-rpchttps://tm.evmos-testnet.lava.build
🟒 tendermint-rpc / websocketwss://tm.evmos-testnet.lava.build/websocket
🟒 json-rpchttps://evmos-testnet.lava.build
🟒 json-rpc / websocketwss://evmos-testnet.lava.build/websocket
🟒 resthttps://evmost.rest.lava.build
🟒 grpcgrpc.evmos-testnet.lava.build


Gateway​

To learn more about using the Lava Gateway visit the Getting Started guide



SDK​

Input πŸ“₯​

// Install lavaSDK with the following command:
// npm i @lavanet/lava-sdk
const { LavaSDK } = require("@lavanet/lava-sdk");

async function useEvmosTestnet() {
const evmosTestnet = await LavaSDK.create({
privateKey: process.env.PRIVATE_KEY, //hide your private key in an environmental variable
chainIds: "EVMOST",
});

const evmosBlockResponse = await evmosTestnet.sendRelay({
method: "block",
params: ["15500000"],
});

console.log(evmosBlockResponse);
}

(async () => {
await useEvmosTestnet();
})();

Output πŸ“€β€‹

To learn more about our SDK visit the Getting Started guide