Preparing search index...
The search index is not available
Solana Suite API Reference
Solana Suite API Reference
@solana-suite/spl-token
SplToken
add
Function add
add
(
token
,
owner
,
ownerOrMultisig
,
totalAmount
,
mintDecimal
,
options
?
)
:
Promise
<
Result
<
CommonStructure
<
Pubkey
>
,
Error
>
>
Adding new token to existing token
Parameters
token
:
Pubkey
owner
:
Pubkey
ownerOrMultisig
:
Secret
[]
totalAmount
:
number
mintDecimal
:
number
options
:
Partial
<
MintOptions
>
= {}
Returns
Promise
<
Result
<
CommonStructure
<
Pubkey
>
,
Error
>
>
Promise<Result<string, Error>>
Settings
Member Visibility
Protected
Private
Inherited
External
Theme
OS
Light
Dark
Solana Suite API Reference
Loading...
Generated using
TypeDoc
Adding new token to existing token