Show / Hide
Table of Contents
Last modified: 2024-09-14
Ledger.GetTransactionFromBlock Method
Gets the specified transaction by the block index (or block hash) and transaction index.
Namespace: Neo.SmartContract.Framework.Native
Assembly: Neo.SmartContract.Framework
Syntax
Parameters:
-
blockHash: the hash of the specified block
-
blockHeight: the index of the specified block (block height)
-
txIndex: transaction index. The transaction index starts from 0 and increases sequentially.
Example
Back