Get a list of hdAccountIds

Using your Quant Connect clientId, you can create hdAccountId under a specific service provider (AWS KMS or Fireblocks). Conceptually this hdAccountId represents a container holding assets across various DLT networks. You can retrieve and list all the hdAccountIds associated with your clientId using the Get a list of hdAccountIds endpoint.

Prerequisites

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

Generate a key Generate a private key for your asset under your hdAccountId if you have not already done so

Call the endpoint

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

To use this endpoint you need to pass in your clientId as the only parameter:

curl --request POST \
     --url https://hook.eu2.make.com/abt3yk9j4jt7173v668orcgg5q1gxbgh \
     --header 'accept: application/json' \
     --header 'authorization: Bearer token' \
     --header 'content-type: application/json' \
     --data '
{
  "clientId": "6rigmpr3qtji7dbfolrsbdh4ic"
}
'

If the request is successful you will receive a response with lists of the hdAccountIds under each service provider:

{
  "awskms": [
    1,
    3
  ],
  "fireblocks": [
    105,
    107
  ]
}