near / near-cli

General purpose command line tools for interacting with NEAR Protocol
https://docs.near.org
MIT License
193 stars 93 forks source link

How to query NEAR node block height by near-cli? #989

Closed Jeffonemore closed 7 months ago

Jeffonemore commented 2 years ago

How to query NEAR node block height by near-cli? I didn't find it on https://docs.near.org/docs/tools/near-cli

c0wjay commented 2 years ago

use near state example.testnet command, and it will returns current block height in block_height field.