@neutral-trade/sdk - v1.0.0
GitHub
Preparing search index...
getSetUserReferrerInstruction
Function getSetUserReferrerInstruction
getSetUserReferrerInstruction
<
TAccountUser
extends
string
,
TAccountBundleAccount
extends
string
,
TAccountUserBundleAccount
extends
string
,
TAccountReferrerAccount
extends
string
,
TAccountReferrerUserBundleAccount
extends
string
,
TProgramAddress
extends
Address
=
Address
<
"BUNDDh4P5XviMm1f3gCvnq2qKx6TGosAGnoUK12e7cXU"
>
,
>
(
input
:
SetUserReferrerInput
<
TAccountUser
,
TAccountBundleAccount
,
TAccountUserBundleAccount
,
TAccountReferrerAccount
,
TAccountReferrerUserBundleAccount
,
>
,
config
?:
{
programAddress
?:
TProgramAddress
}
,
)
:
SetUserReferrerInstruction
<
TProgramAddress
,
TAccountUser
,
TAccountBundleAccount
,
TAccountUserBundleAccount
,
TAccountReferrerAccount
,
TAccountReferrerUserBundleAccount
,
>
Type Parameters
TAccountUser
extends
string
TAccountBundleAccount
extends
string
TAccountUserBundleAccount
extends
string
TAccountReferrerAccount
extends
string
TAccountReferrerUserBundleAccount
extends
string
TProgramAddress
extends
Address
=
Address
<
"BUNDDh4P5XviMm1f3gCvnq2qKx6TGosAGnoUK12e7cXU"
>
Parameters
input
:
SetUserReferrerInput
<
TAccountUser
,
TAccountBundleAccount
,
TAccountUserBundleAccount
,
TAccountReferrerAccount
,
TAccountReferrerUserBundleAccount
,
>
Optional
config
:
{
programAddress
?:
TProgramAddress
}
Returns
SetUserReferrerInstruction
<
TProgramAddress
,
TAccountUser
,
TAccountBundleAccount
,
TAccountUserBundleAccount
,
TAccountReferrerAccount
,
TAccountReferrerUserBundleAccount
,
>
Settings
Member Visibility
Inherited
External
Theme
OS
Light
Dark
GitHub
@neutral-trade/sdk - v1.0.0
Loading...