Serializes clarity value to Uint8Array
returns the bytes
import { intCV, serializeCV } from '@stacks/transactions'; const serialized = serializeCV(intCV(100)); // Similarly works for other clarity types as well like listCV, booleanCV ... // <Uint8Array 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 64>
clarity test cases for more examples
to be converted to bytes *
Generated using TypeDoc
Serializes clarity value to Uint8Array
Returns
returns the bytes
Example
See
clarity test cases for more examples