Skip to Content

BNLike

interface

BNLike

Legacy bn.js-shaped value. `@exodus/currency` historically accepted these in the `Unit` factory (the constructor's `isMaybeBN` branch handles them, throwing for non-base units and accepting for `baseUnit`). New code should pass `bigint`, `BigIntWrapper`, `string`, or `number` instead.

Properties

constructor
any
words
number[]

Methods

toString
toString(): string

Returns:

string

Start building

XO

Request Demo

Schedule a call with our team

Select a product
Arrow right

Start building
Grateful

Contact Us

We're here to help