Testnets
Lava network
Rpc Consumer

Lava rpc consumer

Info about Lava RPC consumer here (opens in a new tab).

REST

Geolocation: 1

 https://lava-testnet-consumer-rest.mellifera.network:443

RPC

 https://lava-testnet-consumer-rpc.mellifera.network:443

Live information about subscription

This information of current subscription of the RPC consumer url provided above. If subscription expired or reached limit, it will not work. Pay attention to the subscription information, If you want to use rpc consumer url

Fetching subscription...

RPCConsumer installation guide for Lava

Download lavap binary or install from here (opens in a new tab)

Import the keys

lavap keys add your_wallet_name --recover

Before buy subscription, check available plans

./lavap q plan list

You can check details of the plan

./lavap q plan info adventurer

Buy the subscription

Here we are buying "explorer" plan subscription. You should have enough funds on your wallet to buy the subscription

./lavap tx subscription buy  explorer  --from your_wallet  --node https://lava-testnet-rpc.mellifera.network:443 -y

Also, check help to see more options

./lavap tx subscription buy --help

Run the RPC consumer. REST and RPC

It can take some time to apply the subscription

./lavap rpcconsumer 127.0.0.1:3333 LAV1 tendermintrpc  127.0.0.1:3334 LAV1 rest  --from your_wallet  --geolocation 1 --node https://lava-testnet-rpc.mellifera.network:443 --chain-id lava-testnet-2

Now you have to get response from RPC from 127.0.0.1:3333 and REST from 127.0.0.1:3334

Check by curl

RPC: curl 127.0.0.1:3333/status

REST: curl 127.0.0.1:3334/cosmos/base/tendermint/v1beta1/syncing