Get a DLT network address

The address for a particular asset on a DLT network can be retrieved using the get address endpoint. This address would have been created when you generated a DLT network address. This address for your asset will exist under a specific hdAccountId which will be under one of the service providers (awskms or fireblocks).

Prerequisites

Create a hdAccountId Create a hdAccountId under one of the service providers if you have not already done so.

Generate a DLT network address generate a DLT network address for your asset under your hdAccountId if you have not already done so

Call the endpoint

To retrieve the DLT network address for your asset you can use the endpoint:

https://hook.eu2.make.com/mtn0e6wpoh83mnlahzq0ulexwk1gepr3

To use this endpoint you need to pass in your clientId, service provider and hdAccountId as well as the location information of the DLT network the asset is under:

curl --request POST \
     --url https://https://hook.eu2.make.com/mtn0e6wpoh83mnlahzq0ulexwk1gepr3 \
     --header 'Authorization: Bearer token' \
     --header 'accept: application/json' \
     --header 'content-type: application/json' \
     --data '
{
  "clientId": "6rigmpr3qtji7dbfolrsbdh4ic",
  "serviceProvider": {
      "name": "awskms",
      "hdAccountId": 2
  },
  "location": {
      "technology": "ethereum",
      "network": "ethereum sepolia testnet"
  }
}
'

If the request is successful you will receive a response with the address of your asset:

{
  "address": "0xF2108FA9B0A5B2a13ccA17d09f7c0f4ea95B8372"
}