> ## Documentation Index
> Fetch the complete documentation index at: https://docs.galxe.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Credential

Find Credential details by CredID (Credential ID)

**Arguments**

`id`: ID (required)\
Find Credential's ID.

**Credential possible returns**\
`Cred`

<Accordion title="Show fields">
  `id`: ID!\
  Credential unique ID

  `name`: String!\
  Credential name/title

  `description`: String!\
  Credential description

  `chain`: Chain\
  Credential Related chain

  `referenceLink`: String!\
  Call-to-Action, which is the link you go to after clicking on it

  `itemCount`: Int!\
  of Holders, which is the number of holders

  `lastUpdate`: Int!\
  When the configuration was last updated

  `lastSync`: Int!\
  The last time data was synchronized

  `lastSyncedBlock`: Int!\
  The block where data was last synchronized

  `syncStatus`: SyncStatus!\
  Synchronizing the state of data, SYNCED or SYNCING

  `credType`: CredType!\
  Credential Type

  `credSource`: CredSource!\
  Credential Source

  `recurrence`: CredDimensionConfig\
  Credential recurrence type (NONE、DAILY、WEEKLY、MONTHLY)

  `dimensionConfig`: dimensionConfig\
  Credential dimension (SINGLE\_DIMENSION、MULTI\_DIMENSION)

  `curatorSpaceID`: Int!\
  Unique ID of the Space to which it belongs

  `curatorSpace`: Space\
  Returns a `Space` object, you can refer to [Space Doc][Space Doc] to read the relevant properties

  `eligible`: Int!\
  Determines whether the specified address completes this Cred

  <Accordion title="Show arguments">
    `address`: String! (required)\
    User Address

    `campaignId`: ID\
    Quest ID
  </Accordion>

  `credentialItems`: CredItemConnection!\
  All Holders information of Credential

  <Accordion title="Show arguments">
    `first`: Int

    `after`: String
  </Accordion>

  <Accordion title="Show fields">
    `totalCount`: Int!\
    Number of Holders

    `edges`: \[CredItemEdge!]!

    <Accordion title="Show fields">
      `node`: String!

      `cursor`: String!
    </Accordion>

    `pageInfo`: PageInfo!

    <Accordion title="Show fields">
      `startCursor`: String!\
      Returns the starting index of the data

      `endCursor`: String!\
      Returns the ending index of the data

      `hasNextPage`: Boolean!\
      Whether there is a next page

      `hasPreviousPage`: Boolean!\
      Whether there is a previous page
    </Accordion>

    `list`: \[String!]!\
    Returns a list of address data for Holders

    `values`: \[CredValue!]\
    Returns a list of Holders details

    <Accordion title="Show fields">
      `address`: String!\
      Address of holder

      `spaceUsers`: SpaceUsersCredValue

      `gitcoinPassport`: GitcoinPassportCredValue

      `campaignReferral`: CampaignReferralCredValue\
      The Credential of the referral type can read the count of referrals

      `walletBalance`: WalletBalanceCredValue

      `allow`: Boolean

      `multiDimension`: MultiDimensionCredValue\
      The multi-dimension Credential can read the all the returned values

      `survey`: SurveyCredValue\
      The Credential of the survey type can read the answers of survey

      `quiz`: QuizCredValue\
      The Credential of the quiz type can read the result of quiz

      `galxePassport`: GalxePassportCredValue
    </Accordion>
  </Accordion>
</Accordion>

[Space Doc]: https://docs.galxe.com/quest/graphql-api/space/queries/space
