Ledger.GetBlock 方法
通过区块索引或区块哈希 ,查找区块。
命名空间: Neo.SmartContract.Framework.Native
程序集:Neo.SmartContract.Framework
语法
参数:
-
index: 所查询区块的索引(区块高度)
-
hash:所查询区块的哈希
通过区块索引或区块哈希 ,查找区块。
命名空间: Neo.SmartContract.Framework.Native
程序集:Neo.SmartContract.Framework
参数:
index: 所查询区块的索引(区块高度)
hash:所查询区块的哈希