v1

latestOpenAPI 3.1.02026-07-243035381.4 MB
Cardano - Rosetta

deriveAccount

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.

post/construction/derive

Request body

metadataobject

Example request

{
  "network_identifier": {
    "blockchain": "bitcoin",
    "network": "mainnet",
    "sub_network_identifier": {
      "network": "shard 1",
      "metadata": {
        "producer": "0x52bc44d5378309ee2abf1539bf71de1b7d7be3b5"
      }
    }
  }
}

Response

Expected response to a valid request

addressstring

[DEPRECATED by account_identifier in v1.4.4] Address in network-specific format.

metadataobject

Example response

{
  "account_identifier": {
    "address": "0x3a065000ab4183c6bf581dc1e55a605455fc6d61",
    "sub_account": {
      "address": "0x6b175474e89094c44da98b954eedeac495271d0f"
    }
  }
}