Inscribe

Create an order

Create an order to inscribe something

post/v2/inscribe/order/create

Request body

receiveAddressstring

Bitcoin address to receive the inscriptions

feeRatenumber float

The fee rate of transaction

outputValueinteger

The balance of inscription

devAddressstring

Developer address to receive extra fee

devFeeinteger

Extra fee to pay to developer's address

Example request

{
  "feeRate": 1,
  "outputValue": 546,
  "files": [
    {
      "filename": "1000.sats",
      "dataURL": "data:text/plain;charset=utf-8;base64,eyJwIjoic25zIiwib3AiOiJyZWciLCJuYW1lIjoiMTAwMDAuc2F0cyJ9"
    }
  ]
}

Response

Successful operation

codeinteger
msgstring

Example response

{
  "data": {
    "status": "pending",
    "amount": 3000,
    "files": [
      {
        "filename": "10000.sats"
      }
    ],
    "count": 1,
    "pendingCount": 1,
    "createTime": 1693439128100
  }
}