Function.getzrc20fromerc20
@zetachain/toolkit / getZRC20FromERC20
Function: getZRC20FromERC20()
getZRC20FromERC20(
this
,erc20
):Promise
<any
>
Retrieves the ZRC20 contract address for a given ERC20 token.
Parameters
• this: ZetaChainClient
• erc20: string
The ERC20 token address.
Returns
Promise
<any
>
- The ZRC20 contract address.
Throws
Will throw an error if the ERC-20 token is not supported.
Defined in
Continue Learning
Continue with the next part or try a related tutorial
How has your developer experience been?
Share your feedback and help improve it for everyone.