Coda by Ian Macalinao
Preparing search index...
@macalinao/clients-mpl-bubblegum
getCollectV2Instruction
Function getCollectV2Instruction
getCollectV2Instruction
<
TAccountTreeAuthority
extends
string
,
TAccountDestination
extends
string
,
TProgramAddress
extends
Address
=
Address
<
"BGUMAp9Gq7iTEuizy4pqaxsTyUCBK68MDfK752saRPUY"
>
,
>
(
input
:
CollectV2Input
<
TAccountTreeAuthority
,
TAccountDestination
>
,
config
?:
{
programAddress
?:
TProgramAddress
}
,
)
:
CollectV2Instruction
<
TProgramAddress
,
TAccountTreeAuthority
,
TAccountDestination
,
>
Collects accumulated protocol fees from a V2 tree's
TreeConfig
PDA.
Type Parameters
TAccountTreeAuthority
extends
string
TAccountDestination
extends
string
TProgramAddress
extends
Address
=
Address
<
"BGUMAp9Gq7iTEuizy4pqaxsTyUCBK68MDfK752saRPUY"
>
Parameters
input
:
CollectV2Input
<
TAccountTreeAuthority
,
TAccountDestination
>
Optional
config
:
{
programAddress
?:
TProgramAddress
}
Returns
CollectV2Instruction
<
TProgramAddress
,
TAccountTreeAuthority
,
TAccountDestination
,
>
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
Coda by Ian Macalinao
Loading...
Collects accumulated protocol fees from a V2 tree's
TreeConfigPDA.