web3-proxy/data/wrk/getLatestBlockByNumber.lua

4 lines
184 B
Lua
Raw Normal View History

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