Skip to content

cross-chain relationship is hidden #173

@YouStillAlive

Description

@YouStillAlive

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
  }
}

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions