Pay inscribing order
POSThttps://open-api.scrypt.io/v1/btc/:network/orders/insc/inscribe/pay
Pay the order that inscribe inscriptions.
- application/json
Body
required
Pay a inscribing order
orderId stringrequired
txId integerrequired
Responses
- 200
- 400
- 401
Successful operation
- application/json
- Example
{
"statusCode": 0,
"data": {
"txs": [
{
"txId": "5318dcba1bba88439d651268a42a1ab02eb201ab3dbe410f675219fc76bc4026",
"status": "unconfirmed"
},
{
"txId": "c7b45d2c3cd0ff78dd17b160dd9a32cf6bddb66dc5faa8b882ae24ceb0ba534e",
"status": "pending"
}
],
"status": "processing"
}
}
Bad Request
Unauthorized
Authorization: http
name: bearerAuthtype: httpscheme: bearerbearerFormat: JWT
- curl
- python
- go
- nodejs
- ruby
- csharp
- php
- java
- powershell
- CURL
curl -L -X POST 'https://open-api.scrypt.io/v1/btc/:network/orders/insc/inscribe/pay' \
-H 'Content-Type: application/json' \
-H 'Accept: application/json' \
-H 'Authorization: Bearer <TOKEN>' \
--data-raw '{
"orderId": "6668661c136c248b76863796",
"txId": "d925f0fe6bfb13ba126c1408749465ea0b58df7cc472f2b166e70c68d6fb46b3"
}'
ResponseClear