Converts IntegerType in to IntCV clarity type
returns instance of type UIntCV
import { uintCV } from '@stacks/transactions'; const value = uintCV('100'); // parameter any of type: number | string | bigint | Uint8Array | BN // { type: 1, value: 100n } Copy
import { uintCV } from '@stacks/transactions'; const value = uintCV('100'); // parameter any of type: number | string | bigint | Uint8Array | BN // { type: 1, value: 100n }
clarity test cases for more examples
Generated using TypeDoc
Converts IntegerType in to IntCV clarity type