Generate a DLT network address

What is a DLT network address

The DLT network address is the address generated for each asset you hold under your unique hdAccountId and it is the network address for your asset on that specific Distributed Ledger Network. When you generate a DLT network address this creates both a public and private key for your asset.

Prerequisites


Call the endpoint

To generate a DLT network address for you can use the endpoint:

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

To use this endpoint you need to pass in the DLT network details to create the asset address for that specific network:

curl --request POST \
     --url https://https://hook.eu2.make.com/f7jjioctt4fyssxxnxm5r1nv0ulm4vmh \
     --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 receive a response with the address and public key of your asset:

{
  "address": "0xF2108FA9B0A5B2a13ccA17d09f7c0f4ea95B8372",
  "publicKey": "046e145ccef1033dea239875dd00dfb4fee6e3348b8....."
 }