Coda by Ian Macalinao
Preparing search index...
@solana-programs/quarry
getCreateRedeemerInstruction
Function getCreateRedeemerInstruction
getCreateRedeemerInstruction
<
TAccountRedeemer
extends
InstructionAccountInput
,
TAccountIouMint
extends
InstructionAccountInput
,
TAccountRedemptionMint
extends
InstructionAccountInput
,
TAccountPayer
extends
InstructionSignerInput
,
TAccountSystemProgram
extends
InstructionAccountInput
,
TProgramAddress
extends
Address
=
Address
<
"QRDxhMw1P2NEfiw5mYXG79bwfgHTdasY2xNP76XSea9"
>
,
>
(
input
:
CreateRedeemerInput
<
TAccountRedeemer
,
TAccountIouMint
,
TAccountRedemptionMint
,
TAccountPayer
,
TAccountSystemProgram
,
>
,
config
?:
{
programAddress
?:
TProgramAddress
|
{
address
:
TProgramAddress
}
;
}
,
)
:
CreateRedeemerInstruction
<
TProgramAddress
,
ResolvedInstructionAccountMeta
<
TAccountRedeemer
,
InstructionAccountInputAddress
<
TAccountRedeemer
>
,
>
,
ResolvedInstructionAccountMeta
<
TAccountIouMint
,
InstructionAccountInputAddress
<
TAccountIouMint
>
,
>
,
ResolvedInstructionAccountMeta
<
TAccountRedemptionMint
,
InstructionAccountInputAddress
<
TAccountRedemptionMint
>
,
>
,
ResolvedInstructionAccountMeta
<
TAccountPayer
,
InstructionAccountInputAddress
<
TAccountPayer
>
,
>
,
ResolvedInstructionAccountMeta
<
TAccountSystemProgram
,
InstructionAccountInputAddress
<
TAccountSystemProgram
>
,
>
,
>
Type Parameters
TAccountRedeemer
extends
InstructionAccountInput
TAccountIouMint
extends
InstructionAccountInput
TAccountRedemptionMint
extends
InstructionAccountInput
TAccountPayer
extends
InstructionSignerInput
TAccountSystemProgram
extends
InstructionAccountInput
TProgramAddress
extends
Address
=
Address
<
"QRDxhMw1P2NEfiw5mYXG79bwfgHTdasY2xNP76XSea9"
>
Parameters
input
:
CreateRedeemerInput
<
TAccountRedeemer
,
TAccountIouMint
,
TAccountRedemptionMint
,
TAccountPayer
,
TAccountSystemProgram
,
>
Optional
config
:
{
programAddress
?:
TProgramAddress
|
{
address
:
TProgramAddress
}
}
Returns
CreateRedeemerInstruction
<
TProgramAddress
,
ResolvedInstructionAccountMeta
<
TAccountRedeemer
,
InstructionAccountInputAddress
<
TAccountRedeemer
>
,
>
,
ResolvedInstructionAccountMeta
<
TAccountIouMint
,
InstructionAccountInputAddress
<
TAccountIouMint
>
,
>
,
ResolvedInstructionAccountMeta
<
TAccountRedemptionMint
,
InstructionAccountInputAddress
<
TAccountRedemptionMint
>
,
>
,
ResolvedInstructionAccountMeta
<
TAccountPayer
,
InstructionAccountInputAddress
<
TAccountPayer
>
,
>
,
ResolvedInstructionAccountMeta
<
TAccountSystemProgram
,
InstructionAccountInputAddress
<
TAccountSystemProgram
>
,
>
,
>
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
Coda by Ian Macalinao
Loading...