UNPKG

366 BTypeScriptView Raw
1import type { BN } from '../bn/bn.js';
2import type { HexString, NumberOptions, ToBigInt, ToBn } from '../types.js';
3/**
4 * @name nToHex
5 * @summary Creates a hex value from a bigint object.
6 */
7export declare function nToHex<ExtToBn extends ToBn | ToBigInt>(value?: ExtToBn | BN | bigint | number | null, { bitLength, isLe, isNegative }?: NumberOptions): HexString;