Is it possible to fetch the aToken address with underlying asset token address?

Expert

Is it possible to fetch the aToken address using just the underlying asset token address and vice versa?

Answers 1

You can get the address of the underlying asset of an aToken if you have the aToken address.

You can call the UNDERLYING_ASSET_ADDRESS function which will return the address of the underlying.

You can't do it the other way around.