Skip to content
Advertisement

Selling tokens and get BNB instead of wBNB?

I made a function that sells a token in the BSC smartchain. However, I want to receive it in BNB directly instead of wBNB. How can I unwrap the wBNB I receive?

JavaScript

Advertisement

Answer

I managed to see what’s wrong, It should be

JavaScript
User contributions licensed under: CC BY-SA
6 People found this is helpful
Advertisement