Transferring NFTs
Last updated
Was this helpful?
Last updated
Was this helpful?
The mutation is a privileged API that allows the application backend to transfer an NFT to a user. This API is designed to be securely used from a backend so you'll need to use a privileged token in order to use it.
The transfer
API kicks off the following operations:
Takes in the ID of the or to transfer. If an NFTModel is specified, the API selects an NFT from the NFTModel.
Mints the NFT if it hasn't already been minted, and
Transfers the minted NFT to the user's wallet
Since these can be time-consuming operations, the transfer
API schedules the work to happen asynchronously, and returns back the NFT
that will be transferred to the user. The NFT
's field tells you what is going on.
Follow the for an example on how to invoke the transfer
mutation.