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