Skip to main content Link Menu Expand (external link) Document Search Copy Copied

TronGetCurrentBlock200Response

Model getters

Method name Return type Description Notes
getBlockNumber() float Block height.
Example: 26585295
[optional]
getHash() string Block hash.
Example: 000000000195a8cfe2ea4ca60ce921b30e95980a96c6bb1da4a35aa03da9c5a8
[optional]
getTestnet() bool Wether the block is from mainnet of Shasta testnet
Example: false
[optional]