Interface Value

Interface representing a value in the Cardano blockchain, which consists of coins and optionally assets.

interface Value {
    assets?: AssetAmounts;
    coins: bigint;
}

Properties

Properties

assets?: AssetAmounts

A record of asset amounts, where the key is the asset ID and the value is the amount of that asset. The asset ID is a string that uniquely identifies the asset.

coins: bigint

The amount of ADA (in lovelace) represented by this value.