• Converts ClarityValue to stringAsciiCV

    Returns

    returns instance of type StringAsciiCV

    Example

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

    const stringAscii = stringAsciiCV('test');

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

    See

    clarity test cases for more examples

    Parameters

    • data: string

    Returns StringAsciiCV

Generated using TypeDoc