• Cl.tuple — Creates a Clarity tuple type, represented as a JS object

    Alias for tupleCV

    Type Parameters

    Parameters

    • data: TupleData<T>

    Returns TupleCV<TupleData<T>>

    Example

    import { Cl } from '@stacks/transactions';
    Cl.tuple({
    a: Cl.uint(100),
    b: Cl.stringUtf8('hello world'),
    })

    See

    serialize, deserialize

Generated using TypeDoc