2020-12-21 03:59:25 +01:00
|
|
|
const String getMyRepositories = r'''
|
|
|
|
query ($pubkey: String!, $number: Int!) {
|
|
|
|
txsHistoryBc(
|
|
|
|
pubkeyOrScript: $pubkey
|
|
|
|
pagination: { pageSize: $number, ord: DESC }
|
|
|
|
) {
|
|
|
|
both {
|
|
|
|
pageInfo {
|
|
|
|
hasPreviousPage
|
|
|
|
hasNextPage
|
2020-12-21 21:57:26 +01:00
|
|
|
startCursor
|
|
|
|
endCursor
|
2020-12-21 03:59:25 +01:00
|
|
|
}
|
|
|
|
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
|
|
|
|
}
|
|
|
|
}
|
|
|
|
''';
|