Skip to content

Commit bb1adf4

Browse files
committed
Update API docs for Difficulty API (REST)
1 parent 7727659 commit bb1adf4

File tree

1 file changed

+28
-16
lines changed

1 file changed

+28
-16
lines changed

frontend/src/app/docs/api-docs/api-docs-data.ts

+28-16
Original file line numberDiff line numberDiff line change
@@ -114,11 +114,14 @@ export const restApiDocsData = [
114114
curl: [],
115115
response: `{
116116
progressPercent: 44.397234501112074,
117-
difficultyChange: 0.9845932018381687,
118-
estimatedRetargetDate: 1627762478.9111245,
117+
difficultyChange: 98.45932018381687,
118+
estimatedRetargetDate: 1627762478,
119119
remainingBlocks: 1121,
120-
remainingTime: 665977.6261244365,
121-
previousRetarget: -4.807005268478962
120+
remainingTime: 665977,
121+
previousRetarget: -4.807005268478962,
122+
nextRetargetHeight: 741888,
123+
timeAvg: 302328,
124+
timeOffset: 0
122125
}`
123126
},
124127
codeSampleTestnet: {
@@ -127,11 +130,14 @@ export const restApiDocsData = [
127130
curl: [],
128131
response: `{
129132
progressPercent: 44.397234501112074,
130-
difficultyChange: 0.9845932018381687,
131-
estimatedRetargetDate: 1627762478.9111245,
133+
difficultyChange: 98.45932018381687,
134+
estimatedRetargetDate: 1627762478,
132135
remainingBlocks: 1121,
133-
remainingTime: 665977.6261244365,
134-
previousRetarget: -4.807005268478962
136+
remainingTime: 665977,
137+
previousRetarget: -4.807005268478962,
138+
nextRetargetHeight: 741888,
139+
timeAvg: 302328,
140+
timeOffset: 0
135141
}`
136142
},
137143
codeSampleSignet: {
@@ -140,11 +146,14 @@ export const restApiDocsData = [
140146
curl: [],
141147
response: `{
142148
progressPercent: 44.397234501112074,
143-
difficultyChange: 0.9845932018381687,
144-
estimatedRetargetDate: 1627762478.9111245,
149+
difficultyChange: 98.45932018381687,
150+
estimatedRetargetDate: 1627762478,
145151
remainingBlocks: 1121,
146-
remainingTime: 665977.6261244365,
147-
previousRetarget: -4.807005268478962
152+
remainingTime: 665977,
153+
previousRetarget: -4.807005268478962,
154+
nextRetargetHeight: 741888,
155+
timeAvg: 302328,
156+
timeOffset: 0
148157
}`
149158
},
150159
codeSampleLiquid: {
@@ -153,11 +162,14 @@ export const restApiDocsData = [
153162
curl: [],
154163
response: `{
155164
progressPercent: 44.397234501112074,
156-
difficultyChange: 0.9845932018381687,
157-
estimatedRetargetDate: 1627762478.9111245,
165+
difficultyChange: 98.45932018381687,
166+
estimatedRetargetDate: 1627762478,
158167
remainingBlocks: 1121,
159-
remainingTime: 665977.6261244365,
160-
previousRetarget: -4.807005268478962
168+
remainingTime: 665977,
169+
previousRetarget: -4.807005268478962,
170+
nextRetargetHeight: 741888,
171+
timeAvg: 302328,
172+
timeOffset: 0
161173
}`
162174
}
163175
}

0 commit comments

Comments
 (0)