Update API docs for Difficulty API (REST)
This commit is contained in:
parent
772765959b
commit
bb1adf41e7
@ -114,11 +114,14 @@ export const restApiDocsData = [
|
|||||||
curl: [],
|
curl: [],
|
||||||
response: `{
|
response: `{
|
||||||
progressPercent: 44.397234501112074,
|
progressPercent: 44.397234501112074,
|
||||||
difficultyChange: 0.9845932018381687,
|
difficultyChange: 98.45932018381687,
|
||||||
estimatedRetargetDate: 1627762478.9111245,
|
estimatedRetargetDate: 1627762478,
|
||||||
remainingBlocks: 1121,
|
remainingBlocks: 1121,
|
||||||
remainingTime: 665977.6261244365,
|
remainingTime: 665977,
|
||||||
previousRetarget: -4.807005268478962
|
previousRetarget: -4.807005268478962,
|
||||||
|
nextRetargetHeight: 741888,
|
||||||
|
timeAvg: 302328,
|
||||||
|
timeOffset: 0
|
||||||
}`
|
}`
|
||||||
},
|
},
|
||||||
codeSampleTestnet: {
|
codeSampleTestnet: {
|
||||||
@ -127,11 +130,14 @@ export const restApiDocsData = [
|
|||||||
curl: [],
|
curl: [],
|
||||||
response: `{
|
response: `{
|
||||||
progressPercent: 44.397234501112074,
|
progressPercent: 44.397234501112074,
|
||||||
difficultyChange: 0.9845932018381687,
|
difficultyChange: 98.45932018381687,
|
||||||
estimatedRetargetDate: 1627762478.9111245,
|
estimatedRetargetDate: 1627762478,
|
||||||
remainingBlocks: 1121,
|
remainingBlocks: 1121,
|
||||||
remainingTime: 665977.6261244365,
|
remainingTime: 665977,
|
||||||
previousRetarget: -4.807005268478962
|
previousRetarget: -4.807005268478962,
|
||||||
|
nextRetargetHeight: 741888,
|
||||||
|
timeAvg: 302328,
|
||||||
|
timeOffset: 0
|
||||||
}`
|
}`
|
||||||
},
|
},
|
||||||
codeSampleSignet: {
|
codeSampleSignet: {
|
||||||
@ -140,11 +146,14 @@ export const restApiDocsData = [
|
|||||||
curl: [],
|
curl: [],
|
||||||
response: `{
|
response: `{
|
||||||
progressPercent: 44.397234501112074,
|
progressPercent: 44.397234501112074,
|
||||||
difficultyChange: 0.9845932018381687,
|
difficultyChange: 98.45932018381687,
|
||||||
estimatedRetargetDate: 1627762478.9111245,
|
estimatedRetargetDate: 1627762478,
|
||||||
remainingBlocks: 1121,
|
remainingBlocks: 1121,
|
||||||
remainingTime: 665977.6261244365,
|
remainingTime: 665977,
|
||||||
previousRetarget: -4.807005268478962
|
previousRetarget: -4.807005268478962,
|
||||||
|
nextRetargetHeight: 741888,
|
||||||
|
timeAvg: 302328,
|
||||||
|
timeOffset: 0
|
||||||
}`
|
}`
|
||||||
},
|
},
|
||||||
codeSampleLiquid: {
|
codeSampleLiquid: {
|
||||||
@ -153,11 +162,14 @@ export const restApiDocsData = [
|
|||||||
curl: [],
|
curl: [],
|
||||||
response: `{
|
response: `{
|
||||||
progressPercent: 44.397234501112074,
|
progressPercent: 44.397234501112074,
|
||||||
difficultyChange: 0.9845932018381687,
|
difficultyChange: 98.45932018381687,
|
||||||
estimatedRetargetDate: 1627762478.9111245,
|
estimatedRetargetDate: 1627762478,
|
||||||
remainingBlocks: 1121,
|
remainingBlocks: 1121,
|
||||||
remainingTime: 665977.6261244365,
|
remainingTime: 665977,
|
||||||
previousRetarget: -4.807005268478962
|
previousRetarget: -4.807005268478962,
|
||||||
|
nextRetargetHeight: 741888,
|
||||||
|
timeAvg: 302328,
|
||||||
|
timeOffset: 0
|
||||||
}`
|
}`
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user