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
- Create an account and generate your application's API keys
Create an account on Quant Connect. Then, register your application to generate API keys to authorise your requests on Overledger APIs.
- Generate a Bearer Token You must generate an authentication token in order to use the Overledger APIs.
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....."
}
Updated about 20 hours ago