• 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: 1, value: 100n }

    See

    clarity test cases for more examples

Generated using TypeDoc