Create list of clarity types
instance of type ListCV of the provided values
import { listCV, intCV } from '@stacks/transactions'; const list = listCV([intCV(1), intCV(2), intCV(3), intCV(-4)]); // { type: 11, list: [ { type: 0, value: 1n }, { type: 0, value: 2n }, { type: 0, value: 3n }, { type: 0, value: -4n } ] }
clarity test cases for more examples
Generated using TypeDoc
Create list of clarity types
Returns
instance of type ListCV of the provided values
Example
See
clarity test cases for more examples