This is UniSat Wallet Open API. If you wish to use the OpenAPI, please feel free to send us an email, and we will provide you with an API KEY.
👉 View Swagger UI
| Route | Summary |
|---|---|
| GET /v2/inscribe/order/summary | Get order summary of current apikey |
| GET /v2/inscribe/order/list | Get order list of current apikey |
| GET /v2/inscribe/order/{orderId} | Search an order by orderId |
| POST /v2/inscribe/order/create | Create an order |
| POST /v2/inscribe/order/create/brc20-deploy | Create an order to inscribe BRC-20 DEPLOY (Deprecated) |
| POST /v2/inscribe/order/create/brc20-mint | Create an order to inscribe BRC-20 MINT (Deprecated) |
| POST /v2/inscribe/order/create/brc20-transfer | Create an order to inscribe BRC-20 TRANSFER (Deprecated) |
| POST /v2/inscribe/order/request-commit | Request commit txs of some order |
| POST /v2/inscribe/order/sign-commit | Sign commit txs of some order |
| POST /v2/inscribe/order/sign-reveal | Sign reveal txs of some order |
| POST /v2/inscribe/order/create/brc20-5byte-mint | Create an order to inscribe BRC-20 MINT (Deprecated) |
| POST /v2/inscribe/order/request-commit/brc20-5byte-mint | Request commit txs of brc20-5byte-mint. (Deprecated) |
| POST /v2/inscribe/order/sign-commit/brc20-5byte-mint | Sign commit txs of brc20-5byte-mint (Deprecated) |
| POST /v2/inscribe/order/sign-reveal/brc20-5byte-mint | Sign reveal txs of brc20-5byte-mint (Deprecated) |
| POST /v2/inscribe/order/create/runes-etch | Create an order to etch Runes |
| POST /v2/inscribe/order/create/runes-mint | Create an order to mint Runes |
| POST /v2/inscribe/order/{orderId}/refund | Process a refund for an order. |
| POST /v2/inscribe/order/{orderId}/refund-estimate | Estimate the size of the refund transaction |
Method: GET
Path: /v2/inscribe/order/summary
Swagger Link: View in Swagger UI
Method: GET
Path: /v2/inscribe/order/list
Swagger Link: View in Swagger UI
Get order list of current apikey
cursor (query) (required): Start offsetsize (query) (required): Number of items returnedsort (query) : Sort by (asc/desc)status (query) : Status of orderreceiveAddress (query) : ReceiveAddress of orderclientId (query) : ClientId of orderwithFiles (query) : Whether to include filesMethod: GET
Path: /v2/inscribe/order/{orderId}
Swagger Link: View in Swagger UI
It’s recommended to query the latest status every 10 seconds.
amount = outputValue*count + minerFee + serviceFee + devFee
orderId (path) (required):enum OrderStatus {
// when create order
pending = "pending",
// pay not enough, need pay more
payment_notenough = "payment_notenough",
// pay over, need choose continue or refund
payment_overpay = "payment_overpay",
// there is an inscription in payment transaction, need refund
payment_withinscription = "payment_withinscription",
// in some case, payment transaction need be confirmed
payment_waitconfirmed = "payment_waitconfirmed",
// payment success
payment_success = "payment_success",
// ready to inscribe
ready = "ready",
inscribing = "inscribing",
minted = "minted",
closed = "closed",
refunded = "refunded",
cancel = "cancel",
}
enum InscriptionStatus {
pending = "pending",
unconfirmed = "unconfirmed",
confirmed = "confirmed",
}
Method: POST
Path: /v2/inscribe/order/create
Swagger Link: View in Swagger UI
Create an order to inscribe something
Method: POST
Path: /v2/inscribe/order/request-commit
Swagger Link: View in Swagger UI
Method: POST
Path: /v2/inscribe/order/sign-commit
Swagger Link: View in Swagger UI
Method: POST
Path: /v2/inscribe/order/sign-reveal
Swagger Link: View in Swagger UI
Method: POST
Path: /v2/inscribe/order/create/runes-etch
Swagger Link: View in Swagger UI
Method: POST
Path: /v2/inscribe/order/create/runes-mint
Swagger Link: View in Swagger UI
Method: POST
Path: /v2/inscribe/order/{orderId}/refund
Swagger Link: View in Swagger UI
When the amount paid by the user includes inscriptions, inscribing cannot be performed. Refund can be requested through this method.
orderId (path) (required):Method: POST
Path: /v2/inscribe/order/{orderId}/refund-estimate
Swagger Link: View in Swagger UI
RefundAmount = PaidAmount - RefundTxSize * RefundFeeRate. This value must be greater than SafeRefundAmount, otherwise there’s a risk of losing inscriptions used for payment due to errors.
orderId (path) (required):Method: POST
Path: /v2/inscribe/order/create/brc20-deploy
Swagger Link: View in Swagger UI
Deprecated, please use /order/create instead
Method: POST
Path: /v2/inscribe/order/create/brc20-mint
Swagger Link: View in Swagger UI
Deprecated, please use /order/create instead
Method: POST
Path: /v2/inscribe/order/create/brc20-transfer
Swagger Link: View in Swagger UI
Deprecated, please use /order/create instead
Method: POST
Path: /v2/inscribe/order/create/brc20-5byte-mint
Swagger Link: View in Swagger UI
Deprecated, please use /order/create instead
Method: POST
Path: /v2/inscribe/order/request-commit/brc20-5byte-mint
Swagger Link: View in Swagger UI
Deprecated, please use /order/request-commit instead
Method: POST
Path: /v2/inscribe/order/sign-commit/brc20-5byte-mint
Swagger Link: View in Swagger UI
Deprecated, please use /order/sign-commit instead
Method: POST
Path: /v2/inscribe/order/sign-reveal/brc20-5byte-mint
Swagger Link: View in Swagger UI
Deprecated, please use /order/sign-reveal instead