---
title: "Derive an AccountIdentifier from a PublicKey"
method: POST
path: "/construction/derive"
tags: ["Construction"]
---

# Derive an AccountIdentifier from a PublicKey

`POST /construction/derive`

Derive returns the AccountIdentifier associated with a public key.

Blockchains that require an on-chain action to create an
account should not implement this method.

## Request body

- ConstructionDeriveRequest — ConstructionDeriveRequest is passed to the `/construction/derive` endpoint. Network is provided in the request because some blockchains have different address formats for different networks. Metadata is provided in the request because some blockchains allow for multiple address types (i.e. different address for validators vs normal accounts).
  - `network_identifier` NetworkIdentifier, required — unresolved $ref
  - `public_key` PublicKey, required — unresolved $ref
  - `metadata` object

## Response `200`

Expected response to a valid request

- ConstructionDeriveResponse — ConstructionDeriveResponse is returned by the `/construction/derive` endpoint.
  - `address` string — [DEPRECATED by `account_identifier` in `v1.4.4`] Address in network-specific format.
  - `account_identifier` AccountIdentifier — unresolved $ref
  - `metadata` object

## Other responses

- `500` — unexpected error

## Changes

> 50 revisions in range; 1 could not be searched.

- **2020-09-08** `944246e03cfa` — 1 breaking, 1 info
  - the response property `address` became optional for the status `200`
  - added the optional property `account_identifier` to the response with the `200` status
- **2020-08-07** `97f3c6540212` — 1 warning, 1 info
  - removed the optional property `account_identifier` from the response with the `200` status
  - the response property `address` became required for the status `200`

[Change history](https://skmtc.dev/coinbase/apis/rosetta/changes/construction/derive/post.md)

---

[API](https://skmtc.dev/coinbase/apis/rosetta.md) · [All operations](https://skmtc.dev/coinbase/apis/rosetta/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/coinbase/rosetta/revisions/758497aacc08/schema)
