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
Field | Type | Required | Description |
---|---|---|---|
protocolName | String - 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 β id | Object | β | Digital passport identification number. |
{
"protocolName": "testnet",
"smartAsset" : {
"id": "33491174"
}
}
Return Payload
Status Code | Success | Description |
---|---|---|
200 | true | The proofLink is generated. |
{
"proofLink": "https://test.arian.ee/proof/33491174,ss9t4d2yg1yl"
}
Error
Status Code | Success | Description |
---|---|---|
403 | false | You are not the owner or issuer of this digital passport. |
404 | false | The wallet may not exist. You are not authenticated. |
404 | false | No 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
Field | Type | Required | Description |
---|---|---|---|
protocolName | String - 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 β id | Object | β | Digital passport identification number. |
{
"link": "https://test.arian.ee/proof/33491174,ss9t4d2yg1yl"
}
Return Payload
Status Code | Success | Description |
---|---|---|
200 | true | The 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 Code | Success | Description |
---|---|---|
404 | false | The wallet may not exist. You are not authenticated. |
Updated about 1 month ago