Preparing search index...
The search index is not available
Documentation
Documentation
@orca-so/whirlpools-client
ParsedClosePositionInstruction
Type Alias ParsedClosePositionInstruction<TProgram, TAccountMetas>
ParsedClosePositionInstruction
:
{
accounts
:
{
position
:
TAccountMetas
[
2
]
;
positionAuthority
:
TAccountMetas
[
0
]
;
positionMint
:
TAccountMetas
[
3
]
;
positionTokenAccount
:
TAccountMetas
[
4
]
;
receiver
:
TAccountMetas
[
1
]
;
tokenProgram
:
TAccountMetas
[
5
]
;
}
;
data
:
ClosePositionInstructionData
;
programAddress
:
Address
<
TProgram
>
;
}
Type Parameters
TProgram
extends
string
=
typeof
WHIRLPOOL_PROGRAM_ADDRESS
TAccountMetas
extends
readonly
IAccountMeta
[]
=
readonly
IAccountMeta
[]
Type declaration
accounts
:
{
position
:
TAccountMetas
[
2
]
;
positionAuthority
:
TAccountMetas
[
0
]
;
positionMint
:
TAccountMetas
[
3
]
;
positionTokenAccount
:
TAccountMetas
[
4
]
;
receiver
:
TAccountMetas
[
1
]
;
tokenProgram
:
TAccountMetas
[
5
]
;
}
data
:
ClosePositionInstructionData
programAddress
:
Address
<
TProgram
>
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
Documentation
Loading...