Gets the burn position by position id
getBurnPosition
obtains detailed information about a specific burn position by calling the sdk.Burn.getBurnPosition(pos_id)
method, where pos_id is the specified burn position ID, and prints the result.
const pos_id = '0x...'
const position_info = await sdk.Burn.getBurnPosition(pos_id)
// result:
position_info: {
id: '0x88678e4cd2681bf41b7f2afdd49c15...',
url: 'https://bq7bkvdje7gvgmv66hrxdy7wx5h5ggtrrnmt66rdkkehb64rvz3q.arweave.net/DD4VVGknzVMyvvHj...',
pool_id: '0xc41621d02d5ee00a7a993b912a8550...',
coin_type_a: '0x26b3bc67befc214058ca78ea9a2690298d731a2d4309485ec3d40198063c4abc::usdc::USDC',
coin_type_b: '0x26b3bc67befc214058ca78ea9a2690298d731a2d4309485ec3d40198063c4abc::cetus::CETUS',
description: 'Cetus Liquidity Position',
name: 'Cetus Burned LP | Pool9-115',
liquidity: '19387676',
clmm_position_id: '0x092f07a470479f86927fe161a5307...',
clmm_pool_id: '0xc41621d02d5ee00a7a993b912a8550...',
tick_lower_index: -443580,
tick_upper_index: 443580,
index: '115',
is_lp_burn: true
}
Last updated