unisat-wallet / dev-support

14 stars 11 forks source link

UniSat Order Detail API #46

Closed Nate-Expert closed 1 week ago

Nate-Expert commented 1 week ago

I called the BRC-20 mint api on testnet and it worked and status was pending. I made the payment to payment address mentioned, not i check the order status by calling https://open-api-testnet.unisat.io/v2/inscribe/order/bae382be2d4968659537bc5baca94aeef362dc98. It's giving Status as Inscribing. I am not sure what is the next step. Should i wait for get it minted automatically or i have to call some other api or transaction to get this minted.

{ "code": 0, "msg": "OK", "data": { "orderId": "bae382be2d4968659537bc5baca94aeef362dc98", "status": "inscribing", "payAddress": "tb1pce7fqh2kkhxhtskw2h255vw5t59amx7fpqc6e30l7qmy0gfqc4xsgdzelr", "receiveAddress": "tb1p6sgmucy87h06p0are63u9p2uxuxxgwwh70ptz744v4lvfg3tz6jqpj59kz", "amount": 29168, "paidAmount": 29168, "outputValue": 546, "feeRate": 100, "minerFee": 22500, "serviceFee": 3122, "files": [ { "filename": "{\"p\":\"brc-20\",\"op\":\"mint\",\"tick\":\"xcvb\",\"amt\":\"100\"}", "size": 52, "inscriptionId": "d87f94971514e3ab1a9cea50a84ada685a2b58d5e76ae5e9db4ea088572d1370i0", "status": "pending" } ], "count": 1, "pendingCount": 1, "unconfirmedCount": 0, "confirmedCount": 0, "createTime": 1718869034082, "devFee": 3000, "leftAmount": 29168 } }