Difference between revisions of "Eth getBlockByNumber"
Jump to navigation
Jump to search
Line 1: | Line 1: | ||
{{lc}} | {{lc}} | ||
* https://www.quicknode.com/docs/ethereum/eth_getBlockByNumber | * https://www.quicknode.com/docs/ethereum/eth_getBlockByNumber | ||
+ | |||
+ | [[curl -s -X POST]] http://$IP:8080 -H "[[Content-Type: application/json]]" -d '{"method": "eth_getBlockByNumber", "params": ["[[latest]]", false], "id": 1, "[[jsonrpc]]": "2.0"}' | ||
Latest revision as of 08:32, 25 October 2024
curl -s -X POST http://$IP:8080 -H "Content-Type: application/json" -d '{"method": "eth_getBlockByNumber", "params": ["latest", false], "id": 1, "jsonrpc": "2.0"}'
See also[edit]
- Ethereum API, 8545,
eth_call, eth_blockNumber, eth_getBalance, eth_getBlockByNumber, eth_getTransactionReceipt, web3_clientVersion, eth_subscribe, /eth/v1/node/syncing
,cast
,eth_getProof
,eth_call, eth_chainId, eth_getBlockReceipts
, Eth Beacon Node API,eth_sendRawTransaction, eth_getLogs
,geth --http.api
Advertising: