@neutral-trade/sdk - v1.0.13
GitHub
Preparing search index...
buildEnsureAssociatedTokenAccountInstruction
Function buildEnsureAssociatedTokenAccountInstruction
buildEnsureAssociatedTokenAccountInstruction
(
input
:
{
mint
:
Address
;
owner
:
Address
;
payer
:
Address
}
,
)
:
Promise
<
Instruction
<
string
,
readonly
(
AccountLookupMeta
<
string
,
string
>
|
AccountMeta
<
string
>
)
[]
,
>
,
>
Uses the Classic Token Program for both derivation and account creation.
Parameters
input
:
{
mint
:
Address
;
owner
:
Address
;
payer
:
Address
}
Returns
Promise
<
Instruction
<
string
,
readonly
(
AccountLookupMeta
<
string
,
string
>
|
AccountMeta
<
string
>
)
[]
,
>
,
>
Settings
Member Visibility
Inherited
External
Theme
OS
Light
Dark
GitHub
@neutral-trade/sdk - v1.0.13
Loading...
Uses the Classic Token Program for both derivation and account creation.