tx.value
Home > @blaze-cardano/tx > Value
Value namespace
Functions
Function |
Description |
---|---|
Lists all assets (including 'lovelace' if present) in a Value object. | |
Counts the number of distinct asset types in a Value object. | |
Determines if a Value object is empty (no coin and no multiassets). | |
Determines the intersection of assets between two Value objects. | |
Creates a new Value object with the specified amount of lovelace and assets. | |
Merges two Value objects into a single Value object by combining their coins and multiassets. | |
Negates the coin and multiasset values of a Value object. | |
Filters a Value object to retain only the negative coin and multiasset values. | |
Filters out the positive coin and multiasset values from a Value object. | |
Subtracts the values of one Value object from another. | |
Sums up a list of values into a single value instance. | |
A constant Value object with zero coins and no assets. |