I had tried to withdraw total amount from a pool liquidity using stellar laboratory BTW, after withdraw, there is 0 shares in wallet as like in below image
How can I clean this 0 shares so that I remove some assets?
Thank you in advance
Stellar Stack Exchange is a question and answer site for developers and users of Stellar and the Stellar Distributed Exchange. It only takes a minute to sign up.
Sign up to join this communityWhat you are seeing here is the existing trustline to the LP. You need to remove the trustline in order to get rid of it with a changeTrust
operation and pass it the pool shares definition as asset.
An example XDR could look like this:
AAAAAgAAAADA0qJsaEfl7cZ+dUZm6eXZLbDto0itsggbvyYXHEvPbwAAAGQB+4VB1v4C5QAAA
AEAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAEAAAABAAAAAMDSomxoR+Xtxn51Rmbp5dktsO2jSK
2yCBu/JhccS89vAAAABgAAAAMAAAAAAAAAAUFRVUEAAAAAW5QuU6wzyP0KgMx8GxqF19g4qcQ
Zd6rRizrwV/jjPfAAAAACU2ltcGZhcm0AAAAAAAAAANOTjaE4TCmvIMcsIRiIK5T7nHDn91UI
FUnWQ2INjBnZAAAAHgAAAAAAAAAAAAAAAAAAAAA=