• Converts ClarityValue to stringUtf8CV

    Returns

    returns instance of type stringUtf8CV

    Example

     import { stringUtf8CV } from '@stacks/transactions';

    const stringUTF8 = stringUtf8CV('test');

    // { type: 13, data: 'hello' }

    See

    clarity test cases for more examples

    Parameters

    • data: string

    Returns StringUtf8CV

Generated using TypeDoc