Umi — API References - v1.3.0
Preparing search index...
umi
tokenAmount
Function tokenAmount
tokenAmount
<
I
extends
string
,
D
extends
number
>
(
tokens
:
number
,
identifier
?:
I
,
decimals
?:
D
,
)
:
Amount
<
I
,
D
>
Creates an amount of SPL tokens from the provided decimal value.
Type Parameters
I
extends
string
D
extends
number
Parameters
tokens
:
number
Optional
identifier
:
I
Optional
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 of SPL tokens from the provided decimal value.