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://tm.evmos.lava.build
๐ŸŸข tendermint-rpc / websocketwss://tm.evmos.lava.build/websocket
๐ŸŸข json-rpchttps://evmos.lava.build
๐ŸŸข json-rpc / websocketwss://evmos.lava.build/websocket
๐ŸŸข resthttps://rest.evmos.lava.build
๐ŸŸข grpcgrpc.evmos.lava.build:443
๐ŸŸข web-gRPChttps://grpc.evmos.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://rest.evmos-testnet.lava.build
๐ŸŸข grpcgrpc.evmos-testnet.lava.build:443
๐ŸŸข web-gRPChttps://grpc.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