Skip to content

Commit

Permalink
Merge pull request #153 from balancer/api-syntax-fix
Browse files Browse the repository at this point in the history
fix: Add syntax for examples.
  • Loading branch information
johngrantuk authored Sep 12, 2024
2 parents 4490e6c + 0e6238b commit 347977a
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ title: Pools - Swap Events

As this is a CowAMM pool we also use the expanded `GqlPoolSwapEventCowAmm` type to get CowAMM specific swap data.

```
```graphql
{
poolEvents(
where: {typeIn: [SWAP], chainIn: [MAINNET], poolIdIn: ["0xf08d4dea369c456d26a3168ff0024b904f2d8b91"]}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ title: User - Get pool balances

As this is a CowAMM pool we also use the expanded `GqlPoolSwapEventCowAmm` type to get CowAMM specific swap data.

```
```graphql
{
userGetPoolBalances(
address: "0x..."
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ title: User - Get joins & exit events for a pool

# Get pool join & exits events for a user

```
```graphql
{
userGetPoolJoinExits(
poolId: "0x3de27efa2f1aa663ae5d458857e731c129069f29000200000000000000000588"
Expand Down

0 comments on commit 347977a

Please sign in to comment.