import { type Utils } from "https://deno.land/x/web3@v0.11.1/packages/web3-utils/types/index.d.ts";
Methods
isBigNumber(value: BN): boolean
toBN(value: number | string): BN
toTwosComplement(value: number | string | BN): string
isHex(hex: Hex): boolean
isHexStrict(hex: Hex): boolean
numberToHex(value: number | string | BN): string
hexToBytes(hex: Hex): number[]
hexToNumber(hex: Hex): number
hexToNumberString(hex: Hex): string
hexToString(hex: Hex): string
keccak256(value: string | BN): string
sha3(value: string | BN): string | null
toDecimal(hex: Hex): number
toHex(value: number | string | BN): string
toWei(val: string, unit?: Unit): string
jsonInterfaceMethodToString(abiItem: AbiItem): string
soliditySha3(...val: Mixed[]): string | null
soliditySha3Raw(...val: Mixed[]): string
encodePacked(...val: Mixed[]): string | null
getUnitValue(unit: Unit): string
unitMap(): Units
toNumber(value: number | string | BN): number