Coda by Ian Macalinao
Preparing search index...
@solana-programs/quarry
getDelegateCreateQuarryV2InstructionAsync
Function getDelegateCreateQuarryV2InstructionAsync
getDelegateCreateQuarryV2InstructionAsync
<
TAccountOperator
extends
InstructionAccountInput
,
TAccountDelegate
extends
InstructionSignerInput
,
TAccountRewarder
extends
InstructionAccountInput
,
TAccountQuarryMineProgram
extends
InstructionAccountInput
,
TAccountQuarry
extends
InstructionAccountInput
,
TAccountTokenMint
extends
InstructionAccountInput
,
TAccountPayer
extends
InstructionSignerInput
,
TAccountSystemProgram
extends
InstructionAccountInput
,
TProgramAddress
extends
Address
=
Address
<
"QoP6NfrQbaGnccXQrMLUkog2tQZ4C1RFgJcwDnT8Kmz"
>
,
>
(
input
:
DelegateCreateQuarryV2AsyncInput
<
TAccountOperator
,
TAccountDelegate
,
TAccountRewarder
,
TAccountQuarryMineProgram
,
TAccountQuarry
,
TAccountTokenMint
,
TAccountPayer
,
TAccountSystemProgram
,
>
,
config
?:
{
programAddress
?:
TProgramAddress
|
{
address
:
TProgramAddress
}
;
}
,
)
:
Promise
<
DelegateCreateQuarryV2Instruction
<
TProgramAddress
,
ResolvedInstructionAccountMeta
<
TAccountOperator
,
InstructionAccountInputAddress
<
TAccountOperator
>
,
>
,
ResolvedInstructionAccountMeta
<
TAccountDelegate
,
InstructionAccountInputAddress
<
TAccountDelegate
>
,
>
,
ResolvedInstructionAccountMeta
<
TAccountRewarder
,
InstructionAccountInputAddress
<
TAccountRewarder
>
,
>
,
ResolvedInstructionAccountMeta
<
TAccountQuarryMineProgram
,
InstructionAccountInputAddress
<
TAccountQuarryMineProgram
>
,
>
,
ResolvedInstructionAccountMeta
<
TAccountQuarry
,
InstructionAccountInputAddress
<
TAccountQuarry
>
,
>
,
ResolvedInstructionAccountMeta
<
TAccountTokenMint
,
InstructionAccountInputAddress
<
TAccountTokenMint
>
,
>
,
ResolvedInstructionAccountMeta
<
TAccountPayer
,
InstructionAccountInputAddress
<
TAccountPayer
>
,
>
,
ResolvedInstructionAccountMeta
<
TAccountSystemProgram
,
InstructionAccountInputAddress
<
TAccountSystemProgram
>
,
>
,
[
]
,
>
,
>
Type Parameters
TAccountOperator
extends
InstructionAccountInput
TAccountDelegate
extends
InstructionSignerInput
TAccountRewarder
extends
InstructionAccountInput
TAccountQuarryMineProgram
extends
InstructionAccountInput
TAccountQuarry
extends
InstructionAccountInput
TAccountTokenMint
extends
InstructionAccountInput
TAccountPayer
extends
InstructionSignerInput
TAccountSystemProgram
extends
InstructionAccountInput
TProgramAddress
extends
Address
=
Address
<
"QoP6NfrQbaGnccXQrMLUkog2tQZ4C1RFgJcwDnT8Kmz"
>
Parameters
input
:
DelegateCreateQuarryV2AsyncInput
<
TAccountOperator
,
TAccountDelegate
,
TAccountRewarder
,
TAccountQuarryMineProgram
,
TAccountQuarry
,
TAccountTokenMint
,
TAccountPayer
,
TAccountSystemProgram
,
>
Optional
config
:
{
programAddress
?:
TProgramAddress
|
{
address
:
TProgramAddress
}
}
Returns
Promise
<
DelegateCreateQuarryV2Instruction
<
TProgramAddress
,
ResolvedInstructionAccountMeta
<
TAccountOperator
,
InstructionAccountInputAddress
<
TAccountOperator
>
,
>
,
ResolvedInstructionAccountMeta
<
TAccountDelegate
,
InstructionAccountInputAddress
<
TAccountDelegate
>
,
>
,
ResolvedInstructionAccountMeta
<
TAccountRewarder
,
InstructionAccountInputAddress
<
TAccountRewarder
>
,
>
,
ResolvedInstructionAccountMeta
<
TAccountQuarryMineProgram
,
InstructionAccountInputAddress
<
TAccountQuarryMineProgram
>
,
>
,
ResolvedInstructionAccountMeta
<
TAccountQuarry
,
InstructionAccountInputAddress
<
TAccountQuarry
>
,
>
,
ResolvedInstructionAccountMeta
<
TAccountTokenMint
,
InstructionAccountInputAddress
<
TAccountTokenMint
>
,
>
,
ResolvedInstructionAccountMeta
<
TAccountPayer
,
InstructionAccountInputAddress
<
TAccountPayer
>
,
>
,
ResolvedInstructionAccountMeta
<
TAccountSystemProgram
,
InstructionAccountInputAddress
<
TAccountSystemProgram
>
,
>
,
[
]
,
>
,
>
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
Coda by Ian Macalinao
Loading...