• Converts IntegerType in to IntCV clarity type

    Parameters

    Returns UIntCV

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

    See

    clarity test cases for more examples

Generated using TypeDoc