tx.value.assets
Home > @blaze-cardano/tx > Value > assets
Value.assets() function
Lists all assets (including 'lovelace' if present) in a Value object.
Signature:
export declare function assets(v: Value): (AssetId | "lovelace")[];
Parameters
Parameter |
Type |
Description |
---|---|---|
v |
Value |
The Value object to inspect. |
Returns:
(AssetId | "lovelace")[]
{(AssetId | 'lovelace')[]} - An array of asset identifiers.