UNPKG

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