consistent examples

This commit is contained in:
Matthias Kretschmann 2020-12-11 00:37:02 +01:00
parent 253ba818d6
commit e51051bb97
Signed by: m
GPG Key ID: 606EEEF3C479A91F
1 changed files with 4 additions and 3 deletions

View File

@ -45,7 +45,7 @@ This subgraph is deployed for all networks the Ocean Protocol contracts are depl
```graphql
{
datatokens {
datatokens(orderBy: createTime, orderDirection: desc) {
address
symbol
name
@ -57,13 +57,14 @@ This subgraph is deployed for all networks the Ocean Protocol contracts are depl
}
```
**All pool transactions for a user**
**All pool transactions for a given user**
```graphql
{
poolTransactions(
orderBy: timestamp
where: { userAddressStr: $userAddress }
orderBy: timestamp
orderDirection: desc
) {
poolAddressStr
}