Cl.bufferFromHex — Converts bytes (from a hex string) to a Clarity buffer type, represented as a JS object
Cl.bufferFromHex
buffer
bytes encoded as a hex string
input encoded as a BufferCV
import { Cl } from '@stacks/transactions';Cl.bufferFromHex('a1b2c3'); Copy
import { Cl } from '@stacks/transactions';Cl.bufferFromHex('a1b2c3');
Generated using TypeDoc
Cl.bufferFromHex
— Converts bytes (from a hex string) to a Claritybuffer
type, represented as a JS object