Airdrop
Distribute your digital passports through a universal link.
Before you begin
As a brand, you wish to transfer your digital passports to your users' wallet addresses, so they automatically get ownership of the digital passports.
Use case example: Your brand wants to enhance engagement through a special drop to surprise your audience.
Your NFT Management Platform must be the digital passports owner.
![](https://files.readme.io/131a2b3-Airdrop.png)
Let's start π
URL
Use the api/certificate/one2Many/forceTransfer/v2
.
GET - https://{{nmpUrl}}/api/certificate/one2Many/forceTransfer/v2
Query Parameters | Type | Required | Description |
---|---|---|---|
label | String | β | Tag of the digital passport to transfer. |
format | redirect , link , linkObject , content | β | β link : returns text plain link such as https://arianee.net/passportId,passphrase .β redirect : redirects automatically to the digital passport.β linkObject : returns link as .json object.β content : returns digital passport content. |
arianeeAccessToken | String | β | Json Web Token signed by a wallet private key. |
Body
Field | Type | Required | Description |
---|---|---|---|
address | String | β | Address of the recipient wallet. |
[
"0x1917408563f8F484E5C24d96a78002BF7D7F47e0"
]
Return Payload
Status Code | Parameters returned |
---|---|
linkObject - 200 | certificateId - Digital passport identification number.passphrase - Digital passport passphrase.deeplink - Deeplink to claim the digital passport. |
link - 200 | deeplink to claim the digital passport. |
redirect - 200 | Triggers a redirection to the claiming link of the digital passport. |
Errors
Status Code | Parameters returned |
---|---|
400 | β Missing query parameters. β No more digital passports available. |
Updated 8 months ago