UtxoQueryWithReader

scalus.cardano.node.UtxoQueryWithReader
case class UtxoQueryWithReader(reader: BlockchainReader, query: UtxoQuery)

A query builder that combines a BlockchainReader with a UtxoQuery.

Allows chaining configuration methods before executing the query.

Value parameters

query

The query to execute

reader

The reader to execute the query against

Attributes

Graph
Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all

Members list

Value members

Concrete methods

def execute(): Future[Either[UtxoQueryError, Utxos]]

Execute the query and return the results

Execute the query and return the results

Attributes

def limit(n: Int): UtxoQueryWithReader

Limit the number of results

Limit the number of results

Attributes

Set minimum required total lovelace amount (early termination optimization).

Set minimum required total lovelace amount (early termination optimization).

The query will stop fetching UTxOs once the accumulated lovelace reaches this amount.

Attributes

def skip(n: Int): UtxoQueryWithReader

Skip the first n results

Skip the first n results

Attributes

Inherited methods

def productElementNames: Iterator[String]

Attributes

Inherited from:
Product
def productIterator: Iterator[Any]

Attributes

Inherited from:
Product