Change X-Mempool-Authorization to X-Mempool-Auth

This commit is contained in:
wiz 2024-07-24 12:25:35 -05:00
parent 4ef4e5b98a
commit b1aa4f50bd
No known key found for this signature in database
GPG Key ID: A394E332255A6173

View File

@ -8993,7 +8993,7 @@ export const restApiDocsData = [
fragment: "accelerator-estimate", fragment: "accelerator-estimate",
title: "POST Calculate Estimated Costs", title: "POST Calculate Estimated Costs",
description: { description: {
default: "<p>Returns estimated costs to accelerate a transaction. Optionally set the <code>X-Mempool-Authorization</code> header to get customized estimation.</p>" default: "<p>Returns estimated costs to accelerate a transaction. Optionally set the <code>X-Mempool-Auth</code> header to get customized estimation.</p>"
}, },
urlString: "/v1/services/accelerator/estimate", urlString: "/v1/services/accelerator/estimate",
showConditions: [""], showConditions: [""],
@ -9009,7 +9009,7 @@ export const restApiDocsData = [
esModule: [], esModule: [],
commonJS: [], commonJS: [],
curl: ["txInput=ee13ebb99632377c15c94980357f674d285ac413452050031ea6dcd3e9b2dc29"], curl: ["txInput=ee13ebb99632377c15c94980357f674d285ac413452050031ea6dcd3e9b2dc29"],
headers: "X-Mempool-Authorization: stacksats", headers: "X-Mempool-Auth: stacksats",
response: `{ response: `{
"txSummary": { "txSummary": {
"txid": "ee13ebb99632377c15c94980357f674d285ac413452050031ea6dcd3e9b2dc29", "txid": "ee13ebb99632377c15c94980357f674d285ac413452050031ea6dcd3e9b2dc29",
@ -9240,7 +9240,7 @@ export const restApiDocsData = [
esModule: [], esModule: [],
commonJS: [], commonJS: [],
curl: [], curl: [],
headers: "X-Mempool-Authorization: stacksats", headers: "X-Mempool-Auth: stacksats",
response: `[ response: `[
{ {
"type": "Bitcoin", "type": "Bitcoin",
@ -9288,7 +9288,7 @@ export const restApiDocsData = [
esModule: [], esModule: [],
commonJS: [], commonJS: [],
curl: [], curl: [],
headers: "X-Mempool-Authorization: stacksats", headers: "X-Mempool-Auth: stacksats",
response: `{ response: `{
"balance": 99900000, "balance": 99900000,
"hold": 101829, "hold": 101829,
@ -9322,7 +9322,7 @@ export const restApiDocsData = [
esModule: [], esModule: [],
commonJS: [], commonJS: [],
curl: ["txInput=ee13ebb99632377c15c94980357f674d285ac413452050031ea6dcd3e9b2dc29&userBid=21000000"], curl: ["txInput=ee13ebb99632377c15c94980357f674d285ac413452050031ea6dcd3e9b2dc29&userBid=21000000"],
headers: "X-Mempool-Authorization: stacksats", headers: "X-Mempool-Auth: stacksats",
response: `HTTP/1.1 200 OK`, response: `HTTP/1.1 200 OK`,
}, },
} }
@ -9352,7 +9352,7 @@ export const restApiDocsData = [
esModule: [], esModule: [],
commonJS: [], commonJS: [],
curl: [], curl: [],
headers: "X-Mempool-Authorization: stacksats", headers: "X-Mempool-Auth: stacksats",
response: `[ response: `[
{ {
"id": 89, "id": 89,