Coda by Ian Macalinao
Preparing search index...
@solana-programs/spl-governance
getSetRealmAuthorityInstruction
Function getSetRealmAuthorityInstruction
getSetRealmAuthorityInstruction
<
TAccountRealmAccount
extends
InstructionAccountInput
,
TAccountRealmAuthority
extends
InstructionSignerInput
,
TAccountNewRealmAuthority
extends
InstructionAccountInput
,
TProgramAddress
extends
Address
=
Address
<
"GovER5Lthms3bLBqWub97yVrMmEogzX7xNjdXpPPCVZw"
>
,
>
(
input
:
SetRealmAuthorityInput
<
TAccountRealmAccount
,
TAccountRealmAuthority
,
TAccountNewRealmAuthority
,
>
,
config
?:
{
programAddress
?:
TProgramAddress
|
{
address
:
TProgramAddress
}
;
}
,
)
:
SetRealmAuthorityInstruction
<
TProgramAddress
,
ResolvedInstructionAccountMeta
<
TAccountRealmAccount
,
InstructionAccountInputAddress
<
TAccountRealmAccount
>
,
>
,
ResolvedInstructionAccountMeta
<
TAccountRealmAuthority
,
InstructionAccountInputAddress
<
TAccountRealmAuthority
>
,
>
,
ResolvedInstructionAccountMeta
<
TAccountNewRealmAuthority
,
InstructionAccountInputAddress
<
TAccountNewRealmAuthority
>
,
>
,
>
Type Parameters
TAccountRealmAccount
extends
InstructionAccountInput
TAccountRealmAuthority
extends
InstructionSignerInput
TAccountNewRealmAuthority
extends
InstructionAccountInput
TProgramAddress
extends
Address
=
Address
<
"GovER5Lthms3bLBqWub97yVrMmEogzX7xNjdXpPPCVZw"
>
Parameters
input
:
SetRealmAuthorityInput
<
TAccountRealmAccount
,
TAccountRealmAuthority
,
TAccountNewRealmAuthority
,
>
Optional
config
:
{
programAddress
?:
TProgramAddress
|
{
address
:
TProgramAddress
}
}
Returns
SetRealmAuthorityInstruction
<
TProgramAddress
,
ResolvedInstructionAccountMeta
<
TAccountRealmAccount
,
InstructionAccountInputAddress
<
TAccountRealmAccount
>
,
>
,
ResolvedInstructionAccountMeta
<
TAccountRealmAuthority
,
InstructionAccountInputAddress
<
TAccountRealmAuthority
>
,
>
,
ResolvedInstructionAccountMeta
<
TAccountNewRealmAuthority
,
InstructionAccountInputAddress
<
TAccountNewRealmAuthority
>
,
>
,
>
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
Coda by Ian Macalinao
Loading...