Last modified: 2024-09-14
Ledger.GetBlock Method
Gets block by the block hash or index.
Namespace: Neo.SmartContract.Framework.Native
Assembly: Neo.SmartContract.Framework
Syntax
Parameters:
-
index: Index of the block to query
-
hash: Hash of the block to query