---
title: "Convert a segwit address to legacy format"
method: POST
path: "/vault/accounts/{vaultAccountId}/{assetId}/addresses/{addressId}/create_legacy"
tags: ["Vaults"]
---

# Convert a segwit address to legacy format

`POST /vault/accounts/{vaultAccountId}/{assetId}/addresses/{addressId}/create_legacy`

## Request

- Base URL: `https://api.fireblocks.io/v1`
- URL: `https://api.fireblocks.io/v1/vault/accounts/{vaultAccountId}/{assetId}/addresses/{addressId}/create_legacy`
- Auth: none declared
- TypeScript: <https://skmtc.dev/fireblocks/apis/fireblocks-api/docs/vault/accounts/:vaultAccountId/:assetId/addresses/:addressId/create_legacy/post.ts> (a function with typed inputs; its response is checked against the schema)

Converts an existing segwit address to the legacy format.
Endpoint Permission: Admin, Non-Signing Admin, Signer, Approver, Editor.

## Path parameters

- `vaultAccountId` string, numeric, required
- `assetId` string, required
- `addressId` string, required

## Headers

- `Idempotency-Key` string

## Response `200`

The created address

- CreateAddressResponse
  - `address` string
  - `legacyAddress` string
  - `enterpriseAddress` string
  - `tag` string
  - `bip44AddressIndex` integer

## Other responses

- `default`: Error Response

---

[API](https://skmtc.dev/fireblocks/apis/fireblocks-api.md) - [All operations](https://skmtc.dev/fireblocks/apis/fireblocks-api/llms.txt) - [OpenAPI document](https://skmtc.dev/fireblocks/apis/fireblocks-api/revisions/4eba9965659a?raw)
