Skip to main content
Version: 0.13.0

tx.value.negatives

Home > @blaze-cardano/tx > Value > negatives

Value.negatives() function

Filters a Value object to retain only the negative coin and multiasset values.

Signature:

export declare function negatives(v: Value): Value;

Parameters

Parameter

Type

Description

v

Value

The Value object to filter.

Returns:

Value

{Value} - A new Value object containing only negative values.