Skip to content

Instantly share code, notes, and snippets.

@ilya-korotya
Last active December 18, 2024 17:00
Show Gist options
  • Save ilya-korotya/81052a21110338fa4922134bca909faf to your computer and use it in GitHub Desktop.
Save ilya-korotya/81052a21110338fa4922134bca909faf to your computer and use it in GitHub Desktop.
POI develop
{
"body": {
"scope": [
{
"circuitId": "credentialAtomicQueryV3OnChain-beta.1",
"id": 22,
"query": {
"allowedIssuers": [
"did:iden3:privado:main:2SdUfDwHK3koyaH5WzhvPhpcjFfdem2xD625aymTNc"
],
"context": "https://raw.githubusercontent.com/anima-protocol/claims-polygonid/main/schemas/json-ld/poi-v2.json-ld",
"type": "AnimaProofOfIdentity",
"credentialSubject": {
"document_country_code": {
"$nin": [
840
]
}
}
},
"params": {
"nullifierSessionId": "22"
}
}
],
"transaction_data": {
"contract_address": "0xdE9eBC446d69EF9a876a377e3E3cEe91d08fE2A0",
"function_name": "submitZKPResponse",
"method_id": "0xb68967e2",
"chain_id": 2442,
"network": "zkevm_cardona"
}
},
"from": "did:iden3:polygon:amoy:x6x5sor7zpyWUUVJNZLzuDgMmeZfR2thKN2uMui8J",
"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