How to transfer NFT through javascript (Detailed guide)
2022-08-14 16:16
Words count:
777
Basically, there're 5 steps required to transfer an NFT.
Basically, there’re 5 steps required to transfer an NFT.
-
OAuth user to get user’s JWT token
-
Request Mixin API
GET /collectibles/outputs
with JWT token of the user to get user’s collectible outputs(UTXO). Must carrystate
argument asunspent
. -
Request Mixin API
GET /collectibles/tokens/:token_id
, replace:token_id
with the token_id from the step 2’s response. -
Request Mixin API
POST /collectibles/requests
to create a transaction request. The argumentaction
should besign
. And the argumentraw
requires some effort to generate.
2
times bought,
0
times reward
![](https://api.multiavatar.com/bc2641d6-0d8d-3560-9e4f-921a7e7c9982.png)
![](https://api.multiavatar.com/3da8327c-aabf-3636-a8ab-3b7990f9bf60.png)
Comments
![](https://api.multiavatar.com/3bb60b8a-e7a6-3402-8d63-ed74c259e961.png)
@0x1A
a371
Didn't leave anything
Related Posts
![](https://api.multiavatar.com/c853e970-5116-44e9-96d5-83ddb545c606.png)