From fa55e5ce9b5b606b0385be55f33bd472a1a47d01 Mon Sep 17 00:00:00 2001 From: Bryan Stitt Date: Mon, 19 Jun 2023 18:55:31 -0700 Subject: [PATCH] add eth_getBlockByNumber example --- README.md | 3 +++ 1 file changed, 3 insertions(+) diff --git a/README.md b/README.md index 15feae4f..1eb8db43 100644 --- a/README.md +++ b/README.md @@ -55,6 +55,9 @@ Check that the proxy is working: curl -X POST -H "Content-Type: application/json" --data '{"jsonrpc":"2.0","method":"web3_clientVersion","id":1}' 127.0.0.1:8544 ``` ``` +curl -X POST -H "Content-Type: application/json" --data '{"jsonrpc":"2.0","method":"eth_getBlockByNumber", "params": ["latest", false],"id":1}' 127.0.0.1:8544 +``` +``` curl -X POST -H "Content-Type: application/json" --data '{"jsonrpc":"2.0","method":"eth_getBalance", "params": ["0x0000000000000000000000000000000000000000", "latest"],"id":1}' 127.0.0.1:8544 ```