Examples
CredentialInformation
Getting Started
Credential Advanced
- Overview
- API Credential
- REST Credential
- GraphQL Credential
- Contract Query Credential
GraphQL API
- Overview
- Quest
- Credential
- Space
Smart Contract
- Introduction
- Contracts
- Audit Reports
Examples
CredentialInformation
Query credential information
Arguments:
Name | Description |
---|---|
id | Cred id. |
Request:
Copy
query fetchCredInfo($cred_id: ID!){
credential(id: $cred_id){
id
name
description
chain
referenceLink
itemCount
lastUpdate
lastSync
lastSyncedBlock
syncStatus
credType
credSource
recurrence
dimensionConfig
curatorSpaceID
commonInfo{
participateEndTime,
modificationInfo,
seoImage
}
}
}
Variables:
Copy
{
"cred_id": 473720589215887360
}
Response:
Copy
{
"data": {
"credential": {
"id": "473720589215887360",
"name": "Visit the a",
"description": "The users who have visited the a page.",
"chain": "ETHEREUM",
"referenceLink": "https://www.baidu.conm",
"itemCount": 3,
"lastUpdate": 1730178990,
"lastSync": 1730278783,
"lastSyncedBlock": 0,
"syncStatus": "SYNCED",
"credType": "EVM_ADDRESS",
"credSource": "VISIT_LINK",
"recurrence": "NONE",
"dimensionConfig": "SINGLE_DIMENSION",
"curatorSpaceID": 1659,
"commonInfo": {
"participateEndTime": 0,
"modificationInfo": "",
"seoImage": "https://cdn.galxe.com/galaxy/seo/870d3eb2-5cc8-47a4-965c-1a947c08e4f4.png"
}
}
}
}
On this page