Simple

scalus.cardano.node.UtxoQuery.Simple
case class Simple(source: UtxoSource, filter: Option[UtxoFilter] = ..., limit: Option[Int] = ..., offset: Option[Int] = ..., minRequiredTotalAmount: Option[Coin] = ...) extends UtxoQuery

A simple query with source, optional filter, and pagination.

Value parameters

filter

Optional refinement conditions

limit

Maximum number of results to return

minRequiredTotalAmount

Early termination: stop when accumulated lovelace reaches this amount

offset

Number of results to skip (for pagination)

source

Where to look for UTxOs (required)

Attributes

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

Members list

Value members

Concrete methods

Add a filter condition (AND with existing filters)

Add a filter condition (AND with existing filters)

Attributes

def limit(n: Int): UtxoQuery

Limit the number of results. Takes minimum if limit already set.

Limit the number of results. Takes minimum if limit already set.

Attributes

def minTotal(amount: Coin): UtxoQuery

Set minimum required total lovelace amount (early termination optimization). Takes minimum if already set.

Set minimum required total lovelace amount (early termination optimization). Takes minimum if already set.

Attributes

def skip(n: Int): UtxoQuery

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
def ||(other: UtxoQuery): UtxoQuery

Combine two queries with OR - returns UTxOs from either query

Combine two queries with OR - returns UTxOs from either query

Attributes

Inherited from:
UtxoQuery