0

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

0 shares of AQUA/Simpfarm LP

1 Answer 1

0

What 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=
0

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.