list
Last updated
Was this helpful?
Creates a Clarity list type from an array of Clarity values. Alias for listCV.
import { Cl } from '@stacks/transactions';
Cl.list([Cl.int(100), Cl.int(200), Cl.int(300)]);
// Empty list
Cl.list([]);const list: (values: ClarityValue[]) => ListCV;ListCV
A Clarity list value object.
Type: ClarityValue[]
An array of Clarity values. All values should be of the same Clarity type for the list to be valid in Clarity.
Last updated
Was this helpful?
Was this helpful?