Manage Proof of Ownership

Generate Proof of Ownership

As a brand, you wish to allow your users to prove their digital passport ownership. Our API generates a link to read the digital passport content and prove this user owns it.

URL

Use the https://custody.arianee.com/{{client}}/{{chainType}}/nft/createProofLink.

POST - https://custody.arianee.com/{{client}}/{{chainType}}/nft/createProofLink

Body

FieldTypeRequiredDescription
protocolNameString - testnet, mainnet, arianeetestnet, mumbai, polygon, arialabs, stadetoulousain, ysl, testnetSbt, arianeeSupernet, arianeesbt, tezostestnet, supernettestnetโœ…Protocol on which the digital passport has been minted.
Dig deeper into Arianee Protocols.
smartAsset โ†’ idObjectโœ…Digital passport identification number.
{
    "protocolName": "testnet",
    "smartAsset" : {
        "id": "33491174"
    }
}

Return Payload

Status CodeSuccessDescription
200trueThe proofLink is generated.
{
    "proofLink": "https://test.arian.ee/proof/33491174,ss9t4d2yg1yl"
}

Error

Status CodeSuccessDescription
403falseYou are not the owner or issuer of this digital passport.
404falseThe wallet may not exist. You are not authenticated.
404falseNo digital passport was found using this ID.

Check Proof of Ownership

URL

Use the https://custody.arianee.com/{{client}}/{{chainType}}/nft/checkProofLink.

POST - https://custody.arianee.com/{{client}}/{{chainType}}/nft/checkProofLink

Body

FieldTypeRequiredDescription
protocolNameString - testnet, mainnet, arianeetestnet, mumbai, polygon, arialabs, stadetoulousain, ysl, testnetSbt, arianeeSupernet, arianeesbt, tezostestnet, supernettestnetโœ…Protocol on which the digital passport has been minted.
Dig deeper into Arianee Protocols.
smartAsset โ†’ idObjectโœ…Digital passport identification number.
{
    "link": "https://test.arian.ee/proof/33491174,ss9t4d2yg1yl"
}

Return Payload

Status CodeSuccessDescription
200trueThe proofLink is checked and true is returned when the proofLink is valid.
{
    "valid": true,
    "message": "Proof link is valid!",
    "link": "https://test.arian.ee/proof/33491174,ss9t4d2yg1yl"
}

Error

Status CodeSuccessDescription
404falseThe wallet may not exist. You are not authenticated.