Create an Asset Pool
An Asset Pool is a collection of funds from various currencies and networks, all grouped together. That means all actions can be focused at the pool level without having to handle multiple addresses and key pairs to facilitate deposits and withdrawals. You can create as many as you need to handle your different funds.
To create an Asset Pool to hold all associated crypto addresses, send the POST /digital/v1/asset-pools
request with the following body parameters:
{
"name": "Asset Pool One",
"reference": "AssetPoolOne"
}
The details to be sent in this request are as follows:
Field | Description |
---|---|
name | The name of the asset pool. |
reference | A unique reference for the asset pool. |
Upon successfully submitting the request, you receive details of the new Asset Pool:
{
"id": "2be1cc9c-a5af-47e2-9dba-b7b82317e600",
"name": "Asset Pool One",
"reference": "AssetPoolOne",
"tenantId": "235b8540-202a-41ab-9c9b-fc74b292d9c1"
}
Field | Description |
---|---|
id | The unique identifier of the Asset Pool, as specified in the request. id is used to link all addresses to the created Asset Pool |
name | The name of the Asset Pool, as specified in the request |
reference | A unique reference for the Asset Pool |
tenantId | A unique identifier for the tenant |
At this stage, the Asset Pool only displays the above four options, as there are no addresses added to it yet. As long as addresses of different currencies are added, the currency and totals will appear on the relevant Asset Pools.
Updated 11 days ago