dotnet-stellar-sdk icon indicating copy to clipboard operation
dotnet-stellar-sdk copied to clipboard

AssetResponse does not include liquidity_pools_amount

Open GuyWhoKnowsTheGuy opened this issue 2 years ago • 1 comments

Describe the bug AssetResponse does not include liquidity_pools_amount

To Reproduce Steps to reproduce the behavior:

  1. var assetInfo = await Server.Assets.AssetIssuer( [ any existing account ID ] ).Execute();
  2. assetInfo.LiquidityPoolsAmount does not exist. LiquidityPoolsAmount would map to _embedded.records.liquidity_pools_amount.

Expected behavior AssetResponse.LiquidityPoolsAmount would exist and map to _embedded.records.liquidity_pools_amount.

GuyWhoKnowsTheGuy avatar Nov 16 '21 02:11 GuyWhoKnowsTheGuy

Check this to have a reference, it seems i missed adding it https://github.com/stellar/java-stellar-sdk/blob/master/src/main/java/org/stellar/sdk/responses/AssetResponse.java

Kirbyrawr avatar Nov 16 '21 07:11 Kirbyrawr

Fixed in #348.

GuyWhoKnowsTheGuy avatar Dec 09 '23 20:12 GuyWhoKnowsTheGuy