Create list of clarity types
returns instance of type ListCV
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
returns instance of type ListCV
Example
Visit
clarity test cases for more examples