• Converts IntegerType in to IntCV clarity type

    Parameters

    Returns IntCV

    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: 'int', value: 100n }

    See

    clarity test cases for more examples

Generated using TypeDoc