convertaddress
convertaddress coin from to_address_format
The 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.
| Structure | Type | Description |
|---|---|---|
| coin | string | the name of the coin address context |
| from | string | input address |
| to_address_format | object | A standard AddressFormat object |
| Structure | Type | Description |
|---|---|---|
| address | string | the result of address conversion |