Coda by Ian Macalinao
Preparing search index...
@macalinao/clients-mpl-bubblegum
getDelegateV2InstructionAsync
Function getDelegateV2InstructionAsync
getDelegateV2InstructionAsync
<
TAccountTreeAuthority
extends
string
,
TAccountPayer
extends
string
,
TAccountLeafOwner
extends
string
,
TAccountPreviousLeafDelegate
extends
string
,
TAccountNewLeafDelegate
extends
string
,
TAccountMerkleTree
extends
string
,
TAccountLogWrapper
extends
string
,
TAccountCompressionProgram
extends
string
,
TAccountSystemProgram
extends
string
,
TProgramAddress
extends
Address
=
Address
<
"BGUMAp9Gq7iTEuizy4pqaxsTyUCBK68MDfK752saRPUY"
>
,
>
(
input
:
DelegateV2AsyncInput
<
TAccountTreeAuthority
,
TAccountPayer
,
TAccountLeafOwner
,
TAccountPreviousLeafDelegate
,
TAccountNewLeafDelegate
,
TAccountMerkleTree
,
TAccountLogWrapper
,
TAccountCompressionProgram
,
TAccountSystemProgram
,
>
,
config
?:
{
programAddress
?:
TProgramAddress
}
,
)
:
Promise
<
DelegateV2Instruction
<
TProgramAddress
,
TAccountTreeAuthority
,
TAccountPayer
,
TAccountLeafOwner
,
TAccountPreviousLeafDelegate
,
TAccountNewLeafDelegate
,
TAccountMerkleTree
,
TAccountLogWrapper
,
TAccountCompressionProgram
,
TAccountSystemProgram
,
[
]
,
>
,
>
Sets (or clears) the delegate authority for a
LeafSchema
V2 leaf node.
Type Parameters
TAccountTreeAuthority
extends
string
TAccountPayer
extends
string
TAccountLeafOwner
extends
string
TAccountPreviousLeafDelegate
extends
string
TAccountNewLeafDelegate
extends
string
TAccountMerkleTree
extends
string
TAccountLogWrapper
extends
string
TAccountCompressionProgram
extends
string
TAccountSystemProgram
extends
string
TProgramAddress
extends
Address
=
Address
<
"BGUMAp9Gq7iTEuizy4pqaxsTyUCBK68MDfK752saRPUY"
>
Parameters
input
:
DelegateV2AsyncInput
<
TAccountTreeAuthority
,
TAccountPayer
,
TAccountLeafOwner
,
TAccountPreviousLeafDelegate
,
TAccountNewLeafDelegate
,
TAccountMerkleTree
,
TAccountLogWrapper
,
TAccountCompressionProgram
,
TAccountSystemProgram
,
>
Optional
config
:
{
programAddress
?:
TProgramAddress
}
Returns
Promise
<
DelegateV2Instruction
<
TProgramAddress
,
TAccountTreeAuthority
,
TAccountPayer
,
TAccountLeafOwner
,
TAccountPreviousLeafDelegate
,
TAccountNewLeafDelegate
,
TAccountMerkleTree
,
TAccountLogWrapper
,
TAccountCompressionProgram
,
TAccountSystemProgram
,
[
]
,
>
,
>
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
Coda by Ian Macalinao
Loading...
Sets (or clears) the delegate authority for a
LeafSchemaV2 leaf node.