When the position is burned, a CetusLPBurnProof will be returned. Compared to the burn_lp function, this V2 version does not require the pool object as a parameter, making it more convenient to use. The function will automatically verify the position's validity through the position object itself. This design also enables users to create a pool, add liquidity, and burn the position all within a single transaction.
constpos_id='0x4e1970683fc49de834478339724509...'// is burn successconsttxb=awaitsdk.Burn.createBurnLPV2Payload(pos_id)constsimulate_res=awaitsdk.FullClient.devInspectTransactionBlock({ transactionBlock: txb, sender: account,})