Coda by Ian Macalinao
Preparing search index...
@solana-programs/voter-stake-registry
getCreateRegistrarInstruction
Function getCreateRegistrarInstruction
getCreateRegistrarInstruction
<
TAccountRegistrar
extends
InstructionAccountInput
,
TAccountRealm
extends
InstructionAccountInput
,
TAccountGovernanceProgramId
extends
InstructionAccountInput
,
TAccountRealmGoverningTokenMint
extends
InstructionAccountInput
,
TAccountRealmAuthority
extends
InstructionSignerInput
,
TAccountPayer
extends
InstructionSignerInput
,
TAccountSystemProgram
extends
InstructionAccountInput
,
TAccountRent
extends
InstructionAccountInput
,
TProgramAddress
extends
Address
=
Address
<
"vsr2nfGVNHmSY8uxoBGqq8AQbwz3JwaEaHqGbsTPXqQ"
>
,
>
(
input
:
CreateRegistrarInput
<
TAccountRegistrar
,
TAccountRealm
,
TAccountGovernanceProgramId
,
TAccountRealmGoverningTokenMint
,
TAccountRealmAuthority
,
TAccountPayer
,
TAccountSystemProgram
,
TAccountRent
,
>
,
config
?:
{
programAddress
?:
TProgramAddress
|
{
address
:
TProgramAddress
}
;
}
,
)
:
CreateRegistrarInstruction
<
TProgramAddress
,
ResolvedInstructionAccountMeta
<
TAccountRegistrar
,
InstructionAccountInputAddress
<
TAccountRegistrar
>
,
>
,
ResolvedInstructionAccountMeta
<
TAccountRealm
,
InstructionAccountInputAddress
<
TAccountRealm
>
,
>
,
ResolvedInstructionAccountMeta
<
TAccountGovernanceProgramId
,
InstructionAccountInputAddress
<
TAccountGovernanceProgramId
>
,
>
,
ResolvedInstructionAccountMeta
<
TAccountRealmGoverningTokenMint
,
InstructionAccountInputAddress
<
TAccountRealmGoverningTokenMint
>
,
>
,
ResolvedInstructionAccountMeta
<
TAccountRealmAuthority
,
InstructionAccountInputAddress
<
TAccountRealmAuthority
>
,
>
,
ResolvedInstructionAccountMeta
<
TAccountPayer
,
InstructionAccountInputAddress
<
TAccountPayer
>
,
>
,
ResolvedInstructionAccountMeta
<
TAccountSystemProgram
,
InstructionAccountInputAddress
<
TAccountSystemProgram
>
,
>
,
ResolvedInstructionAccountMeta
<
TAccountRent
,
InstructionAccountInputAddress
<
TAccountRent
>
,
>
,
>
Type Parameters
TAccountRegistrar
extends
InstructionAccountInput
TAccountRealm
extends
InstructionAccountInput
TAccountGovernanceProgramId
extends
InstructionAccountInput
TAccountRealmGoverningTokenMint
extends
InstructionAccountInput
TAccountRealmAuthority
extends
InstructionSignerInput
TAccountPayer
extends
InstructionSignerInput
TAccountSystemProgram
extends
InstructionAccountInput
TAccountRent
extends
InstructionAccountInput
TProgramAddress
extends
Address
=
Address
<
"vsr2nfGVNHmSY8uxoBGqq8AQbwz3JwaEaHqGbsTPXqQ"
>
Parameters
input
:
CreateRegistrarInput
<
TAccountRegistrar
,
TAccountRealm
,
TAccountGovernanceProgramId
,
TAccountRealmGoverningTokenMint
,
TAccountRealmAuthority
,
TAccountPayer
,
TAccountSystemProgram
,
TAccountRent
,
>
Optional
config
:
{
programAddress
?:
TProgramAddress
|
{
address
:
TProgramAddress
}
}
Returns
CreateRegistrarInstruction
<
TProgramAddress
,
ResolvedInstructionAccountMeta
<
TAccountRegistrar
,
InstructionAccountInputAddress
<
TAccountRegistrar
>
,
>
,
ResolvedInstructionAccountMeta
<
TAccountRealm
,
InstructionAccountInputAddress
<
TAccountRealm
>
,
>
,
ResolvedInstructionAccountMeta
<
TAccountGovernanceProgramId
,
InstructionAccountInputAddress
<
TAccountGovernanceProgramId
>
,
>
,
ResolvedInstructionAccountMeta
<
TAccountRealmGoverningTokenMint
,
InstructionAccountInputAddress
<
TAccountRealmGoverningTokenMint
>
,
>
,
ResolvedInstructionAccountMeta
<
TAccountRealmAuthority
,
InstructionAccountInputAddress
<
TAccountRealmAuthority
>
,
>
,
ResolvedInstructionAccountMeta
<
TAccountPayer
,
InstructionAccountInputAddress
<
TAccountPayer
>
,
>
,
ResolvedInstructionAccountMeta
<
TAccountSystemProgram
,
InstructionAccountInputAddress
<
TAccountSystemProgram
>
,
>
,
ResolvedInstructionAccountMeta
<
TAccountRent
,
InstructionAccountInputAddress
<
TAccountRent
>
,
>
,
>
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
Coda by Ian Macalinao
Loading...