NodeQueryAlgebra class
Defines a Node Query API for interacting with a Node node.
- Implemented types
Constructors
- NodeQueryAlgebra(ClientChannelBase channel)
Properties
Methods
-
blockByHeight(
Int64 height) → Future< (BlockId, BlockBody, List< IoTransaction> )?> -
Fetches a block by its blockheight
height. Returns theBlockId,BlockBody, and contained transactionsIoTransactionsof the fetched block, if it exists.override -
blockById(
BlockId blockId) → Future< (BlockId, BlockBody, List< IoTransaction> )?> -
Fetches a block by its [blockId.
Returns a
BlockId,BlockBody, and List of contained transactionsIoTransactionsof the fetched block, if it exists.override -
fetchTransaction(
TransactionId txId) → Future< IoTransaction?> -
Fetches a transaction by its
txIdand returns the fetched transaction, if it exists.override -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited