From b8f1533aa05147406a0a92f6d74d614e394cfbf1 Mon Sep 17 00:00:00 2001 From: franz Date: Fri, 28 Jun 2024 11:19:55 +0200 Subject: [PATCH] change api example --- .../data-and-analytics/balancer-api.md | 37 +++++-------------- 1 file changed, 9 insertions(+), 28 deletions(-) diff --git a/docs/data-and-analytics/data-and-analytics/balancer-api.md b/docs/data-and-analytics/data-and-analytics/balancer-api.md index c8ea25fc..a08019b5 100644 --- a/docs/data-and-analytics/data-and-analytics/balancer-api.md +++ b/docs/data-and-analytics/data-and-analytics/balancer-api.md @@ -33,37 +33,18 @@ Queries are organised around these main domains: Further documentation is availa address name } - displayTokens { - ...on GqlPoolTokenDisplay { - symbol - } + poolTokens { + address + symbol + balance + hasNestedPool } dynamicData { totalLiquidity - apr { - swapApr - nativeRewardApr { - ...on GqlPoolAprTotal { - total - } - } - thirdPartyApr { - ...on GqlPoolAprTotal { - total - } - } - items { - title - apr { - ...on GqlPoolAprRange { - min - max - } - ...on GqlPoolAprTotal { - total - } - } - } + aprItems { + title + type + apr } } }