Common RPC calls on ETH
Course: Creating a web based wallet, RPCs - chapter 8
Get balance
Section titled “Get balance”{ "jsonrpc": "2.0", "id": 1, "method": "eth_getBalance", "params": ["0xaeaa570b50ad00377ff8add27c50a7667c8f1811", "latest"]}Get latest block
Section titled “Get latest block”{ "jsonrpc": "2.0", "id": 1, "method": "eth_blockNumber"}Get block by number
Section titled “Get block by number”{ "jsonrpc": "2.0", "id": 1, "method": "eth_getBlockByNumber", "params": ["0x1396d66", true]}