Cosmos RPC

A guide to use our public rpc points for gaiacli

Setup your gaiacli to use our public rpc endpoints

gaiacli config node https://cosmoshub-rpc.chainlayer.net:443
gaiacli config chain-id cosmoshub-2
gaiacli config trust-node true

Wallet and delegation commands:

Query a wallet for infomation and funds total

gaiacli query account cosmosACCOUNT

Delegate funds to ChainLayer validator (1000000uatom = 1 Atom)

gaiacli tx staking delegate cosmosvaloper1kgddca7qj96z0qcxr2c45z73cfl0c75p7f3s2e 1000000uatom --from YOURWALLETNAME --gas-adjustment 1.5 --gas auto --gas-prices 0.025uatom

Get rewards from your ChainLayer and any other delegation you have

gaiacli tx distr withdraw-all-rewards --from YOURWALLETNAME --gas auto --gas-adjustment 1.5 --gas-prices 0.025uatom

Send atom from your local wallet (1000000uatom = 1 Atom)

gaiacli tx send cosmos1ACCOUNT 1000000uatom --from YOURWALLETNAME --gas auto --gas-adjustment 1.5 --gas-prices 0.025uatom

Voting commands: