Created
December 5, 2024 10:35
-
-
Save ilya-korotya/6e9c7ae6b9d15b28916a0a7d68a43217 to your computer and use it in GitHub Desktop.
Onchain verification request for Privately
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"body": { | |
"reason": "PrivatelyAgeVerification", | |
"scope": [ | |
{ | |
"circuitId": "credentialAtomicQueryV3OnChain-beta.1", | |
"id": 325, | |
"query": { | |
"allowedIssuers": [ | |
"did:polygonid:polygon:amoy:2qVjfEhLcv5jbkguVeDcd67a2jMmH4vpeEtoc3hTmk" | |
], | |
"context": "https://gist.githubusercontent.com/ilya-korotya/64beaaa0b561a11cabc6ce99d956d7a0/raw/bc3f4201bfe0c92193d6f8519dd0ca4ead225504/PrivatelyAgeV2.jsonld", | |
"type": "PrivatelyAgeVerification", | |
"credentialSubject": { | |
"gate": { | |
"$gt": 21 | |
} | |
} | |
}, | |
"params": { | |
"nullifierSessionId": "325" | |
} | |
} | |
], | |
"transaction_data": { | |
"contract_address": "0xfcc86A79fCb057A8e55C6B853dff9479C3cf607c", | |
"function_name": "submitZKPResponseV2", | |
"method_id": "0xade09fcd", | |
"chain_id": 80002, | |
"network": "polygon_amoy" | |
} | |
}, | |
"from": "did:iden3:polygon:amoy:x6x5sor7zpy8E6frBHhrTvsfVVoqEc9a9EGQSB1B6", | |
"id": "0d02b9e1-0113-422f-b91b-02618a178bfc", | |
"thid": "0d02b9e1-0113-422f-b91b-02618a178bfc", | |
"typ": "application/iden3comm-plain-json", | |
"type": "https://iden3-communication.io/proofs/1.0/contract-invoke-request" | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment