Description Usage Arguments Value Examples
Combines functionality from eth_getBlockByHash() and eth_getBlockByNumber().
1 | eth_getBlock(hash = NULL, number = "latest", full = TRUE)
|
hash |
Hash of a block. |
number |
An integer block number (as a hexidecimal string) or one of "earliest", "latest" or "pending". |
full |
Whether or not to return full transaction objects. |
List.
1 2 3 4 5 6 7 | ## Not run:
eth_getBlock()
eth_getBlock("0xb6d656ead4c3d4b1aa24d6b4d3d4cde8c090794e597258993512d650f088fcba")
eth_getBlock(number = "0x4720FF")
eth_getBlock(number = "0x49a8ea") # A block with two uncles.
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.