Logo
Fireblocks API Documentation

Convert a segwit address to legacy format

POST {{baseUrl}}/vault/accounts/:vaultAccountId/:assetId/addresses/:addressId/create_legacy

Converts an existing segwit address to the legacy format.

 

Body PARAM

Key Datatype Required Description 



HEADERS

Key Datatype Required Description 
Idempotency-Key
string A unique identifier for the request. If the request is sent multiple times with the same idempotency key, the server will return the same response as the first request. The idempotency key is valid for 24 hours.
Accept
string




RESPONSES

status OK

{ "address": "<string>", "legacyAddress": "<string>", "enterpriseAddress": "<string>", "tag": "<string>", "bip44AddressIndex": "<integer>" }



Curl
curl -X POST 'https://api.fireblocks.io/v1/vault/accounts/:vaultAccountId/:assetId/addresses/:addressId/create_legacy' -H 'Idempotency-Key: <string>' -H 'Accept: application/json'

ENDPOINTS