Skip to main content
Version: 0.13.0

tx.value.merge

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

Value.merge() function

Merges two Value objects into a single Value object by combining their coins and multiassets.

Signature:

export declare function merge(a: Value, b: Value): Value;

Parameters

Parameter

Type

Description

a

Value

The first Value object.

b

Value

The second Value object.

Returns:

Value

{Value} - The resulting Value object after merging.