convertaddress coin from to_address_format
convertaddress method converts an input address to a specified address format.
For example, this method can be used to convert a BCH address from legacy to cash address format and vice versa.
Or this can be used to convert an ETH address from single to mixed case checksum format.
|the name of the coin address context
|address format to which the input address should be converted
|address format to which the input address should be converted, possible values:
mixedcase for ETH/ERC20 coins;
standard for UTXO coins
|network prefix for
cashaddress format. Possible values:
bitcoincash for BCH mainnet;
bchtest for BCH testnet;
bchreg for BCH regtest
|the result of address conversion