Converts ClarityValue to stringUtf8CV
returns instance of type stringUtf8CV
import { stringUtf8CV } from '@stacks/transactions'; const stringUTF8 = stringUtf8CV('test'); // { type: 'utf8', data: 'hello' } Copy
import { stringUtf8CV } from '@stacks/transactions'; const stringUTF8 = stringUtf8CV('test'); // { type: 'utf8', data: 'hello' }
clarity test cases for more examples
Generated using TypeDoc
Converts ClarityValue to stringUtf8CV