Coda by Ian Macalinao
Preparing search index...
@macalinao/clients-voter-stake-registry
getWithdrawInstruction
Function getWithdrawInstruction
getWithdrawInstruction
<
TAccountRegistrar
extends
string
,
TAccountVoter
extends
string
,
TAccountVoterAuthority
extends
string
,
TAccountTokenOwnerRecord
extends
string
,
TAccountVoterWeightRecord
extends
string
,
TAccountVault
extends
string
,
TAccountDestination
extends
string
,
TAccountTokenProgram
extends
string
,
TProgramAddress
extends
Address
=
Address
<
"vsr2nfGVNHmSY8uxoBGqq8AQbwz3JwaEaHqGbsTPXqQ"
>
,
>
(
input
:
WithdrawInput
<
TAccountRegistrar
,
TAccountVoter
,
TAccountVoterAuthority
,
TAccountTokenOwnerRecord
,
TAccountVoterWeightRecord
,
TAccountVault
,
TAccountDestination
,
TAccountTokenProgram
,
>
,
config
?:
{
programAddress
?:
TProgramAddress
}
,
)
:
WithdrawInstruction
<
TProgramAddress
,
TAccountRegistrar
,
TAccountVoter
,
TAccountVoterAuthority
,
TAccountTokenOwnerRecord
,
TAccountVoterWeightRecord
,
TAccountVault
,
TAccountDestination
,
TAccountTokenProgram
,
>
Type Parameters
TAccountRegistrar
extends
string
TAccountVoter
extends
string
TAccountVoterAuthority
extends
string
TAccountTokenOwnerRecord
extends
string
TAccountVoterWeightRecord
extends
string
TAccountVault
extends
string
TAccountDestination
extends
string
TAccountTokenProgram
extends
string
TProgramAddress
extends
Address
=
Address
<
"vsr2nfGVNHmSY8uxoBGqq8AQbwz3JwaEaHqGbsTPXqQ"
>
Parameters
input
:
WithdrawInput
<
TAccountRegistrar
,
TAccountVoter
,
TAccountVoterAuthority
,
TAccountTokenOwnerRecord
,
TAccountVoterWeightRecord
,
TAccountVault
,
TAccountDestination
,
TAccountTokenProgram
,
>
Optional
config
:
{
programAddress
?:
TProgramAddress
}
Returns
WithdrawInstruction
<
TProgramAddress
,
TAccountRegistrar
,
TAccountVoter
,
TAccountVoterAuthority
,
TAccountTokenOwnerRecord
,
TAccountVoterWeightRecord
,
TAccountVault
,
TAccountDestination
,
TAccountTokenProgram
,
>
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
Coda by Ian Macalinao
Loading...