gecko/lib/query.dart

48 lines
1.2 KiB
Dart

const String getMyRepositories = r'''
query ($pubkey: String!, $number: Int!, $cursor: String) {
txsHistoryBc(
pubkeyOrScript: $pubkey
pagination: { pageSize: $number, ord: DESC, cursor: $cursor }
) {
both {
pageInfo {
hasPreviousPage
hasNextPage
startCursor
endCursor
}
edges {
direction
node {
currency
issuers
outputs
comment
writtenTime
}
}
}
}
txsHistoryMp(pubkey: $pubkey) {
receiving {
currency
issuers
comment
outputs
writtenTime
}
sending {
currency
issuers
comment
outputs
writtenTime
}
}
currentUd {
amount
base
}
}
''';