• Converts ClarityValue to stringAsciiCV

    Parameters

    • data: string

    Returns StringAsciiCV

    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

Generated using TypeDoc