Another one, I'm calling getAmountOut from proxy of maiar pair. The returned value is an base64 encoded hex value that is the amount. I want to use this value to redirect again, how can I decode from base64 to hex in sc with rust? Is there implemented functions for that?
It is only base64 encoded in the api, the contracts deal with the raw values so no need to convert anything :)