On this page

latest contributor to this doc

Last Edit:



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.

coinstringthe name of the coin address context
fromstringinput address
to_address_formatobjectA standard AddressFormat object

addressstringthe result of address conversion