Create BRC-20 MINT

Create an order to inscribe BRC-20 MINT

POSThttps://open-api.unisat.io/v2/inscribe/order/create/brc20-mint
Body
receiveAddressstring

Bitcoin address to receive the inscriptions

Example: ""
feeRatenumber (float)

The fee rate of transaction

Example: 1
outputValueinteger (int32)

The balance of inscription

Example: 546
devAddressstring

Developer address to receive extra fee

Example: ""
devFeeinteger (int32)

Extra fee to pay to developer's address

brc20Tickerstring

tick in brc20-mint

Example: ""
brc20Amountstring

amt in brc20-mint

Example: ""
countinteger (int32)

Repetition count

Example: 1
Response

Successful operation

Body
codeinteger (int32)
msgstring
dataOrder (object)
Request
const response = await fetch('https://open-api.unisat.io/v2/inscribe/order/create/brc20-mint', {
    method: 'POST',
    headers: {
      "Content-Type": "application/json"
    },
    body: JSON.stringify({}),
});
const data = await response.json();
Response
{
  "msg": "text",
  "data": {
    "orderId": "",
    "status": "pending",
    "payAddress": "",
    "receiveAddress": "",
    "amount": 3000,
    "feeRate": 0,
    "minerFee": 0,
    "serviceFee": 0,
    "devFee": 0,
    "files": [
      {
        "filename": "10000.sats",
        "inscriptionId": "",
        "status": "pending"
      }
    ],
    "count": 1,
    "pendingCount": 1,
    "unconfirmedCount": 0,
    "confirmedCount": 0,
    "createTime": 1693439128100,
    "refundTxid": "",
    "refundFeeRate": 0
  }
}

Last updated