Skip to main content

@morph-l2/sdkDocs


@morph-l2/sdk / toBigNumber

Function: toBigNumber()

toBigNumber(num): BigNumber

Converts a number-like into an ethers BigNumber.

Parameters

num: NumberLike

Number-like to convert into a BigNumber.

Returns

BigNumber

Number-like as a BigNumber.

Source

src/utils/coercion.ts:84