forked from 0xPolygonID/c-polygonid
-
Notifications
You must be signed in to change notification settings - Fork 0
/
atomic_query_mtp_v2_on_chain_status_inputs.json
75 lines (75 loc) · 3.38 KB
/
atomic_query_mtp_v2_on_chain_status_inputs.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
{
"id": "2qGZYEUNasixXnN67ZDV7DZGrXNnP7sEwKjcKPcmEK",
"profileNonce": "0",
"claimSubjectProfileNonce": "0",
"verifiableCredentials": {
"id": "https://dd25-62-87-103-47.ngrok-free.app/api/v1/identities/did:polygonid:polygon:mumbai:2qKc2ns18nV6uDSfaR1RVd7zF1Nm9vfeNZuvuEXQ3X/claims/f4263c2a-53ae-11ee-a53c-3ec1cb517438",
"@context": [
"https://www.w3.org/2018/credentials/v1",
"https://schema.iden3.io/core/jsonld/iden3proofs.jsonld",
"https://raw.githubusercontent.com/iden3/claim-schema-vocab/main/schemas/json-ld/kyc-v3.json-ld"
],
"type": [
"VerifiableCredential",
"KYCAgeCredential"
],
"expirationDate": "2361-03-21T21:14:48+02:00",
"issuanceDate": "2023-09-15T13:02:18.062527+03:00",
"credentialSubject": {
"birthday": 19960424,
"documentType": 2,
"id": "did:polygonid:polygon:mumbai:2qFgtCjKV3cDjWJapSLMZGfzw7CrodjCcQzLQABByv",
"type": "KYCAgeCredential"
},
"credentialStatus": {
"id": "did:polygonid:polygon:mumbai:2qKc2ns18nV6uDSfaR1RVd7zF1Nm9vfeNZuvuEXQ3X/credentialStatus?revocationNonce=651783518&contractAddress=80001:0x49b84b9Dd137de488924b18299De8bf46fD11469",
"revocationNonce": 651783518,
"type": "Iden3OnchainSparseMerkleTreeProof2023"
},
"issuer": "did:polygonid:polygon:mumbai:2qKc2ns18nV6uDSfaR1RVd7zF1Nm9vfeNZuvuEXQ3X",
"credentialSchema": {
"id": "https://raw.githubusercontent.com/iden3/claim-schema-vocab/main/schemas/json/KYCAgeCredential-v3.json",
"type": "JsonSchema2023"
},
"proof": [
{
"type": "Iden3SparseMerkleTreeProof",
"issuerData": {
"id": "did:polygonid:polygon:mumbai:2qKc2ns18nV6uDSfaR1RVd7zF1Nm9vfeNZuvuEXQ3X",
"state": {
"txId": "0x824d08f68e6c5f8ed2fd1e1a7719c3027e5474c27524f33656796056b360237b",
"blockTimestamp": 1694772169,
"blockNumber": 40137103,
"rootOfRoots": "f3b209de35e59081d119334c9aba3b87474f28971b61dca7aeadff5a14e64524",
"claimsTreeRoot": "5bf08eb140df36ca00d1ca24eb2dd0f1b4b117e92904279020c8bf51e590f920",
"revocationTreeRoot": "0000000000000000000000000000000000000000000000000000000000000000",
"value": "5a166f339f23fb53ae7433909eaf7eee27431f4e3ac038c329416e38a48a5818"
}
},
"coreClaim": "c9b2370371b7fa8b3dab2a5ba81b68382a000000000000000000000000000000021246f30c37a622bfbba26de552d3c9d71d189a58d8c7520c24feaf0b8b0d00b914ea81a5d3a7c2655cc5cc79787cf9b2c10a24cd236fa627252b06b2e7ca1b00000000000000000000000000000000000000000000000000000000000000005e6dd92600000000281cdcdf0200000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000",
"mtp": {
"existence": true,
"siblings": [
"10474921236147713942078552079582531417664737388924733946611980668334294816825"
]
}
}
]
},
"request": {
"id": 1,
"circuitId": "credentialAtomicQueryMTPV2",
"query": {
"allowedIssuers": [
"*"
],
"context": "https://raw.githubusercontent.com/iden3/claim-schema-vocab/main/schemas/json-ld/kyc-v4.jsonld",
"credentialSubject": {
"birthday": {
"$eq": 19960424
}
},
"type": "KYCAgeCredential"
}
}
}