Block Class
A class representing a block, providing a way to query transactions in a block.
Namespace: Neo.SmartContract.Framework.Services.Neo
Assembly: Neo.SmartContract.Framework
Syntax
Methods
Name | description | |
---|---|---|
GetTransaction(int) | Returns the specified transaction within the block | |
GetTransactionCount() | Returns the number of transactions within the block | |
GetTransactions() | Returns all the transactions within the block |
Constructor
The Block object is constructed through Blockchain.GetBlock(byte[]) .
The Block object is constructed through Blockchain.GetBlock(uint) .