如何通过js转账NFT(详细教程)
2022-08-14 16:21
Words count:
891
转移NFT基本需要5个步骤
基本上,转移NFT需要5个步骤。
-
OAuth用户获得用户的JWT token
-
用用户的JWT token请求Mixin API
GET /collectibles/outputs,以获得用户的outputs(UTXO)。state参数必须为unspent。 -
请求 Mixin API
GET /collectibles/tokens/:token_id, 将:token_id替换为步骤2中返回的token_id。 -
请求 Mixin API
POST /collectibles/requests来创建一个交易请求。参数action是sign。而参数raw需要耗费一些力气来生成。
2
times bought,
0
times reward
Comments
@0x1A
a371
Didn't leave anything
Related Posts