Newer
Older
query IdentityNameByIndex($index: Int!) {
identities(where: { index_eq: $index }) {
query IdentityInfo($index: Int!) {
identities(where: { index_eq: $index }) {
certIssued(orderBy: expireOn_DESC, where: { isActive_eq: true }) {
receiver {
name
}
}
certReceived(orderBy: expireOn_DESC, where: { isActive_eq: true }) {
issuer {
name
}
}
linkedAccount {
smithCertIssued(orderBy: createdOn_DESC) {
receiver {
name
}
}
smithCertReceived(orderBy: createdOn_DESC) {
issuer {
name
}
}
query IdentityNameByPubkey($pubkey: String!) {
identities(where: { account: { id_eq: $pubkey } }) {
query WasIdentityNameByPubkey($pubkey: String!) {
accountById(id: $pubkey) {
wasIdentity {
identity {
name
}
}
}
}
blocks(limit: 1, orderBy: height_DESC) {
height
hash
}
}
query BlockByNumber($number: Int!) {
blocks(where: { height_eq: $number }) {
height
hash
blocks(where: { height_eq: 0 }) {