When querying adminListOfPoolzBackId with a ProjectId, we receive the investment provider pool ID. By adding 1 (PoolzBackId + 1 on ChainId 56), we can obtain the refund pool information. However, there is no good/beauty way to retrieve the corresponding withdrawal pool id without performing manual database queries or using myAsset
Proposed Solution
request:
{
"GetProjectPoolIds": {
"ProjectId": "r25hjbixd6q3y6e7ehja30qv"
}
}
response:
{
"WithdrawalAsset": {
"ChainId": 1,
"PoolId": 1120
},
"RefundAsset": {
"ChainId": 56,
"PoolId": 70732
}
}
When querying
adminListOfPoolzBackIdwith aProjectId, we receive the investment provider pool ID. By adding 1 (PoolzBackId + 1onChainId 56), we can obtain the refund pool information. However, there is nogood/beautyway to retrieve the corresponding withdrawal pool id without performing manual database queries or using myAssetProposed Solution
request:
response: