Withdrawals

scalus.cardano.ledger.Withdrawals
See theWithdrawals companion object
case class Withdrawals(withdrawals: Map[RewardAccount, Coin])

Represents withdrawals in a transaction.

Withdrawals is a map from reward accounts to withdrawal amounts. It's used to withdraw staking rewards.

Value parameters

withdrawals

Map from reward accounts to withdrawal amounts

Attributes

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

Members list

Value members

Concrete methods

def isEmpty: Boolean

Checks if there are any withdrawals.

Checks if there are any withdrawals.

Attributes

Returns

true if there are no withdrawals, false otherwise

Inherited methods

def productElementNames: Iterator[String]

Attributes

Inherited from:
Product
def productIterator: Iterator[Any]

Attributes

Inherited from:
Product