/** * Converts a numeric value coming from an RPC or a block explorer to a number. * * The same field is returned as a JSON number by some providers, as a decimal * string by others and as a hex string by the rest, so all three forms are * accepted and validated against the safe integer range. A hex string carrying * no digits reads as zero, which is how Etherscan and Blockscout report a zero * valued field. */ export declare function toNumber(value: unknown, field: string): number; //# sourceMappingURL=numbers.d.ts.map