Display Digital Passport
As a builder, you want to retrieve a digital passport, also known as an Arianee NFT, among multiple chains and display its content on your website.
Requirements
- Arianee Access Token or Wallet Connect.
Retrieve Digital Passport
Method
To retrieve digital passports owned by a wallet and the content associated with these tokens, use wallet.smartAsset.getFromLink.
wallet.smartAsset.getFromLink(link:string, resolveFinalNft?:boolean, i18nStrategy?:{useLanguages?: string[])Return Payload
The digital passport information is returned.
Generate proof of ownership
Method
To generate a proof of ownership link, use wallet.smartAsset.createProofLink.
wallet.smartAsset.createProofLink(network, tokenId, passphrase?)Return Payload
The proof of ownership link is returned.
Retrieve dMessages
Method
To retrieve the data and content of received dMessages, use wallet.message.getReceived.
wallet.message.getReceived(i18nStrategy?:{useLanguages?: string[]})Return Payload
Message(s) information is returned.
- At the blockchain level, the gas fees of a proof transaction are paid by the Arianee protocol.
- For more information about Arianee SDK, dig deeper into the documentation.
Updated 6 months ago
