Skip to main content

Pay inscribing order

POST 

https://open-api.scrypt.io/v1/btc/:network/orders/insc/inscribe/pay

Pay the order that inscribe inscriptions.

Body

required

Pay a inscribing order

    orderId stringrequired
    txId integerrequired

Responses

Successful operation

{
"statusCode": 0,
"data": {
"txs": [
{
"txId": "5318dcba1bba88439d651268a42a1ab02eb201ab3dbe410f675219fc76bc4026",
"status": "unconfirmed"
},
{
"txId": "c7b45d2c3cd0ff78dd17b160dd9a32cf6bddb66dc5faa8b882ae24ceb0ba534e",
"status": "pending"
}
],
"status": "processing"
}
}

Authorization: http

name: bearerAuthtype: httpscheme: bearerbearerFormat: JWT
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"
}'
Request Collapse all
Base URL
https://open-api.scrypt.io/v1
Auth
Parameters
— pathrequired
Body required
{
  "orderId": "6668661c136c248b76863796",
  "txId": "d925f0fe6bfb13ba126c1408749465ea0b58df7cc472f2b166e70c68d6fb46b3"
}
ResponseClear

Click the Send API Request button above and see the response here!