v1

latestOpenAPI 3.0.02026-08-04134348905.1 KB
Addresses

Provision a deposit address for a wallet

Permissions required: Create address

This endpoint allows you to request an asynchronous provision of a signed deposit address for a given wallet. For UTXO-based wallets a new address will always be provisioned upon request. For account-based wallets only one address may be provisioned per wallet and subsequent attempts will return the previously provisioned address.

Newly requested addresses may not be available for several minutes once requested.

post/wallets/{walletId}/addresses

Path parameters

walletIdstring required

An ID uniquely identifying an Anchorage Digital wallet

Response

Provisioned address

Example response

{
  "data": {
    "signedAddress": {
      "address": "2N19AcihQ1a4MxQW658UFHTioUNnMkiHPkw",
      "addressId": "a33f83d96ca95cac000a344aa478a8b8",
      "addressSignaturePayload": "7b225465787441646472657373223a22324e313941636968513161344d78515736353855464854696f554e6e4d6b6948506b77227d",
      "certChain": "-----BEGIN CERTIFICATE-----\nMIIBkTCCATigAwIBAgIQExample...\n-----END CERTIFICATE-----\n-----BEGIN CERTIFICATE-----\nMIIBkTCCATigAwIBAgIQExample...\n-----END CERTIFICATE-----\n",
      "signature": "1642000aa9cca8e8610981aefbdb204b361c9dca3fa067b88fdacfba7a0f620d721378a33f4bbadad3923e633a4d712646d1e8e314e9fcb4aa4102c0581f6503",
      "signatureVersion": "V2",
      "walletId": "a33f83d96ca95cac000a344aa478a8b8"
    }
  }
}