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
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/create/brc20-deploy
Swagger Link: View in Swagger UI
Method: POST
Path: /v2/inscribe/order/create/brc20-mint
Swagger Link: View in Swagger UI
Method: POST
Path: /v2/inscribe/order/create/brc20-transfer
Swagger Link: View in Swagger UI
Method: POST
Path: /v2/inscribe/order/create/brc20-5byte-mint
Swagger Link: View in Swagger UI
Method: POST
Path: /v2/inscribe/order/request-commit/brc20-5byte-mint
Swagger Link: View in Swagger UI
Method: POST
Path: /v2/inscribe/order/sign-commit/brc20-5byte-mint
Swagger Link: View in Swagger UI
Method: POST
Path: /v2/inscribe/order/sign-reveal/brc20-5byte-mint
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):