Transfer Digital Passport
Allow your users to transfer digital passports to another wallet address.
Before you begin
As a brand, you wish to allow your users to transfer digital passports from a user's wallet to another wallet address. To do so, our API generates the request ownership link.
Every new transfer link is based on a new passphrase. That means old links will not work anymore.
![](https://files.readme.io/23a1599-CG_13_-_Transfer_digital_passport.png)
Let's start 🚀
To trigger a transfer, use https://custody.arianee.com/{{client}}/{{network}}/nft/transfer
.
Input | Mandatory | Type | Description |
---|---|---|---|
smartAssetId | ✅ | String | Digital passport identification number to claim. |
to | ✅ | String | Digital passport recipient. |
Example:
{
"smartAssetId": "967188109",
"to": "0x4febba33415ab41256cbc981c178297f926a6490"
}
If the transfer is initiated by another user than the digital passport's owner, the passphrase is mandatory.
Result:
httpCode | Description |
---|---|
200 | true : The transaction has been sent to the blockchain. |
400 | - The digital passport ID must be a string. - Missing passport ID. |
500 | You are not the digital passport owner. |
{
"success": true
}
{
"success": true
}
{
"success": false,
"error": "error while transfering the smart asset, make sure you are the owner and that the id is valid"
}
Updated 8 months ago