For the complete documentation index, see llms.txt. This page is also available as Markdown.

stringUtf8

Creates a Clarity string-utf8 type. Alias for stringUtf8CV.


Usage

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

Cl.stringUtf8('hello world 🌍');

Reference Link


Signature

const stringUtf8: (value: string) => StringUtf8CV;

Returns

StringUtf8CV

A Clarity UTF-8 string value object.


Parameters

value (required)

  • Type: string

A UTF-8 string value.

Last updated

Was this helpful?