Cash Selection Postgre SQLImpl
Functions
Link copied to clipboard
fun unconsumedCashStatesForSpending(services: ServiceHub, amount: Amount<Currency>, onlyFromIssuerParties: Set<AbstractParty> = emptySet(), notary: Party? = null, lockId: UUID, withIssuerRefs: Set<OpaqueBytes> = emptySet()): List<StateAndRef<Cash.State>>
Query to gather Cash states that are available and retry if they are temporarily unavailable.