curl --request POST \
--url https://nd-326-444-187.p2pify.com/9de47db917d4f69168e3fed02217d15b \
--header 'Content-Type: application/json' \
--data '
{
"id": 1,
"jsonrpc": "2.0",
"method": "getBlockHeight"
}
'{
"jsonrpc": "<string>",
"id": 123,
"result": 123
}curl --request POST \
--url https://nd-326-444-187.p2pify.com/9de47db917d4f69168e3fed02217d15b \
--header 'Content-Type: application/json' \
--data '
{
"id": 1,
"jsonrpc": "2.0",
"method": "getBlockHeight"
}
'{
"jsonrpc": "<string>",
"id": 123,
"result": 123
}getBlockHeight methodgetBlockHeight method returns the current height of the highest fully-processed block in the ledger.
This method provides the latest block height that has been processed by the node. It is useful for tracking the progress of the blockchain and for determining the most recent transactions.
value — the current height of the highest fully-processed block.getBlockHeight is to track the progress of the blockchain. This can be useful for applications that need to display or make use of this information, such as block explorers or wallets.Was this page helpful?