get https://web3api.io/api/v2/addresses//converter
Converts the specified address in the Bitcoin Cash & Legacy formats.
Response Data
Field | Type | Description |
---|---|---|
isCashAddress | boolean | True if the address specified is in the Bitcoin Cash format, false otherwise (for example bitcoincash:pp8xkgfvyjhkdkta0awjx7ud7qmnwd0rvy5vdtxqnv ). |
isLegacyAddress | boolean | True if the address specified is in the Bitcoin Legacy format, false otherwise (for example 38qexzy1jDZ49RgPAeaDqVdys6xhyZk1N2 ). |
cashAddress | string | Address in the Bitcoin Cash format. |
legacyAddress | string | Address in the Bitcoin Legacy format. |