Merge pull request #5357 from mempool/nymkappa/update-api-key-header
[doc] update api key header
This commit is contained in:
commit
b0db348605
@ -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>api_key</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: "api_key: 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: "api_key: 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: "api_key: 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: "api_key: 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: "api_key: stacksats",
|
headers: "X-Mempool-Auth: stacksats",
|
||||||
response: `[
|
response: `[
|
||||||
{
|
{
|
||||||
"id": 89,
|
"id": 89,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user