NodeQueryAlgebra class

Defines a Node Query API for interacting with a Node node.

Implemented types

Constructors

NodeQueryAlgebra(ClientChannelBase channel)

Properties

channel → ClientChannelBase
The gRPC channel to the node.
final
client → NodeRpcClient
The client stub for the node rpc service
final
hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

blockByHeight(Int64 height) Future<(BlockId, BlockBody, List<IoTransaction>)?>
Fetches a block by its blockheight height. Returns the BlockId, BlockBody, and contained transactions IoTransactions of 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 transactions IoTransactions of the fetched block, if it exists.
override
fetchTransaction(TransactionId txId) Future<IoTransaction?>
Fetches a transaction by its txId and 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