Coda by Ian Macalinao
Preparing search index...
@solana-programs/tribeca
getCreateGovernorInstruction
Function getCreateGovernorInstruction
getCreateGovernorInstruction
<
TAccountBase
extends
InstructionSignerInput
,
TAccountGovernor
extends
InstructionAccountInput
,
TAccountSmartWallet
extends
InstructionAccountInput
,
TAccountPayer
extends
InstructionSignerInput
,
TAccountSystemProgram
extends
InstructionAccountInput
,
TProgramAddress
extends
Address
=
Address
<
"Govz1VyoyLD5BL6CSCxUJLVLsQHRwjfFj1prNsdNg5Jw"
>
,
>
(
input
:
CreateGovernorInput
<
TAccountBase
,
TAccountGovernor
,
TAccountSmartWallet
,
TAccountPayer
,
TAccountSystemProgram
,
>
,
config
?:
{
programAddress
?:
TProgramAddress
|
{
address
:
TProgramAddress
}
;
}
,
)
:
CreateGovernorInstruction
<
TProgramAddress
,
ResolvedInstructionAccountMeta
<
TAccountBase
,
InstructionAccountInputAddress
<
TAccountBase
>
,
>
,
ResolvedInstructionAccountMeta
<
TAccountGovernor
,
InstructionAccountInputAddress
<
TAccountGovernor
>
,
>
,
ResolvedInstructionAccountMeta
<
TAccountSmartWallet
,
InstructionAccountInputAddress
<
TAccountSmartWallet
>
,
>
,
ResolvedInstructionAccountMeta
<
TAccountPayer
,
InstructionAccountInputAddress
<
TAccountPayer
>
,
>
,
ResolvedInstructionAccountMeta
<
TAccountSystemProgram
,
InstructionAccountInputAddress
<
TAccountSystemProgram
>
,
>
,
>
Type Parameters
TAccountBase
extends
InstructionSignerInput
TAccountGovernor
extends
InstructionAccountInput
TAccountSmartWallet
extends
InstructionAccountInput
TAccountPayer
extends
InstructionSignerInput
TAccountSystemProgram
extends
InstructionAccountInput
TProgramAddress
extends
Address
=
Address
<
"Govz1VyoyLD5BL6CSCxUJLVLsQHRwjfFj1prNsdNg5Jw"
>
Parameters
input
:
CreateGovernorInput
<
TAccountBase
,
TAccountGovernor
,
TAccountSmartWallet
,
TAccountPayer
,
TAccountSystemProgram
,
>
Optional
config
:
{
programAddress
?:
TProgramAddress
|
{
address
:
TProgramAddress
}
}
Returns
CreateGovernorInstruction
<
TProgramAddress
,
ResolvedInstructionAccountMeta
<
TAccountBase
,
InstructionAccountInputAddress
<
TAccountBase
>
,
>
,
ResolvedInstructionAccountMeta
<
TAccountGovernor
,
InstructionAccountInputAddress
<
TAccountGovernor
>
,
>
,
ResolvedInstructionAccountMeta
<
TAccountSmartWallet
,
InstructionAccountInputAddress
<
TAccountSmartWallet
>
,
>
,
ResolvedInstructionAccountMeta
<
TAccountPayer
,
InstructionAccountInputAddress
<
TAccountPayer
>
,
>
,
ResolvedInstructionAccountMeta
<
TAccountSystemProgram
,
InstructionAccountInputAddress
<
TAccountSystemProgram
>
,
>
,
>
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
Coda by Ian Macalinao
Loading...