• Converts IntegerType in to IntCV clarity type

    Returns

    returns instance of type IntCV

    Example

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

    const value = intCV('100'); // parameter any of type: number | string | bigint | Uint8Array | BN
    // { type: 0, value: 100n }

    See

    clarity test cases for more examples

    Parameters

    • value: IntegerType

    Returns IntCV

Generated using TypeDoc