web3-proxy/wrk/getLatestBlockByNumber.lua
2022-05-06 01:40:43 +00:00

4 lines
184 B
Lua

wrk.method = "POST"
wrk.body = "{\"jsonrpc\":\"2.0\",\"method\":\"eth_getBlockByNumber\",\"params\":[\"latest\", false],\"id\":420}"
wrk.headers["Content-Type"] = "application/json"