Umi — API References - v1.3.0
Preparing search index...
umi
createAmount
Function createAmount
createAmount
<
I
extends
string
,
D
extends
number
>
(
basisPoints
:
BigIntInput
,
identifier
:
I
,
decimals
:
D
,
)
:
Amount
<
I
,
D
>
Creates an amount from the provided basis points, identifier, and decimals.
Type Parameters
I
extends
string
D
extends
number
Parameters
basisPoints
:
BigIntInput
identifier
:
I
decimals
:
D
Returns
Amount
<
I
,
D
>
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
Umi — API References - v1.3.0
Loading...
Creates an amount from the provided basis points, identifier, and decimals.