Newer
Older
query IdentityNameByIndex($index: Int!) {
identity(where: { index: { _eq: $index } }) {
query NamesByIndexes($indexes: [Int!]!) {
identity(where: { index: { _in: $indexes } }) {
query IdentityInfo($index: Int!) {
identity(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!) {
identity(where: { account: { id: { _eq: $pubkey } } }) {
query WasIdentityNameByPubkey($pubkey: String!) {
accountByPk(id: $pubkey) {
wasIdentity {
identity {
name
}
}
}
}
block(limit: 1, orderBy: { height: DESC }) {
hash
}
}
query BlockByNumber($number: Int!) {
block(where: { height: { _eq: $number } }) {
block(where: { height: { _eq: 0 } }) {