UtxoQueryWithReaderTF

scalus.cardano.node.UtxoQueryWithReaderTF
case class UtxoQueryWithReaderTF[F[_]](reader: BlockchainReaderTF[F], query: UtxoQuery)

A query builder that combines a BlockchainReaderTF with a UtxoQuery. Effect-polymorphic — .execute() returns the reader's own F[Either[UtxoQueryError, Utxos]].

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(): F[Either[UtxoQueryError, Utxos]]

Execute the query and return the results in the reader's effect type.

Execute the query and return the results in the reader's effect type.

Attributes

def limit(n: Int): UtxoQueryWithReaderTF[F]

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): UtxoQueryWithReaderTF[F]

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