Skip to content
Snippets Groups Projects

indexer check

Merged Hugo Trentesaux requested to merge hugo-dev into master
9 files
+ 324
103
Compare changes
  • Side-by-side
  • Inline
Files
9
@@ -39,9 +39,27 @@ query IdentityNameByPubkey($pubkey: String!) {
@@ -39,9 +39,27 @@ query IdentityNameByPubkey($pubkey: String!) {
}
}
}
}
 
query WasIdentityNameByPubkey($pubkey: String!) {
 
accountById(id: $pubkey) {
 
wasIdentity {
 
identity {
 
name
 
}
 
}
 
}
 
}
 
query LatestBlock {
query LatestBlock {
blocks(limit: 1, orderBy: height_DESC) {
blocks(limit: 1, orderBy: height_DESC) {
height
height
 
hash
 
}
 
}
 
 
query BlockByNumber($number: Int!) {
 
blocks(where: { height_eq: $number }) {
 
height
 
hash
}
}
}
}
Loading