Description Usage Arguments Value Author(s) References Examples
Similar to getBlockHeaderByHash
, this method includes a
block's height as an input parameter to retrieve basic information about
the block.
1 2 | getBlockHeaderByHeight(height, ip = getOption("monerod.ip", "127.0.0.1"),
port = getOption("monerod.port", 18081))
|
height |
unsigned int; The block's height. |
ip |
daemon ip address |
port |
daemon port |
block_header - A structure containing block header information.
See getLastBlockHeader
.
Garrett See
https://getmonero.org/knowledge-base/developer-guides/daemon-rpc#getblockheaderbyheight
1 2 3 4 | ## Not run:
getBlockHeaderByHeight(912345)
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.