Get suggestions
Retrieve metric recommendations based on a specified wallet address
Description
This endpoint facilitates obtaining metric suggestions for a list of wallet addresses. Leveraging the Debank API, it retrieves asset holdings and positions for the aggregations of the address list, generating metric recommendations for all supported assets within the list. Users have the option to filter out minor positions, focusing solely on suggestions for the most significant assets.
Endpoint
GET https://sentry.aleno.ai/suggestions
Query parameters
Name | required | Type | Description |
---|---|---|---|
addresses | required | string list | A list of portfolios for which metric suggestions are sought. |
assetUsdThreshold | optional | number | Specifies the minimum asset holding size, measured in USD, necessary for the asset to be considered for inclusion in the suggestions. The default value is set to 100 USD. |
positionUsdThreshold | optional | number | Specifies the minimum position size, measured in USD, necessary for the position to be considered for inclusion in the suggestions. The default value is set to 100 USD. |
chainId | optional | string | Id of the considered chain. The default value is set to "eth". |
Payload
No payload.
CURL example
Result
Returns a list of Metric objects representing suggested metrics for the aggregated address list.
It also returns a list of Assets
as :
Name | Type | Description |
---|---|---|
tokenAddresses | string | Address of the asset |
amount | number | amount of token held |
usdAmount | number | amount of token held in USD |
and a list of Positions
for the aggregated wallet as :
Name | Type | Description |
---|---|---|
tokenAddresses | string | Address of the token in the position |
amount | number | amount of token held in the position |
usdAmount | number | amount of token held in the position in USD |
contractAddress | string | contract address where the position is held |
positionType | string | type of the position |
protocolId | string | Id of the protocol as returned by debank |
protocolName | string | Name of the protocol |
Last updated