• Converts IntegerType in to IntCV clarity type

    Returns

    returns instance of type UIntCV

    Example

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

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

    See

    clarity test cases for more examples

    Parameters

    • value: IntegerType

    Returns UIntCV

Generated using TypeDoc