Coda by Ian Macalinao
Preparing search index...
@macalinao/clients-spl-governance
CreateRealmInstruction
Type Alias CreateRealmInstruction<TProgram, TAccountRealmAccount, TAccountRealmAuthority, TAccountCommunityTokenMint, TAccountCommunityTokenHoldingAccount, TAccountPayer, TAccountSystemProgram, TAccountTokenProgram, TAccountRent, TAccountCouncilTokenMint, TAccountCouncilTokenHoldingAccount, TAccountRealmConfig, TAccountCommunityVoterWeightAddin, TAccountMaxCommunityVoterWeightAddin, TAccountCouncilVoterWeightAddin, TAccountMaxCouncilVoterWeightAddin, TRemainingAccounts>
CreateRealmInstruction
:
Instruction
<
TProgram
>
&
InstructionWithData
<
ReadonlyUint8Array
,
>
&
InstructionWithAccounts
<
[
TAccountRealmAccount
extends
string
?
WritableAccount
<
TAccountRealmAccount
>
:
TAccountRealmAccount
,
TAccountRealmAuthority
extends
string
?
ReadonlyAccount
<
TAccountRealmAuthority
>
:
TAccountRealmAuthority
,
TAccountCommunityTokenMint
extends
string
?
ReadonlyAccount
<
TAccountCommunityTokenMint
>
:
TAccountCommunityTokenMint
,
TAccountCommunityTokenHoldingAccount
extends
string
?
WritableAccount
<
TAccountCommunityTokenHoldingAccount
>
:
TAccountCommunityTokenHoldingAccount
,
TAccountPayer
extends
string
?
WritableSignerAccount
<
TAccountPayer
>
&
AccountSignerMeta
<
TAccountPayer
,
>
:
TAccountPayer
,
TAccountSystemProgram
extends
string
?
ReadonlyAccount
<
TAccountSystemProgram
>
:
TAccountSystemProgram
,
TAccountTokenProgram
extends
string
?
ReadonlyAccount
<
TAccountTokenProgram
>
:
TAccountTokenProgram
,
TAccountRent
extends
string
?
ReadonlyAccount
<
TAccountRent
>
:
TAccountRent
,
TAccountCouncilTokenMint
extends
string
?
ReadonlyAccount
<
TAccountCouncilTokenMint
>
:
TAccountCouncilTokenMint
,
TAccountCouncilTokenHoldingAccount
extends
string
?
WritableAccount
<
TAccountCouncilTokenHoldingAccount
>
:
TAccountCouncilTokenHoldingAccount
,
TAccountRealmConfig
extends
string
?
WritableAccount
<
TAccountRealmConfig
>
:
TAccountRealmConfig
,
TAccountCommunityVoterWeightAddin
extends
string
?
ReadonlyAccount
<
TAccountCommunityVoterWeightAddin
>
:
TAccountCommunityVoterWeightAddin
,
TAccountMaxCommunityVoterWeightAddin
extends
string
?
ReadonlyAccount
<
TAccountMaxCommunityVoterWeightAddin
>
:
TAccountMaxCommunityVoterWeightAddin
,
TAccountCouncilVoterWeightAddin
extends
string
?
ReadonlyAccount
<
TAccountCouncilVoterWeightAddin
>
:
TAccountCouncilVoterWeightAddin
,
TAccountMaxCouncilVoterWeightAddin
extends
string
?
ReadonlyAccount
<
TAccountMaxCouncilVoterWeightAddin
>
:
TAccountMaxCouncilVoterWeightAddin
,
...
TRemainingAccounts
,
]
,
>
Type Parameters
TProgram
extends
string
=
typeof
SPL_GOVERNANCE_PROGRAM_ADDRESS
TAccountRealmAccount
extends
string
|
AccountMeta
=
string
TAccountRealmAuthority
extends
string
|
AccountMeta
=
string
TAccountCommunityTokenMint
extends
string
|
AccountMeta
=
string
TAccountCommunityTokenHoldingAccount
extends
string
|
AccountMeta
=
string
TAccountPayer
extends
string
|
AccountMeta
=
string
TAccountSystemProgram
extends
string
|
AccountMeta
=
"11111111111111111111111111111111"
TAccountTokenProgram
extends
string
|
AccountMeta
=
"TokenkegQfeZyiNwAJbNbGKPFXCWuBvf9Ss623VQ5DA"
TAccountRent
extends
string
|
AccountMeta
=
"SysvarRent111111111111111111111111111111111"
TAccountCouncilTokenMint
extends
string
|
AccountMeta
=
string
TAccountCouncilTokenHoldingAccount
extends
string
|
AccountMeta
=
string
TAccountRealmConfig
extends
string
|
AccountMeta
=
string
TAccountCommunityVoterWeightAddin
extends
string
|
AccountMeta
=
string
TAccountMaxCommunityVoterWeightAddin
extends
string
|
AccountMeta
=
string
TAccountCouncilVoterWeightAddin
extends
string
|
AccountMeta
=
string
TAccountMaxCouncilVoterWeightAddin
extends
string
|
AccountMeta
=
string
TRemainingAccounts
extends
readonly
AccountMeta
[]
=
[
]
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
Coda by Ian Macalinao
Loading...