Documentation
Preparing search index...
@orca-so/whirlpools-client
getSetRewardAuthorityInstruction
Function getSetRewardAuthorityInstruction
getSetRewardAuthorityInstruction
<
TAccountWhirlpool
extends
string
,
TAccountRewardAuthority
extends
string
,
TAccountNewRewardAuthority
extends
string
,
TProgramAddress
extends
Address
=
Address
<
"whirLbMiicVdio4qvUfM5KAg6Ct8VwpYzGff3uctyCc"
>
,
>
(
input
:
SetRewardAuthorityInput
<
TAccountWhirlpool
,
TAccountRewardAuthority
,
TAccountNewRewardAuthority
,
>
,
config
?:
{
programAddress
?:
TProgramAddress
}
,
)
:
SetRewardAuthorityInstruction
<
TProgramAddress
,
TAccountWhirlpool
,
TAccountRewardAuthority
,
TAccountNewRewardAuthority
,
>
Type Parameters
TAccountWhirlpool
extends
string
TAccountRewardAuthority
extends
string
TAccountNewRewardAuthority
extends
string
TProgramAddress
extends
Address
=
Address
<
"whirLbMiicVdio4qvUfM5KAg6Ct8VwpYzGff3uctyCc"
>
Parameters
input
:
SetRewardAuthorityInput
<
TAccountWhirlpool
,
TAccountRewardAuthority
,
TAccountNewRewardAuthority
,
>
Optional
config
:
{
programAddress
?:
TProgramAddress
}
Returns
SetRewardAuthorityInstruction
<
TProgramAddress
,
TAccountWhirlpool
,
TAccountRewardAuthority
,
TAccountNewRewardAuthority
,
>
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
Documentation
Loading...