Is it possible to fetch the aToken address with underlying asset token address?
- undefined
- undefined Aave
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](https://docs.aave.com/developers/v/2.0/the-core-protocol/atokens#underlying_asset_address) function which will return the address of the underlying. You can't do it the other way around.