Sybil Prevention Credential powered by Nomis.cc

Curated by

Nomis Protocol

ID Type

EVM ADDRESS

Cred Type

SUBGRAPH

Last Update Time

11/15/2024, 06:44:32

Query

query info($address: Bytes!) {
  changedScores(
    where: {owner: $address, calculationModel: 11, chainId: 9999999999999}, 
    first: 1, 
    orderBy: blockNumber, 
    orderDirection: desc
  ) {
    id
    tokenId
    owner
    score
    calculationModel
    blockNumber
    blockTimestamp
    transactionHash
  }
}

Expression

function(resp) {
  if (resp != null 
    && (resp.changedScores != null 
    && resp.changedScores.length > 0 
    && resp.changedScores[0].score >= 4000)) 
  {
     return 1
  }
  return 0
}