mirror of
https://github.com/mempool/mempool.git
synced 2024-12-27 08:44:26 +01:00
Update API documentation
This commit is contained in:
parent
c402422682
commit
f9bcdfb1e5
@ -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,111 +4023,103 @@ export const restApiDocsData = [
|
|||||||
esModule: [],
|
esModule: [],
|
||||||
commonJS: [],
|
commonJS: [],
|
||||||
curl: [`1m`],
|
curl: [`1m`],
|
||||||
response: `{
|
response: `[
|
||||||
"oldestIndexedBlockTimestamp": 1571434851,
|
{
|
||||||
"blockFeeRates": [
|
"avgHeight": 732152,
|
||||||
{
|
"timestamp": 1650132959,
|
||||||
"avgHeight": 732152,
|
"avgFee_0": 1,
|
||||||
"timestamp": 1650132959,
|
"avgFee_10": 2,
|
||||||
"avgFee_0": 1,
|
"avgFee_25": 2,
|
||||||
"avgFee_10": 2,
|
"avgFee_50": 3,
|
||||||
"avgFee_25": 2,
|
"avgFee_75": 4,
|
||||||
"avgFee_50": 3,
|
"avgFee_90": 8,
|
||||||
"avgFee_75": 4,
|
"avgFee_100": 393
|
||||||
"avgFee_90": 8,
|
},
|
||||||
"avgFee_100": 393
|
{
|
||||||
},
|
"avgHeight": 732158,
|
||||||
{
|
"timestamp": 1650134432,
|
||||||
"avgHeight": 732158,
|
"avgFee_0": 1,
|
||||||
"timestamp": 1650134432,
|
"avgFee_10": 1,
|
||||||
"avgFee_0": 1,
|
"avgFee_25": 2,
|
||||||
"avgFee_10": 1,
|
"avgFee_50": 4,
|
||||||
"avgFee_25": 2,
|
"avgFee_75": 6,
|
||||||
"avgFee_50": 4,
|
"avgFee_90": 10,
|
||||||
"avgFee_75": 6,
|
"avgFee_100": 240
|
||||||
"avgFee_90": 10,
|
},
|
||||||
"avgFee_100": 240
|
{
|
||||||
},
|
"avgHeight": 732161,
|
||||||
{
|
"timestamp": 1650135818,
|
||||||
"avgHeight": 732161,
|
"avgFee_0": 1,
|
||||||
"timestamp": 1650135818,
|
"avgFee_10": 1,
|
||||||
"avgFee_0": 1,
|
"avgFee_25": 1,
|
||||||
"avgFee_10": 1,
|
"avgFee_50": 2,
|
||||||
"avgFee_25": 1,
|
"avgFee_75": 5,
|
||||||
"avgFee_50": 2,
|
"avgFee_90": 8,
|
||||||
"avgFee_75": 5,
|
"avgFee_100": 251
|
||||||
"avgFee_90": 8,
|
},
|
||||||
"avgFee_100": 251
|
...
|
||||||
},
|
]`
|
||||||
...
|
|
||||||
]
|
|
||||||
}`
|
|
||||||
},
|
},
|
||||||
codeSampleTestnet: {
|
codeSampleTestnet: {
|
||||||
esModule: [],
|
esModule: [],
|
||||||
commonJS: [],
|
commonJS: [],
|
||||||
curl: [`1m`],
|
curl: [`1m`],
|
||||||
response: `{
|
response: `[
|
||||||
"oldestIndexedBlockTimestamp": 1296688602,
|
{
|
||||||
"blockFeeRates": [
|
"avgHeight": 2196306,
|
||||||
{
|
"timestamp": 1650360168,
|
||||||
"avgHeight": 2196306,
|
"avgFee_0": 1,
|
||||||
"timestamp": 1650360168,
|
"avgFee_10": 1,
|
||||||
"avgFee_0": 1,
|
"avgFee_25": 1,
|
||||||
"avgFee_10": 1,
|
"avgFee_50": 1,
|
||||||
"avgFee_25": 1,
|
"avgFee_75": 2,
|
||||||
"avgFee_50": 1,
|
"avgFee_90": 28,
|
||||||
"avgFee_75": 2,
|
"avgFee_100": 2644
|
||||||
"avgFee_90": 28,
|
},
|
||||||
"avgFee_100": 2644
|
{
|
||||||
},
|
"avgHeight": 2196308,
|
||||||
{
|
"timestamp": 1650361209,
|
||||||
"avgHeight": 2196308,
|
"avgFee_0": 1,
|
||||||
"timestamp": 1650361209,
|
"avgFee_10": 1,
|
||||||
"avgFee_0": 1,
|
"avgFee_25": 1,
|
||||||
"avgFee_10": 1,
|
"avgFee_50": 4,
|
||||||
"avgFee_25": 1,
|
"avgFee_75": 12,
|
||||||
"avgFee_50": 4,
|
"avgFee_90": 65,
|
||||||
"avgFee_75": 12,
|
"avgFee_100": 102
|
||||||
"avgFee_90": 65,
|
},
|
||||||
"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,
|
"avgFee_0": 1,
|
||||||
"avgFee_0": 1,
|
"avgFee_10": 1,
|
||||||
"avgFee_10": 1,
|
"avgFee_25": 1,
|
||||||
"avgFee_25": 1,
|
"avgFee_50": 1,
|
||||||
"avgFee_50": 1,
|
"avgFee_75": 1,
|
||||||
"avgFee_75": 1,
|
"avgFee_90": 1,
|
||||||
"avgFee_90": 1,
|
"avgFee_100": 1
|
||||||
"avgFee_100": 1
|
},
|
||||||
},
|
{
|
||||||
{
|
"avgHeight": 86623,
|
||||||
"avgHeight": 86623,
|
"timestamp": 1650361330,
|
||||||
"timestamp": 1650361330,
|
"avgFee_0": 1,
|
||||||
"avgFee_0": 1,
|
"avgFee_10": 1,
|
||||||
"avgFee_10": 1,
|
"avgFee_25": 1,
|
||||||
"avgFee_25": 1,
|
"avgFee_50": 1,
|
||||||
"avgFee_50": 1,
|
"avgFee_75": 1,
|
||||||
"avgFee_75": 1,
|
"avgFee_90": 1,
|
||||||
"avgFee_90": 1,
|
"avgFee_100": 1
|
||||||
"avgFee_100": 1
|
},
|
||||||
},
|
...
|
||||||
...
|
]`
|
||||||
]
|
|
||||||
}`
|
|
||||||
},
|
},
|
||||||
codeSampleLiquid: emptyCodeSample,
|
codeSampleLiquid: emptyCodeSample,
|
||||||
codeSampleLiquidTestnet: emptyCodeSample,
|
codeSampleLiquidTestnet: emptyCodeSample,
|
||||||
|
Loading…
Reference in New Issue
Block a user