Getting Started
Credential Advanced
- Overview
- API Credential
- REST Credential
- GraphQL Credential
- Contract Query Credential
GraphQL API
- Overview
- Quest
- Credential
- Queries
- Examples
- Mutaions
- Space
Smart Contract
- Introduction
- Contracts
- Audit Reports
Credential
Find Credential details by CredID (Credential ID)
Arguments
id
: ID (required)
Find Credential’s ID.
Credential possible returns
Cred
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 to read the relevant properties
eligible
: Int!
Determines whether the specified address completes this Cred
address
: String! (required)
User Address
campaignId
: ID
Quest ID
credentialItems
: CredItemConnection!
All Holders information of Credential
first
: Int
after
: String
totalCount
: Int!
Number of Holders
edges
: [CredItemEdge!]!
node
: String!
cursor
: String!
pageInfo
: PageInfo!
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
list
: [String!]!
Returns a list of address data for Holders
values
: [CredValue!]
Returns a list of Holders details
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