Provide getL1TokenAddress
and getL2TokenAddress
public actions
#1
Labels
enhancement
New feature or request
getL1TokenAddress
and getL2TokenAddress
public actions
#1
To enable seamless bridging of assets across chains, it is necessary to retrieve the corresponding token address on the other chain for a given asset. This involves implementing two public actions to facilitate the mapping between L1 and L2 token addresses.
Implement the following public actions:
getL1TokensAddress()
- returns the L1 token address equivalent for a L2 token address.getL2TokensAddress()
- returns the L2 token address equivalent for a L1 token address.The text was updated successfully, but these errors were encountered: