Update API documentation

This commit is contained in:
nymkappa 2022-05-20 10:13:27 +02:00
parent c402422682
commit f9bcdfb1e5
No known key found for this signature in database
GPG Key ID: E155910B16E8BD04

View File

@ -3049,7 +3049,6 @@ export const restApiDocsData = [
"slug": "antpool" "slug": "antpool"
}, },
... ...
"oldestIndexedBlockTimestamp": 1231006505,
"blockCount": 1005, "blockCount": 1005,
"lastEstimatedHashrate": 230086716765559200000 "lastEstimatedHashrate": 230086716765559200000
}` }`
@ -3080,7 +3079,6 @@ export const restApiDocsData = [
}, },
... ...
], ],
"oldestIndexedBlockTimestamp": 1296688602,
"blockCount": 2226180, "blockCount": 2226180,
"lastEstimatedHashrate": 602244182177430.8 "lastEstimatedHashrate": 602244182177430.8
}` }`
@ -4025,9 +4023,7 @@ export const restApiDocsData = [
esModule: [], esModule: [],
commonJS: [], commonJS: [],
curl: [`1m`], curl: [`1m`],
response: `{ response: `[
"oldestIndexedBlockTimestamp": 1571434851,
"blockFeeRates": [
{ {
"avgHeight": 732152, "avgHeight": 732152,
"timestamp": 1650132959, "timestamp": 1650132959,
@ -4062,16 +4058,13 @@ export const restApiDocsData = [
"avgFee_100": 251 "avgFee_100": 251
}, },
... ...
] ]`
}`
}, },
codeSampleTestnet: { codeSampleTestnet: {
esModule: [], esModule: [],
commonJS: [], commonJS: [],
curl: [`1m`], curl: [`1m`],
response: `{ response: `[
"oldestIndexedBlockTimestamp": 1296688602,
"blockFeeRates": [
{ {
"avgHeight": 2196306, "avgHeight": 2196306,
"timestamp": 1650360168, "timestamp": 1650360168,
@ -4095,16 +4088,14 @@ export const restApiDocsData = [
"avgFee_100": 102 "avgFee_100": 102
}, },
... ...
] ]`
}`
}, },
codeSampleSignet: { codeSampleSignet: {
esModule: [], esModule: [],
commonJS: [], commonJS: [],
curl: [`1m`], curl: [`1m`],
response: `{ response: `{
"oldestIndexedBlockTimestamp": 1598918400, "blockFeeRates": [
"blockFeeRates": [
{ {
"avgHeight": 86620, "avgHeight": 86620,
"timestamp": 1650360010, "timestamp": 1650360010,
@ -4128,8 +4119,7 @@ export const restApiDocsData = [
"avgFee_100": 1 "avgFee_100": 1
}, },
... ...
] ]`
}`
}, },
codeSampleLiquid: emptyCodeSample, codeSampleLiquid: emptyCodeSample,
codeSampleLiquidTestnet: emptyCodeSample, codeSampleLiquidTestnet: emptyCodeSample,