Blockchain.GetHeight Method ()
Returns the current block height of the blockchain. Block height = block index = number of blocks - 1.
Namespace: Neo.SmartContract.Framework.Services.Neo
Assembly: Neo.SmartContract.Framework
Syntax
Return Value: Block height as an unsigned integer.