Fetch Digital Passport On-Chain Data using Token ID

⚠️

  • Only the issuer and owner of a digital passport have the rights retrieve information.
  • Passphrase is not required in the request of this API as the NFT Management Platform is issuer of the digital passport and hence can retrieve information about it.

URL

Use the api/getCertificate defining the parameters you wish to return.

POST - https://{{nmpUrl}}/api/getCertificate

📌

NFT Management Platform user rights required to call this API → certRead

FieldTypeRequiredDescription
certificateIdNumberDigital passport identification number on the blockchain
passphraseStringDigital passport passphrase
⚠️ Optional if your wallet is the digital passport owner or issuer
[
  195059682,
  "nhzou32dklfm" 
]

Return Payload

The digital passport information is returned.

{
    "certificateId": "195059682",
    "content": {
        "imprint": "0x3ccdb167fd3bade515349cb3f014887512faee10bbd514df28a5e78aa20a2c73",
        "data": {
            "$schema": "https://cert.arianee.org/version6/ArianeeProductCertificate-i18n.json",
            "name": "afaaaaaaaaaa",
            "thread": [
                {
                    "origin": {
                        "protocolName": "testnet",
                        "tokenId": 17828539,
                        "chainId": 77,
                        "smartContractAddress": "0x512C1FCF401133680f373a386F3f752b98070BC5"
                    },
                    "destination": {
                        "protocolName": "supernettestnet",
                        "tokenId": 195059682,
                        "chainId": 999118981,
                        "smartContractAddress": "0xC35C6Ec800a4d9918fD1a1BF3060CFE3926f318e"
                    },
                    "events": {
                        "hydrate": {
                            "address": "0x512C1FCF401133680f373a386F3f752b98070BC5",
                            "blockHash": "0x28d7ae2ef99837cb9bb5a58fdd9bb15134f68052ecb7e51e64690df10c5e6512",
                            "blockNumber": 38874641,
                            "logIndex": 3,
                            "removed": false,
                            "transactionHash": "0x9caa3f31b4565a9a2af37d40ac1c7aaeaa0765d9d6d5476c5369ad7f2322eadf",
                            "transactionIndex": 0,
                            "transactionLogIndex": "0x3",
                            "id": "log_e8392000",
                            "returnValues": {
                                "0": "17828539",
                                "1": "0xda680c185c7521237e46dd91d4b365295c6f8b6fac4d4dbb1f6235d5fa87ae49",
                                "2": "",
                                "3": "0xa29a4d1779Df016c07F289cD207dE0A64A0d75ea",
                                "4": "1886338964",
                                "5": true,
                                "6": "1728658975",
                                "_tokenId": "17828539",
                                "_imprint": "0xda680c185c7521237e46dd91d4b365295c6f8b6fac4d4dbb1f6235d5fa87ae49",
                                "_uri": "",
                                "_initialKey": "0xa29a4d1779Df016c07F289cD207dE0A64A0d75ea",
                                "_tokenRecoveryTimestamp": "1886338964",
                                "_initialKeyIsRequestKey": true,
                                "_tokenCreation": "1728658975"
                            },
                            "event": "Hydrated",
                            "signature": "0x0166db8152debe7d1cfed1b1e12a32a28a986839ab44dff49682be23e29704de",
                            "raw": {
                                "data": "0x0000000000000000000000000000000000000000000000000000000001100abbda680c185c7521237e46dd91d4b365295c6f8b6fac4d4dbb1f6235d5fa87ae4900000000000000000000000000000000000000000000000000000000000000e0000000000000000000000000a29a4d1779df016c07f289cd207de0a64a0d75ea00000000000000000000000000000000000000000000000000000000706f3f9400000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000067093e1f0000000000000000000000000000000000000000000000000000000000000000",
                                "topics": [
                                    "0x0166db8152debe7d1cfed1b1e12a32a28a986839ab44dff49682be23e29704de"
                                ]
                            },
                            "timestamp": 1728658975
                        },
                        "transfers": [
                            {
                                "address": "0x512C1FCF401133680f373a386F3f752b98070BC5",
                                "blockHash": "0x28d7ae2ef99837cb9bb5a58fdd9bb15134f68052ecb7e51e64690df10c5e6512",
                                "blockNumber": 38874641,
                                "logIndex": 1,
                                "removed": false,
                                "transactionHash": "0x9caa3f31b4565a9a2af37d40ac1c7aaeaa0765d9d6d5476c5369ad7f2322eadf",
                                "transactionIndex": 0,
                                "transactionLogIndex": "0x1",
                                "id": "log_1b085ebc",
                                "returnValues": {
                                    "_from": "0x0000000000000000000000000000000000000000",
                                    "_to": "0x305051e9a023fe881EE21cA43fd90c460B427Caa",
                                    "_tokenId": "17828539"
                                },
                                "event": "Transfer",
                                "signature": "0xddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef",
                                "raw": {
                                    "data": "0x",
                                    "topics": [
                                        "0xddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef",
                                        "0x0000000000000000000000000000000000000000000000000000000000000000",
                                        "0x000000000000000000000000305051e9a023fe881ee21ca43fd90c460b427caa",
                                        "0x0000000000000000000000000000000000000000000000000000000001100abb"
                                    ]
                                },
                                "timestamp": 1728658975
                            },
                            {
                                "address": "0x512C1FCF401133680f373a386F3f752b98070BC5",
                                "blockHash": "0x3b7153c34c2ec44fe7c645b03392e16c1251935d425194bab9c5dd28c207a3bc",
                                "blockNumber": 38874683,
                                "logIndex": 0,
                                "removed": false,
                                "transactionHash": "0x91d124005007908eee4dc0a5e51384be1df3ab7e56ba2df10cded69a609d17e7",
                                "transactionIndex": 1,
                                "transactionLogIndex": "0x0",
                                "id": "log_b1edf422",
                                "returnValues": {
                                    "_from": "0x305051e9a023fe881EE21cA43fd90c460B427Caa",
                                    "_to": "0x0000000000000000000000000000000B7269d67e",
                                    "_tokenId": "17828539"
                                },
                                "event": "Transfer",
                                "signature": "0xddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef",
                                "raw": {
                                    "data": "0x",
                                    "topics": [
                                        "0xddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef",
                                        "0x000000000000000000000000305051e9a023fe881ee21ca43fd90c460b427caa",
                                        "0x0000000000000000000000000000000000000000000000000000000b7269d67e",
                                        "0x0000000000000000000000000000000000000000000000000000000001100abb"
                                    ]
                                },
                                "timestamp": 1728659185
                            }
                        ]
                    },
                    "arianeeEvents": [
                        {
                            "id": "140924275",
                            "certificateId": "17828539",
                            "sender": "0x305051e9a023fe881EE21cA43fd90c460B427Caa",
                            "timestamp": 1728659155,
                            "content": {
                                "$schema": "https://cert.arianee.org/version1/ArianeeEvent-i18n.json",
                                "title": "ye",
                                "description": "ye"
                            },
                            "rawContent": {
                                "$schema": "https://cert.arianee.org/version1/ArianeeEvent-i18n.json",
                                "title": "ye",
                                "description": "ye"
                            },
                            "imprint": "0x0a8e694c3d51d0ca7265b9b5d601047d42236bd8409a8db045786f9642e5e6c6",
                            "protocol": {
                                "name": "testnet",
                                "chainId": 77
                            }
                        }
                    ]
                }
            ]
        },
        "isRawAuthentic": true,
        "isAuthentic": true,
        "raw": {
            "$schema": "https://cert.arianee.org/version6/ArianeeProductCertificate-i18n.json",
            "name": "afaaaaaaaaaa",
            "thread": [
                {
                    "origin": {
                        "protocolName": "testnet",
                        "tokenId": 17828539,
                        "chainId": 77,
                        "smartContractAddress": "0x512C1FCF401133680f373a386F3f752b98070BC5"
                    },
                    "destination": {
                        "protocolName": "supernettestnet",
                        "tokenId": 195059682,
                        "chainId": 999118981,
                        "smartContractAddress": "0xC35C6Ec800a4d9918fD1a1BF3060CFE3926f318e"
                    },
                    "events": {
                        "hydrate": {
                            "address": "0x512C1FCF401133680f373a386F3f752b98070BC5",
                            "blockHash": "0x28d7ae2ef99837cb9bb5a58fdd9bb15134f68052ecb7e51e64690df10c5e6512",
                            "blockNumber": 38874641,
                            "logIndex": 3,
                            "removed": false,
                            "transactionHash": "0x9caa3f31b4565a9a2af37d40ac1c7aaeaa0765d9d6d5476c5369ad7f2322eadf",
                            "transactionIndex": 0,
                            "transactionLogIndex": "0x3",
                            "id": "log_e8392000",
                            "returnValues": {
                                "0": "17828539",
                                "1": "0xda680c185c7521237e46dd91d4b365295c6f8b6fac4d4dbb1f6235d5fa87ae49",
                                "2": "",
                                "3": "0xa29a4d1779Df016c07F289cD207dE0A64A0d75ea",
                                "4": "1886338964",
                                "5": true,
                                "6": "1728658975",
                                "_tokenId": "17828539",
                                "_imprint": "0xda680c185c7521237e46dd91d4b365295c6f8b6fac4d4dbb1f6235d5fa87ae49",
                                "_uri": "",
                                "_initialKey": "0xa29a4d1779Df016c07F289cD207dE0A64A0d75ea",
                                "_tokenRecoveryTimestamp": "1886338964",
                                "_initialKeyIsRequestKey": true,
                                "_tokenCreation": "1728658975"
                            },
                            "event": "Hydrated",
                            "signature": "0x0166db8152debe7d1cfed1b1e12a32a28a986839ab44dff49682be23e29704de",
                            "raw": {
                                "data": "0x0000000000000000000000000000000000000000000000000000000001100abbda680c185c7521237e46dd91d4b365295c6f8b6fac4d4dbb1f6235d5fa87ae4900000000000000000000000000000000000000000000000000000000000000e0000000000000000000000000a29a4d1779df016c07f289cd207de0a64a0d75ea00000000000000000000000000000000000000000000000000000000706f3f9400000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000067093e1f0000000000000000000000000000000000000000000000000000000000000000",
                                "topics": [
                                    "0x0166db8152debe7d1cfed1b1e12a32a28a986839ab44dff49682be23e29704de"
                                ]
                            },
                            "timestamp": 1728658975
                        },
                        "transfers": [
                            {
                                "address": "0x512C1FCF401133680f373a386F3f752b98070BC5",
                                "blockHash": "0x28d7ae2ef99837cb9bb5a58fdd9bb15134f68052ecb7e51e64690df10c5e6512",
                                "blockNumber": 38874641,
                                "logIndex": 1,
                                "removed": false,
                                "transactionHash": "0x9caa3f31b4565a9a2af37d40ac1c7aaeaa0765d9d6d5476c5369ad7f2322eadf",
                                "transactionIndex": 0,
                                "transactionLogIndex": "0x1",
                                "id": "log_1b085ebc",
                                "returnValues": {
                                    "_from": "0x0000000000000000000000000000000000000000",
                                    "_to": "0x305051e9a023fe881EE21cA43fd90c460B427Caa",
                                    "_tokenId": "17828539"
                                },
                                "event": "Transfer",
                                "signature": "0xddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef",
                                "raw": {
                                    "data": "0x",
                                    "topics": [
                                        "0xddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef",
                                        "0x0000000000000000000000000000000000000000000000000000000000000000",
                                        "0x000000000000000000000000305051e9a023fe881ee21ca43fd90c460b427caa",
                                        "0x0000000000000000000000000000000000000000000000000000000001100abb"
                                    ]
                                },
                                "timestamp": 1728658975
                            },
                            {
                                "address": "0x512C1FCF401133680f373a386F3f752b98070BC5",
                                "blockHash": "0x3b7153c34c2ec44fe7c645b03392e16c1251935d425194bab9c5dd28c207a3bc",
                                "blockNumber": 38874683,
                                "logIndex": 0,
                                "removed": false,
                                "transactionHash": "0x91d124005007908eee4dc0a5e51384be1df3ab7e56ba2df10cded69a609d17e7",
                                "transactionIndex": 1,
                                "transactionLogIndex": "0x0",
                                "id": "log_b1edf422",
                                "returnValues": {
                                    "_from": "0x305051e9a023fe881EE21cA43fd90c460B427Caa",
                                    "_to": "0x0000000000000000000000000000000B7269d67e",
                                    "_tokenId": "17828539"
                                },
                                "event": "Transfer",
                                "signature": "0xddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef",
                                "raw": {
                                    "data": "0x",
                                    "topics": [
                                        "0xddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef",
                                        "0x000000000000000000000000305051e9a023fe881ee21ca43fd90c460b427caa",
                                        "0x0000000000000000000000000000000000000000000000000000000b7269d67e",
                                        "0x0000000000000000000000000000000000000000000000000000000001100abb"
                                    ]
                                },
                                "timestamp": 1728659185
                            }
                        ]
                    },
                    "arianeeEvents": [
                        {
                            "id": "140924275",
                            "certificateId": "17828539",
                            "sender": "0x305051e9a023fe881EE21cA43fd90c460B427Caa",
                            "timestamp": 1728659155,
                            "content": {
                                "$schema": "https://cert.arianee.org/version1/ArianeeEvent-i18n.json",
                                "title": "ye",
                                "description": "ye"
                            },
                            "rawContent": {
                                "$schema": "https://cert.arianee.org/version1/ArianeeEvent-i18n.json",
                                "title": "ye",
                                "description": "ye"
                            },
                            "imprint": "0x0a8e694c3d51d0ca7265b9b5d601047d42236bd8409a8db045786f9642e5e6c6",
                            "protocol": {
                                "name": "testnet",
                                "chainId": 77
                            }
                        }
                    ]
                }
            ]
        }
    },
    "issuer": {
        "identity": {
            "data": {
                "$schema": "https://cert.arianee.org/version2/ArianeeBrandIdentity-i18n.json",
                "name": "maxime-supertestnet-ressurection",
                "rpcEndpoint": "https://maxime-supertestnet-ressurection.rpc.staging.arianee.com/rpc"
            },
            "isAuthentic": true,
            "isApproved": true,
            "imprint": "0xa12bd9c15538073f54317b0243b3683ced430d929c18b2a13f9682403e4744b9",
            "address": "0x3Bd3BDd5B5f3618a8A538bbE412d69D4b1B4a484"
        },
        "isIdentityAuthentic": true,
        "isIdentityVerified": true,
        "imprint": "0xa12bd9c15538073f54317b0243b3683ced430d929c18b2a13f9682403e4744b9"
    },
    "isRequestable": false,
    "owner": {
        "publicKey": "0x3bd3bdd5b5f3618a8a538bbe412d69d4b1b4a484",
        "address": "0x3bd3bdd5b5f3618a8a538bbe412d69d4b1b4a484",
        "isOwner": true
    },
    "events": {
        "transfer": [
            {
                "address": "0x512C1FCF401133680f373a386F3f752b98070BC5",
                "blockHash": "0x28d7ae2ef99837cb9bb5a58fdd9bb15134f68052ecb7e51e64690df10c5e6512",
                "blockNumber": 38874641,
                "logIndex": 3,
                "removed": false,
                "transactionHash": "0x9caa3f31b4565a9a2af37d40ac1c7aaeaa0765d9d6d5476c5369ad7f2322eadf",
                "transactionIndex": 0,
                "transactionLogIndex": "0x3",
                "id": "log_e8392000",
                "returnValues": {
                    "0": "17828539",
                    "1": "0xda680c185c7521237e46dd91d4b365295c6f8b6fac4d4dbb1f6235d5fa87ae49",
                    "2": "",
                    "3": "0xa29a4d1779Df016c07F289cD207dE0A64A0d75ea",
                    "4": "1886338964",
                    "5": true,
                    "6": "1728658975",
                    "_tokenId": "17828539",
                    "_imprint": "0xda680c185c7521237e46dd91d4b365295c6f8b6fac4d4dbb1f6235d5fa87ae49",
                    "_uri": "",
                    "_initialKey": "0xa29a4d1779Df016c07F289cD207dE0A64A0d75ea",
                    "_tokenRecoveryTimestamp": "1886338964",
                    "_initialKeyIsRequestKey": true,
                    "_tokenCreation": "1728658975"
                },
                "event": "Hydrated",
                "signature": "0x0166db8152debe7d1cfed1b1e12a32a28a986839ab44dff49682be23e29704de",
                "raw": {
                    "data": "0x0000000000000000000000000000000000000000000000000000000001100abbda680c185c7521237e46dd91d4b365295c6f8b6fac4d4dbb1f6235d5fa87ae4900000000000000000000000000000000000000000000000000000000000000e0000000000000000000000000a29a4d1779df016c07f289cd207de0a64a0d75ea00000000000000000000000000000000000000000000000000000000706f3f9400000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000067093e1f0000000000000000000000000000000000000000000000000000000000000000",
                    "topics": [
                        "0x0166db8152debe7d1cfed1b1e12a32a28a986839ab44dff49682be23e29704de"
                    ]
                },
                "timestamp": 1728658975,
                "identity": {
                    "imprint": "0xa12bd9c15538073f54317b0243b3683ced430d929c18b2a13f9682403e4744b9",
                    "isAuthentic": true,
                    "isApproved": true,
                    "data": {
                        "$schema": "https://cert.arianee.org/version2/ArianeeBrandIdentity-i18n.json",
                        "name": "maxime-supertestnet-ressurection",
                        "rpcEndpoint": "https://maxime-supertestnet-ressurection.rpc.staging.arianee.com/rpc"
                    },
                    "address": "0x3Bd3BDd5B5f3618a8A538bbE412d69D4b1B4a484"
                }
            }
        ],
        "arianeeEvents": [
            {
                "certificateId": "195059682",
                "arianeeEventId": "140924275",
                "content": {
                    "imprint": "0x0a8e694c3d51d0ca7265b9b5d601047d42236bd8409a8db045786f9642e5e6c6",
                    "data": {
                        "$schema": "https://cert.arianee.org/version1/ArianeeEvent-i18n.json",
                        "title": "ye",
                        "description": "ye"
                    },
                    "isRawAuthentic": true,
                    "isAuthentic": true,
                    "raw": {
                        "$schema": "https://cert.arianee.org/version1/ArianeeEvent-i18n.json",
                        "title": "ye",
                        "description": "ye"
                    }
                },
                "issuer": {
                    "imprint": "0xa12bd9c15538073f54317b0243b3683ced430d929c18b2a13f9682403e4744b9",
                    "isIdentityAuthentic": true,
                    "isIdentityVerified": true,
                    "data": {
                        "$schema": "https://cert.arianee.org/version2/ArianeeBrandIdentity-i18n.json",
                        "name": "maxime-supertestnet-ressurection",
                        "rpcEndpoint": "https://maxime-supertestnet-ressurection.rpc.staging.arianee.com/rpc"
                    },
                    "address": "0x3Bd3BDd5B5f3618a8A538bbE412d69D4b1B4a484",
                    "identity": {
                        "data": {
                            "$schema": "https://cert.arianee.org/version2/ArianeeBrandIdentity-i18n.json",
                            "name": "maxime-supertestnet-ressurection",
                            "rpcEndpoint": "https://maxime-supertestnet-ressurection.rpc.staging.arianee.com/rpc"
                        },
                        "address": "0x3Bd3BDd5B5f3618a8A538bbE412d69D4b1B4a484",
                        "isAuthentic": true,
                        "isApproved": true,
                        "imprint": "0xa12bd9c15538073f54317b0243b3683ced430d929c18b2a13f9682403e4744b9"
                    }
                },
                "timestamp": 1728659155
            },
            {
                "certificateId": "195059682",
                "arianeeEventId": "374733260",
                "content": {
                    "imprint": "0x642b894ca5c1a714e64776c9e9036ae882ea4f2657e4838617dc50752666345c",
                    "data": {
                        "$schema": "https://cert.arianee.org/version1/ArianeeEvent-i18n.json",
                        "title": "ye2",
                        "description": "ye2"
                    },
                    "isRawAuthentic": true,
                    "isAuthentic": true,
                    "raw": {
                        "$schema": "https://cert.arianee.org/version1/ArianeeEvent-i18n.json",
                        "title": "ye2",
                        "description": "ye2"
                    }
                },
                "issuer": {
                    "imprint": "0xa12bd9c15538073f54317b0243b3683ced430d929c18b2a13f9682403e4744b9",
                    "isIdentityAuthentic": true,
                    "isIdentityVerified": true,
                    "data": {
                        "$schema": "https://cert.arianee.org/version2/ArianeeBrandIdentity-i18n.json",
                        "name": "maxime-supertestnet-ressurection",
                        "rpcEndpoint": "https://maxime-supertestnet-ressurection.rpc.staging.arianee.com/rpc"
                    },
                    "address": "0x3Bd3BDd5B5f3618a8A538bbE412d69D4b1B4a484",
                    "identity": {
                        "data": {
                            "$schema": "https://cert.arianee.org/version2/ArianeeBrandIdentity-i18n.json",
                            "name": "maxime-supertestnet-ressurection",
                            "rpcEndpoint": "https://maxime-supertestnet-ressurection.rpc.staging.arianee.com/rpc"
                        },
                        "address": "0x3Bd3BDd5B5f3618a8A538bbE412d69D4b1B4a484",
                        "isAuthentic": true,
                        "isApproved": true,
                        "imprint": "0xa12bd9c15538073f54317b0243b3683ced430d929c18b2a13f9682403e4744b9"
                    }
                },
                "timestamp": 1728659320,
                "pending": false
            }
        ]
    },
    "messageSenders": {
        "0x3Bd3BDd5B5f3618a8A538bbE412d69D4b1B4a484": true
    },
    "recover": {
        "isRecoverable": true,
        "timestamp": 1886339189000
    }
}

Errors

⚠️

When the return is empty, you certificateId may be incorrect.

{
    "certificateId": 76608909993,
    "events": {
        "transfer": [],
        "arianeeEvents": []
    }
}