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