• Cl.bufferFromHex — Converts bytes (from a hex string) to a Clarity buffer type, represented as a JS object

    Parameters

    • hex: string

      bytes encoded as a hex string

    Returns BufferCV

    input encoded as a BufferCV

    Example

    import { Cl } from '@stacks/transactions';
    Cl.bufferFromHex('a1b2c3');

Generated using TypeDoc