@ocap/client 1.6.3 → 1.6.10
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +1 -1
- package/dist/base.js +36 -22
- package/dist/base.js.map +1 -1
- package/dist/browser.d.ts +997 -590
- package/dist/browser.js +1 -8
- package/dist/browser.js.map +1 -1
- package/dist/bundle.js +3 -3
- package/dist/client.js +11 -7
- package/dist/client.js.map +1 -1
- package/dist/extension.js +502 -462
- package/dist/extension.js.map +1 -1
- package/dist/methods.js +0 -142
- package/dist/methods.js.map +1 -1
- package/dist/report.html +2 -2
- package/dist/schema/graphql.json +9048 -4442
- package/dist/schema/graphql.txt +2 -2
- package/dist/types.js +2143 -1924
- package/dist/types.js.map +1 -1
- package/docs/QUERIES.md +1547 -1494
- package/docs/README.md +3269 -3138
- package/examples/asset.js +7 -7
- package/examples/create-secondary-token.js +44 -0
- package/examples/declare.js +9 -9
- package/examples/{delegate_exchange_both.js → delegate-exchange-both.js} +12 -8
- package/examples/{delegate_exchange.js → delegate-exchange.js} +11 -7
- package/examples/{delegate_transfer.js → delegate-transfer.js} +12 -6
- package/examples/exchange-secondary-token.js +100 -0
- package/examples/exchange.js +9 -9
- package/examples/{migrate_account.js → migrate-account.js} +5 -5
- package/examples/run-no-debug.sh +8 -8
- package/examples/run.sh +8 -8
- package/examples/subscribe.js +16 -0
- package/examples/{transfer_asset.js → transfer-asset.js} +11 -11
- package/examples/{transfer_token.js → transfer-primary-token.js} +10 -10
- package/examples/transfer-secondary-token.js +62 -0
- package/lib/base.js +36 -22
- package/lib/base.js.map +1 -1
- package/lib/client.js +11 -7
- package/lib/client.js.map +1 -1
- package/lib/extension.js +502 -462
- package/lib/extension.js.map +1 -1
- package/lib/methods.js +0 -142
- package/lib/methods.js.map +1 -1
- package/lib/node.d.ts +997 -590
- package/lib/node.js +0 -6
- package/lib/node.js.map +1 -1
- package/lib/schema/graphql.json +9048 -4442
- package/lib/schema/graphql.txt +2 -2
- package/lib/types.js +2143 -1924
- package/lib/types.js.map +1 -1
- package/package.json +30 -32
- package/examples/atomic_swap.js +0 -145
- package/examples/consume_asset_gatekeeper.js +0 -105
- package/examples/consume_asset_simple.js +0 -91
- package/examples/declare_forgeweb.js +0 -60
- package/examples/declare_restricted.js +0 -47
- package/examples/delegate_atomic_swap.js +0 -177
- package/examples/get_free_token.js +0 -33
- package/examples/subscribe_new_block.js +0 -36
- package/examples/subscribe_transfer.js +0 -80
package/docs/QUERIES.md
CHANGED
|
@@ -6,8 +6,10 @@
|
|
|
6
6
|
* [Queries](#queries)
|
|
7
7
|
* [getAccountState](#getaccountstate)
|
|
8
8
|
* [getAssetState](#getassetstate)
|
|
9
|
+
* [getFactoryState](#getfactorystate)
|
|
9
10
|
* [getDelegateState](#getdelegatestate)
|
|
10
|
-
* [
|
|
11
|
+
* [getTokenState](#gettokenstate)
|
|
12
|
+
* [getEvidenceState](#getevidencestate)
|
|
11
13
|
* [getForgeState](#getforgestate)
|
|
12
14
|
* [getTx](#gettx)
|
|
13
15
|
* [getBlock](#getblock)
|
|
@@ -15,26 +17,29 @@
|
|
|
15
17
|
* [getUnconfirmedTxs](#getunconfirmedtxs)
|
|
16
18
|
* [getChainInfo](#getchaininfo)
|
|
17
19
|
* [getConfig](#getconfig)
|
|
18
|
-
* [getHealthStatus](#gethealthstatus)
|
|
19
20
|
* [getNetInfo](#getnetinfo)
|
|
20
21
|
* [getNodeInfo](#getnodeinfo)
|
|
21
22
|
* [getValidatorsInfo](#getvalidatorsinfo)
|
|
22
23
|
* [getForgeStats](#getforgestats)
|
|
23
|
-
* [getForgeStatsByDay](#getforgestatsbyday)
|
|
24
|
-
* [getForgeStatsByHour](#getforgestatsbyhour)
|
|
25
|
-
* [getSwapStatistics](#getswapstatistics)
|
|
26
24
|
* [listAssetTransactions](#listassettransactions)
|
|
27
25
|
* [listAssets](#listassets)
|
|
28
26
|
* [listBlocks](#listblocks)
|
|
29
|
-
* [listStakes](#liststakes)
|
|
30
|
-
* [listSwap](#listswap)
|
|
31
27
|
* [listTopAccounts](#listtopaccounts)
|
|
32
28
|
* [listTransactions](#listtransactions)
|
|
29
|
+
* [listTokens](#listtokens)
|
|
30
|
+
* [listFactories](#listfactories)
|
|
31
|
+
* [getAccountTokens](#getaccounttokens)
|
|
32
|
+
* [getStakeState](#getstakestate)
|
|
33
|
+
* [listStakes](#liststakes)
|
|
34
|
+
* [getRollupState](#getrollupstate)
|
|
35
|
+
* [listRollups](#listrollups)
|
|
36
|
+
* [getRollupBlock](#getrollupblock)
|
|
37
|
+
* [listRollupBlocks](#listrollupblocks)
|
|
38
|
+
* [listRollupValidators](#listrollupvalidators)
|
|
39
|
+
* [search](#search)
|
|
33
40
|
* [Subscriptions](#subscriptions)
|
|
34
|
-
* [subscribe](#subscribe)
|
|
35
41
|
* [Mutations](#mutations)
|
|
36
42
|
* [sendTx](#sendtx)
|
|
37
|
-
* [unsubscribe](#unsubscribe)
|
|
38
43
|
|
|
39
44
|
|
|
40
45
|
## Queries
|
|
@@ -56,7 +61,6 @@
|
|
|
56
61
|
state {
|
|
57
62
|
address
|
|
58
63
|
balance
|
|
59
|
-
depositReceived
|
|
60
64
|
gasBalance
|
|
61
65
|
issuer
|
|
62
66
|
migratedFrom
|
|
@@ -74,11 +78,27 @@
|
|
|
74
78
|
hash
|
|
75
79
|
height
|
|
76
80
|
index
|
|
81
|
+
receiver
|
|
82
|
+
sender
|
|
77
83
|
time
|
|
84
|
+
receipts {
|
|
85
|
+
address
|
|
86
|
+
changes {
|
|
87
|
+
action
|
|
88
|
+
target
|
|
89
|
+
value
|
|
90
|
+
}
|
|
91
|
+
}
|
|
78
92
|
tags {
|
|
79
93
|
key
|
|
80
94
|
value
|
|
81
95
|
}
|
|
96
|
+
tokenSymbols {
|
|
97
|
+
address
|
|
98
|
+
decimal
|
|
99
|
+
symbol
|
|
100
|
+
unit
|
|
101
|
+
}
|
|
82
102
|
tx {
|
|
83
103
|
chainId
|
|
84
104
|
delegator
|
|
@@ -86,6 +106,9 @@
|
|
|
86
106
|
itxJson
|
|
87
107
|
nonce
|
|
88
108
|
pk
|
|
109
|
+
receiver
|
|
110
|
+
sender
|
|
111
|
+
serviceFee
|
|
89
112
|
signature
|
|
90
113
|
signatures {
|
|
91
114
|
delegator
|
|
@@ -104,11 +127,27 @@
|
|
|
104
127
|
hash
|
|
105
128
|
height
|
|
106
129
|
index
|
|
130
|
+
receiver
|
|
131
|
+
sender
|
|
107
132
|
time
|
|
133
|
+
receipts {
|
|
134
|
+
address
|
|
135
|
+
changes {
|
|
136
|
+
action
|
|
137
|
+
target
|
|
138
|
+
value
|
|
139
|
+
}
|
|
140
|
+
}
|
|
108
141
|
tags {
|
|
109
142
|
key
|
|
110
143
|
value
|
|
111
144
|
}
|
|
145
|
+
tokenSymbols {
|
|
146
|
+
address
|
|
147
|
+
decimal
|
|
148
|
+
symbol
|
|
149
|
+
unit
|
|
150
|
+
}
|
|
112
151
|
tx {
|
|
113
152
|
chainId
|
|
114
153
|
delegator
|
|
@@ -116,6 +155,9 @@
|
|
|
116
155
|
itxJson
|
|
117
156
|
nonce
|
|
118
157
|
pk
|
|
158
|
+
receiver
|
|
159
|
+
sender
|
|
160
|
+
serviceFee
|
|
119
161
|
signature
|
|
120
162
|
signatures {
|
|
121
163
|
delegator
|
|
@@ -134,36 +176,12 @@
|
|
|
134
176
|
typeUrl
|
|
135
177
|
value
|
|
136
178
|
}
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
}
|
|
144
|
-
poke {
|
|
145
|
-
amount
|
|
146
|
-
dailyLimit
|
|
147
|
-
leftover
|
|
148
|
-
}
|
|
149
|
-
stake {
|
|
150
|
-
totalReceivedStakes
|
|
151
|
-
totalStakes
|
|
152
|
-
totalUnstakes
|
|
153
|
-
recentReceivedStakes {
|
|
154
|
-
circular
|
|
155
|
-
fifo
|
|
156
|
-
items
|
|
157
|
-
maxItems
|
|
158
|
-
typeUrl
|
|
159
|
-
}
|
|
160
|
-
recentStakes {
|
|
161
|
-
circular
|
|
162
|
-
fifo
|
|
163
|
-
items
|
|
164
|
-
maxItems
|
|
165
|
-
typeUrl
|
|
166
|
-
}
|
|
179
|
+
tokens {
|
|
180
|
+
address
|
|
181
|
+
decimal
|
|
182
|
+
symbol
|
|
183
|
+
unit
|
|
184
|
+
value
|
|
167
185
|
}
|
|
168
186
|
type {
|
|
169
187
|
address
|
|
@@ -171,16 +189,10 @@
|
|
|
171
189
|
pk
|
|
172
190
|
role
|
|
173
191
|
}
|
|
174
|
-
withdrawItems {
|
|
175
|
-
circular
|
|
176
|
-
fifo
|
|
177
|
-
items
|
|
178
|
-
maxItems
|
|
179
|
-
typeUrl
|
|
180
|
-
}
|
|
181
192
|
}
|
|
182
193
|
}
|
|
183
194
|
}
|
|
195
|
+
|
|
184
196
|
```
|
|
185
197
|
|
|
186
198
|
### getAssetState
|
|
@@ -205,6 +217,7 @@
|
|
|
205
217
|
owner
|
|
206
218
|
parent
|
|
207
219
|
readonly
|
|
220
|
+
tags
|
|
208
221
|
transferrable
|
|
209
222
|
ttl
|
|
210
223
|
context {
|
|
@@ -215,11 +228,27 @@
|
|
|
215
228
|
hash
|
|
216
229
|
height
|
|
217
230
|
index
|
|
231
|
+
receiver
|
|
232
|
+
sender
|
|
218
233
|
time
|
|
234
|
+
receipts {
|
|
235
|
+
address
|
|
236
|
+
changes {
|
|
237
|
+
action
|
|
238
|
+
target
|
|
239
|
+
value
|
|
240
|
+
}
|
|
241
|
+
}
|
|
219
242
|
tags {
|
|
220
243
|
key
|
|
221
244
|
value
|
|
222
245
|
}
|
|
246
|
+
tokenSymbols {
|
|
247
|
+
address
|
|
248
|
+
decimal
|
|
249
|
+
symbol
|
|
250
|
+
unit
|
|
251
|
+
}
|
|
223
252
|
tx {
|
|
224
253
|
chainId
|
|
225
254
|
delegator
|
|
@@ -227,6 +256,9 @@
|
|
|
227
256
|
itxJson
|
|
228
257
|
nonce
|
|
229
258
|
pk
|
|
259
|
+
receiver
|
|
260
|
+
sender
|
|
261
|
+
serviceFee
|
|
230
262
|
signature
|
|
231
263
|
signatures {
|
|
232
264
|
delegator
|
|
@@ -245,11 +277,27 @@
|
|
|
245
277
|
hash
|
|
246
278
|
height
|
|
247
279
|
index
|
|
280
|
+
receiver
|
|
281
|
+
sender
|
|
248
282
|
time
|
|
283
|
+
receipts {
|
|
284
|
+
address
|
|
285
|
+
changes {
|
|
286
|
+
action
|
|
287
|
+
target
|
|
288
|
+
value
|
|
289
|
+
}
|
|
290
|
+
}
|
|
249
291
|
tags {
|
|
250
292
|
key
|
|
251
293
|
value
|
|
252
294
|
}
|
|
295
|
+
tokenSymbols {
|
|
296
|
+
address
|
|
297
|
+
decimal
|
|
298
|
+
symbol
|
|
299
|
+
unit
|
|
300
|
+
}
|
|
253
301
|
tx {
|
|
254
302
|
chainId
|
|
255
303
|
delegator
|
|
@@ -257,6 +305,9 @@
|
|
|
257
305
|
itxJson
|
|
258
306
|
nonce
|
|
259
307
|
pk
|
|
308
|
+
receiver
|
|
309
|
+
sender
|
|
310
|
+
serviceFee
|
|
260
311
|
signature
|
|
261
312
|
signatures {
|
|
262
313
|
delegator
|
|
@@ -275,46 +326,43 @@
|
|
|
275
326
|
typeUrl
|
|
276
327
|
value
|
|
277
328
|
}
|
|
278
|
-
|
|
279
|
-
|
|
280
|
-
|
|
281
|
-
|
|
282
|
-
|
|
283
|
-
|
|
284
|
-
|
|
285
|
-
items
|
|
286
|
-
maxItems
|
|
287
|
-
typeUrl
|
|
288
|
-
}
|
|
289
|
-
recentStakes {
|
|
290
|
-
circular
|
|
291
|
-
fifo
|
|
292
|
-
items
|
|
293
|
-
maxItems
|
|
294
|
-
typeUrl
|
|
295
|
-
}
|
|
329
|
+
display {
|
|
330
|
+
content
|
|
331
|
+
type
|
|
332
|
+
}
|
|
333
|
+
endpoint {
|
|
334
|
+
id
|
|
335
|
+
scope
|
|
296
336
|
}
|
|
297
337
|
}
|
|
298
338
|
}
|
|
299
339
|
}
|
|
340
|
+
|
|
300
341
|
```
|
|
301
342
|
|
|
302
|
-
###
|
|
343
|
+
### getFactoryState
|
|
303
344
|
|
|
304
345
|
#### Arguments
|
|
305
346
|
|
|
306
347
|
* **address**, optional, null
|
|
307
|
-
* **height**, optional, null
|
|
308
|
-
* **keys**, optional, null
|
|
309
348
|
|
|
310
349
|
#### Result Format
|
|
311
350
|
|
|
312
351
|
```graphql
|
|
313
352
|
{
|
|
314
|
-
|
|
353
|
+
getFactoryState(address: "abc") {
|
|
315
354
|
code
|
|
316
355
|
state {
|
|
317
356
|
address
|
|
357
|
+
balance
|
|
358
|
+
description
|
|
359
|
+
lastSettlement
|
|
360
|
+
limit
|
|
361
|
+
name
|
|
362
|
+
numMinted
|
|
363
|
+
owner
|
|
364
|
+
settlement
|
|
365
|
+
trustedIssuers
|
|
318
366
|
context {
|
|
319
367
|
genesisTime
|
|
320
368
|
renaissanceTime
|
|
@@ -323,11 +371,27 @@
|
|
|
323
371
|
hash
|
|
324
372
|
height
|
|
325
373
|
index
|
|
374
|
+
receiver
|
|
375
|
+
sender
|
|
326
376
|
time
|
|
377
|
+
receipts {
|
|
378
|
+
address
|
|
379
|
+
changes {
|
|
380
|
+
action
|
|
381
|
+
target
|
|
382
|
+
value
|
|
383
|
+
}
|
|
384
|
+
}
|
|
327
385
|
tags {
|
|
328
386
|
key
|
|
329
387
|
value
|
|
330
388
|
}
|
|
389
|
+
tokenSymbols {
|
|
390
|
+
address
|
|
391
|
+
decimal
|
|
392
|
+
symbol
|
|
393
|
+
unit
|
|
394
|
+
}
|
|
331
395
|
tx {
|
|
332
396
|
chainId
|
|
333
397
|
delegator
|
|
@@ -335,6 +399,9 @@
|
|
|
335
399
|
itxJson
|
|
336
400
|
nonce
|
|
337
401
|
pk
|
|
402
|
+
receiver
|
|
403
|
+
sender
|
|
404
|
+
serviceFee
|
|
338
405
|
signature
|
|
339
406
|
signatures {
|
|
340
407
|
delegator
|
|
@@ -353,11 +420,27 @@
|
|
|
353
420
|
hash
|
|
354
421
|
height
|
|
355
422
|
index
|
|
423
|
+
receiver
|
|
424
|
+
sender
|
|
356
425
|
time
|
|
426
|
+
receipts {
|
|
427
|
+
address
|
|
428
|
+
changes {
|
|
429
|
+
action
|
|
430
|
+
target
|
|
431
|
+
value
|
|
432
|
+
}
|
|
433
|
+
}
|
|
357
434
|
tags {
|
|
358
435
|
key
|
|
359
436
|
value
|
|
360
437
|
}
|
|
438
|
+
tokenSymbols {
|
|
439
|
+
address
|
|
440
|
+
decimal
|
|
441
|
+
symbol
|
|
442
|
+
unit
|
|
443
|
+
}
|
|
361
444
|
tx {
|
|
362
445
|
chainId
|
|
363
446
|
delegator
|
|
@@ -365,6 +448,9 @@
|
|
|
365
448
|
itxJson
|
|
366
449
|
nonce
|
|
367
450
|
pk
|
|
451
|
+
receiver
|
|
452
|
+
sender
|
|
453
|
+
serviceFee
|
|
368
454
|
signature
|
|
369
455
|
signatures {
|
|
370
456
|
delegator
|
|
@@ -383,22 +469,68 @@
|
|
|
383
469
|
typeUrl
|
|
384
470
|
value
|
|
385
471
|
}
|
|
386
|
-
|
|
387
|
-
|
|
388
|
-
|
|
389
|
-
|
|
390
|
-
|
|
391
|
-
|
|
392
|
-
|
|
393
|
-
|
|
472
|
+
display {
|
|
473
|
+
content
|
|
474
|
+
type
|
|
475
|
+
}
|
|
476
|
+
hooks {
|
|
477
|
+
hook
|
|
478
|
+
name
|
|
479
|
+
type
|
|
480
|
+
}
|
|
481
|
+
input {
|
|
482
|
+
assets
|
|
483
|
+
value
|
|
484
|
+
tokens {
|
|
485
|
+
address
|
|
486
|
+
decimal
|
|
487
|
+
symbol
|
|
488
|
+
unit
|
|
489
|
+
value
|
|
490
|
+
}
|
|
491
|
+
variables {
|
|
492
|
+
description
|
|
493
|
+
name
|
|
494
|
+
required
|
|
495
|
+
value
|
|
496
|
+
}
|
|
497
|
+
}
|
|
498
|
+
output {
|
|
499
|
+
address
|
|
500
|
+
issuer
|
|
501
|
+
moniker
|
|
502
|
+
parent
|
|
503
|
+
readonly
|
|
504
|
+
tags
|
|
505
|
+
transferrable
|
|
506
|
+
ttl
|
|
507
|
+
data {
|
|
508
|
+
typeUrl
|
|
509
|
+
value
|
|
510
|
+
}
|
|
511
|
+
display {
|
|
512
|
+
content
|
|
513
|
+
type
|
|
514
|
+
}
|
|
515
|
+
endpoint {
|
|
516
|
+
id
|
|
517
|
+
scope
|
|
394
518
|
}
|
|
395
519
|
}
|
|
520
|
+
tokens {
|
|
521
|
+
address
|
|
522
|
+
decimal
|
|
523
|
+
symbol
|
|
524
|
+
unit
|
|
525
|
+
value
|
|
526
|
+
}
|
|
396
527
|
}
|
|
397
528
|
}
|
|
398
529
|
}
|
|
530
|
+
|
|
399
531
|
```
|
|
400
532
|
|
|
401
|
-
###
|
|
533
|
+
### getDelegateState
|
|
402
534
|
|
|
403
535
|
#### Arguments
|
|
404
536
|
|
|
@@ -410,18 +542,10 @@
|
|
|
410
542
|
|
|
411
543
|
```graphql
|
|
412
544
|
{
|
|
413
|
-
|
|
545
|
+
getDelegateState(address: "abc", height: "abc", keys: ["abc"]) {
|
|
414
546
|
code
|
|
415
547
|
state {
|
|
416
548
|
address
|
|
417
|
-
assets
|
|
418
|
-
hash
|
|
419
|
-
hashkey
|
|
420
|
-
hashlock
|
|
421
|
-
locktime
|
|
422
|
-
receiver
|
|
423
|
-
sender
|
|
424
|
-
value
|
|
425
549
|
context {
|
|
426
550
|
genesisTime
|
|
427
551
|
renaissanceTime
|
|
@@ -430,11 +554,27 @@
|
|
|
430
554
|
hash
|
|
431
555
|
height
|
|
432
556
|
index
|
|
557
|
+
receiver
|
|
558
|
+
sender
|
|
433
559
|
time
|
|
560
|
+
receipts {
|
|
561
|
+
address
|
|
562
|
+
changes {
|
|
563
|
+
action
|
|
564
|
+
target
|
|
565
|
+
value
|
|
566
|
+
}
|
|
567
|
+
}
|
|
434
568
|
tags {
|
|
435
569
|
key
|
|
436
570
|
value
|
|
437
571
|
}
|
|
572
|
+
tokenSymbols {
|
|
573
|
+
address
|
|
574
|
+
decimal
|
|
575
|
+
symbol
|
|
576
|
+
unit
|
|
577
|
+
}
|
|
438
578
|
tx {
|
|
439
579
|
chainId
|
|
440
580
|
delegator
|
|
@@ -442,6 +582,9 @@
|
|
|
442
582
|
itxJson
|
|
443
583
|
nonce
|
|
444
584
|
pk
|
|
585
|
+
receiver
|
|
586
|
+
sender
|
|
587
|
+
serviceFee
|
|
445
588
|
signature
|
|
446
589
|
signatures {
|
|
447
590
|
delegator
|
|
@@ -460,11 +603,27 @@
|
|
|
460
603
|
hash
|
|
461
604
|
height
|
|
462
605
|
index
|
|
606
|
+
receiver
|
|
607
|
+
sender
|
|
463
608
|
time
|
|
609
|
+
receipts {
|
|
610
|
+
address
|
|
611
|
+
changes {
|
|
612
|
+
action
|
|
613
|
+
target
|
|
614
|
+
value
|
|
615
|
+
}
|
|
616
|
+
}
|
|
464
617
|
tags {
|
|
465
618
|
key
|
|
466
619
|
value
|
|
467
620
|
}
|
|
621
|
+
tokenSymbols {
|
|
622
|
+
address
|
|
623
|
+
decimal
|
|
624
|
+
symbol
|
|
625
|
+
unit
|
|
626
|
+
}
|
|
468
627
|
tx {
|
|
469
628
|
chainId
|
|
470
629
|
delegator
|
|
@@ -472,6 +631,9 @@
|
|
|
472
631
|
itxJson
|
|
473
632
|
nonce
|
|
474
633
|
pk
|
|
634
|
+
receiver
|
|
635
|
+
sender
|
|
636
|
+
serviceFee
|
|
475
637
|
signature
|
|
476
638
|
signatures {
|
|
477
639
|
delegator
|
|
@@ -486,114 +648,331 @@
|
|
|
486
648
|
}
|
|
487
649
|
}
|
|
488
650
|
}
|
|
651
|
+
data {
|
|
652
|
+
typeUrl
|
|
653
|
+
value
|
|
654
|
+
}
|
|
655
|
+
ops {
|
|
656
|
+
key
|
|
657
|
+
value {
|
|
658
|
+
balance
|
|
659
|
+
balanceDelta
|
|
660
|
+
numTxs
|
|
661
|
+
numTxsDelta
|
|
662
|
+
rule
|
|
663
|
+
}
|
|
664
|
+
}
|
|
489
665
|
}
|
|
490
666
|
}
|
|
491
667
|
}
|
|
668
|
+
|
|
492
669
|
```
|
|
493
670
|
|
|
494
|
-
###
|
|
671
|
+
### getTokenState
|
|
495
672
|
|
|
496
673
|
#### Arguments
|
|
497
674
|
|
|
498
|
-
* **
|
|
499
|
-
* **keys**, optional, null
|
|
675
|
+
* **address**, optional, null
|
|
500
676
|
|
|
501
677
|
#### Result Format
|
|
502
678
|
|
|
503
679
|
```graphql
|
|
504
680
|
{
|
|
505
|
-
|
|
681
|
+
getTokenState(address: "abc") {
|
|
506
682
|
code
|
|
507
683
|
state {
|
|
508
684
|
address
|
|
509
|
-
|
|
510
|
-
|
|
511
|
-
|
|
512
|
-
|
|
513
|
-
|
|
514
|
-
|
|
515
|
-
|
|
516
|
-
|
|
517
|
-
|
|
518
|
-
|
|
519
|
-
|
|
520
|
-
|
|
521
|
-
|
|
522
|
-
|
|
523
|
-
|
|
524
|
-
|
|
525
|
-
|
|
526
|
-
|
|
527
|
-
|
|
528
|
-
|
|
529
|
-
|
|
530
|
-
|
|
531
|
-
|
|
532
|
-
|
|
533
|
-
|
|
534
|
-
}
|
|
535
|
-
gas {
|
|
536
|
-
key
|
|
537
|
-
value
|
|
538
|
-
}
|
|
539
|
-
protocols {
|
|
540
|
-
address
|
|
541
|
-
name
|
|
542
|
-
}
|
|
543
|
-
stakeSummary {
|
|
544
|
-
key
|
|
545
|
-
value {
|
|
546
|
-
totalStakes
|
|
547
|
-
totalUnstakes
|
|
548
|
-
context {
|
|
549
|
-
genesisTime
|
|
550
|
-
renaissanceTime
|
|
551
|
-
genesisTx {
|
|
552
|
-
code
|
|
553
|
-
hash
|
|
554
|
-
height
|
|
555
|
-
index
|
|
556
|
-
time
|
|
557
|
-
tags {
|
|
558
|
-
key
|
|
559
|
-
value
|
|
560
|
-
}
|
|
561
|
-
tx {
|
|
562
|
-
chainId
|
|
563
|
-
delegator
|
|
564
|
-
from
|
|
565
|
-
itxJson
|
|
566
|
-
nonce
|
|
567
|
-
pk
|
|
568
|
-
signature
|
|
569
|
-
}
|
|
685
|
+
decimal
|
|
686
|
+
description
|
|
687
|
+
icon
|
|
688
|
+
issuer
|
|
689
|
+
name
|
|
690
|
+
symbol
|
|
691
|
+
totalSupply
|
|
692
|
+
unit
|
|
693
|
+
context {
|
|
694
|
+
genesisTime
|
|
695
|
+
renaissanceTime
|
|
696
|
+
genesisTx {
|
|
697
|
+
code
|
|
698
|
+
hash
|
|
699
|
+
height
|
|
700
|
+
index
|
|
701
|
+
receiver
|
|
702
|
+
sender
|
|
703
|
+
time
|
|
704
|
+
receipts {
|
|
705
|
+
address
|
|
706
|
+
changes {
|
|
707
|
+
action
|
|
708
|
+
target
|
|
709
|
+
value
|
|
570
710
|
}
|
|
571
|
-
|
|
572
|
-
|
|
573
|
-
|
|
574
|
-
|
|
575
|
-
|
|
576
|
-
|
|
577
|
-
|
|
578
|
-
|
|
711
|
+
}
|
|
712
|
+
tags {
|
|
713
|
+
key
|
|
714
|
+
value
|
|
715
|
+
}
|
|
716
|
+
tokenSymbols {
|
|
717
|
+
address
|
|
718
|
+
decimal
|
|
719
|
+
symbol
|
|
720
|
+
unit
|
|
721
|
+
}
|
|
722
|
+
tx {
|
|
723
|
+
chainId
|
|
724
|
+
delegator
|
|
725
|
+
from
|
|
726
|
+
itxJson
|
|
727
|
+
nonce
|
|
728
|
+
pk
|
|
729
|
+
receiver
|
|
730
|
+
sender
|
|
731
|
+
serviceFee
|
|
732
|
+
signature
|
|
733
|
+
signatures {
|
|
734
|
+
delegator
|
|
735
|
+
pk
|
|
736
|
+
signature
|
|
737
|
+
signer
|
|
738
|
+
data {
|
|
739
|
+
typeUrl
|
|
579
740
|
value
|
|
580
741
|
}
|
|
581
|
-
tx {
|
|
582
|
-
chainId
|
|
583
|
-
delegator
|
|
584
|
-
from
|
|
585
|
-
itxJson
|
|
586
|
-
nonce
|
|
587
|
-
pk
|
|
588
|
-
signature
|
|
589
|
-
}
|
|
590
742
|
}
|
|
591
743
|
}
|
|
592
744
|
}
|
|
593
|
-
|
|
594
|
-
|
|
595
|
-
|
|
596
|
-
|
|
745
|
+
renaissanceTx {
|
|
746
|
+
code
|
|
747
|
+
hash
|
|
748
|
+
height
|
|
749
|
+
index
|
|
750
|
+
receiver
|
|
751
|
+
sender
|
|
752
|
+
time
|
|
753
|
+
receipts {
|
|
754
|
+
address
|
|
755
|
+
changes {
|
|
756
|
+
action
|
|
757
|
+
target
|
|
758
|
+
value
|
|
759
|
+
}
|
|
760
|
+
}
|
|
761
|
+
tags {
|
|
762
|
+
key
|
|
763
|
+
value
|
|
764
|
+
}
|
|
765
|
+
tokenSymbols {
|
|
766
|
+
address
|
|
767
|
+
decimal
|
|
768
|
+
symbol
|
|
769
|
+
unit
|
|
770
|
+
}
|
|
771
|
+
tx {
|
|
772
|
+
chainId
|
|
773
|
+
delegator
|
|
774
|
+
from
|
|
775
|
+
itxJson
|
|
776
|
+
nonce
|
|
777
|
+
pk
|
|
778
|
+
receiver
|
|
779
|
+
sender
|
|
780
|
+
serviceFee
|
|
781
|
+
signature
|
|
782
|
+
signatures {
|
|
783
|
+
delegator
|
|
784
|
+
pk
|
|
785
|
+
signature
|
|
786
|
+
signer
|
|
787
|
+
data {
|
|
788
|
+
typeUrl
|
|
789
|
+
value
|
|
790
|
+
}
|
|
791
|
+
}
|
|
792
|
+
}
|
|
793
|
+
}
|
|
794
|
+
}
|
|
795
|
+
data {
|
|
796
|
+
typeUrl
|
|
797
|
+
value
|
|
798
|
+
}
|
|
799
|
+
foreignToken {
|
|
800
|
+
chainId
|
|
801
|
+
chainName
|
|
802
|
+
chainType
|
|
803
|
+
contractAddress
|
|
804
|
+
type
|
|
805
|
+
}
|
|
806
|
+
}
|
|
807
|
+
}
|
|
808
|
+
}
|
|
809
|
+
|
|
810
|
+
```
|
|
811
|
+
|
|
812
|
+
### getEvidenceState
|
|
813
|
+
|
|
814
|
+
#### Arguments
|
|
815
|
+
|
|
816
|
+
* **hash**, optional, null
|
|
817
|
+
|
|
818
|
+
#### Result Format
|
|
819
|
+
|
|
820
|
+
```graphql
|
|
821
|
+
{
|
|
822
|
+
getEvidenceState(hash: "abc") {
|
|
823
|
+
code
|
|
824
|
+
state {
|
|
825
|
+
data
|
|
826
|
+
hash
|
|
827
|
+
context {
|
|
828
|
+
genesisTime
|
|
829
|
+
renaissanceTime
|
|
830
|
+
genesisTx {
|
|
831
|
+
code
|
|
832
|
+
hash
|
|
833
|
+
height
|
|
834
|
+
index
|
|
835
|
+
receiver
|
|
836
|
+
sender
|
|
837
|
+
time
|
|
838
|
+
receipts {
|
|
839
|
+
address
|
|
840
|
+
changes {
|
|
841
|
+
action
|
|
842
|
+
target
|
|
843
|
+
value
|
|
844
|
+
}
|
|
845
|
+
}
|
|
846
|
+
tags {
|
|
847
|
+
key
|
|
848
|
+
value
|
|
849
|
+
}
|
|
850
|
+
tokenSymbols {
|
|
851
|
+
address
|
|
852
|
+
decimal
|
|
853
|
+
symbol
|
|
854
|
+
unit
|
|
855
|
+
}
|
|
856
|
+
tx {
|
|
857
|
+
chainId
|
|
858
|
+
delegator
|
|
859
|
+
from
|
|
860
|
+
itxJson
|
|
861
|
+
nonce
|
|
862
|
+
pk
|
|
863
|
+
receiver
|
|
864
|
+
sender
|
|
865
|
+
serviceFee
|
|
866
|
+
signature
|
|
867
|
+
signatures {
|
|
868
|
+
delegator
|
|
869
|
+
pk
|
|
870
|
+
signature
|
|
871
|
+
signer
|
|
872
|
+
data {
|
|
873
|
+
typeUrl
|
|
874
|
+
value
|
|
875
|
+
}
|
|
876
|
+
}
|
|
877
|
+
}
|
|
878
|
+
}
|
|
879
|
+
renaissanceTx {
|
|
880
|
+
code
|
|
881
|
+
hash
|
|
882
|
+
height
|
|
883
|
+
index
|
|
884
|
+
receiver
|
|
885
|
+
sender
|
|
886
|
+
time
|
|
887
|
+
receipts {
|
|
888
|
+
address
|
|
889
|
+
changes {
|
|
890
|
+
action
|
|
891
|
+
target
|
|
892
|
+
value
|
|
893
|
+
}
|
|
894
|
+
}
|
|
895
|
+
tags {
|
|
896
|
+
key
|
|
897
|
+
value
|
|
898
|
+
}
|
|
899
|
+
tokenSymbols {
|
|
900
|
+
address
|
|
901
|
+
decimal
|
|
902
|
+
symbol
|
|
903
|
+
unit
|
|
904
|
+
}
|
|
905
|
+
tx {
|
|
906
|
+
chainId
|
|
907
|
+
delegator
|
|
908
|
+
from
|
|
909
|
+
itxJson
|
|
910
|
+
nonce
|
|
911
|
+
pk
|
|
912
|
+
receiver
|
|
913
|
+
sender
|
|
914
|
+
serviceFee
|
|
915
|
+
signature
|
|
916
|
+
signatures {
|
|
917
|
+
delegator
|
|
918
|
+
pk
|
|
919
|
+
signature
|
|
920
|
+
signer
|
|
921
|
+
data {
|
|
922
|
+
typeUrl
|
|
923
|
+
value
|
|
924
|
+
}
|
|
925
|
+
}
|
|
926
|
+
}
|
|
927
|
+
}
|
|
928
|
+
}
|
|
929
|
+
}
|
|
930
|
+
}
|
|
931
|
+
}
|
|
932
|
+
|
|
933
|
+
```
|
|
934
|
+
|
|
935
|
+
### getForgeState
|
|
936
|
+
|
|
937
|
+
#### Arguments
|
|
938
|
+
|
|
939
|
+
* **height**, optional, null
|
|
940
|
+
* **keys**, optional, null
|
|
941
|
+
|
|
942
|
+
#### Result Format
|
|
943
|
+
|
|
944
|
+
```graphql
|
|
945
|
+
{
|
|
946
|
+
getForgeState(height: "abc", keys: ["abc"]) {
|
|
947
|
+
code
|
|
948
|
+
state {
|
|
949
|
+
address
|
|
950
|
+
version
|
|
951
|
+
accountConfig {
|
|
952
|
+
address
|
|
953
|
+
balance
|
|
954
|
+
pk
|
|
955
|
+
}
|
|
956
|
+
consensus {
|
|
957
|
+
maxBytes
|
|
958
|
+
maxCandidates
|
|
959
|
+
maxGas
|
|
960
|
+
maxValidators
|
|
961
|
+
paramChanged
|
|
962
|
+
pubKeyTypes
|
|
963
|
+
validatorChanged
|
|
964
|
+
validators {
|
|
965
|
+
address
|
|
966
|
+
power
|
|
967
|
+
}
|
|
968
|
+
}
|
|
969
|
+
data {
|
|
970
|
+
typeUrl
|
|
971
|
+
value
|
|
972
|
+
}
|
|
973
|
+
tasks {
|
|
974
|
+
key
|
|
975
|
+
value {
|
|
597
976
|
item {
|
|
598
977
|
actions
|
|
599
978
|
dataHash
|
|
@@ -602,6 +981,7 @@
|
|
|
602
981
|
}
|
|
603
982
|
}
|
|
604
983
|
token {
|
|
984
|
+
address
|
|
605
985
|
decimal
|
|
606
986
|
description
|
|
607
987
|
icon
|
|
@@ -612,35 +992,17 @@
|
|
|
612
992
|
totalSupply
|
|
613
993
|
unit
|
|
614
994
|
}
|
|
615
|
-
tokenSwapConfig {
|
|
616
|
-
commissionHolderAddress
|
|
617
|
-
commissionRate
|
|
618
|
-
maxCommission
|
|
619
|
-
minCommission
|
|
620
|
-
revokeCommissionRate
|
|
621
|
-
}
|
|
622
995
|
txConfig {
|
|
623
996
|
maxAssetSize
|
|
624
997
|
maxListSize
|
|
625
998
|
maxMultisig
|
|
626
|
-
minimumStake
|
|
627
|
-
declare {
|
|
628
|
-
cost
|
|
629
|
-
hierarchy
|
|
630
|
-
restricted
|
|
631
|
-
}
|
|
632
999
|
delegate {
|
|
633
1000
|
deltaInterval
|
|
634
1001
|
typeUrls
|
|
635
1002
|
}
|
|
636
|
-
|
|
637
|
-
|
|
638
|
-
|
|
639
|
-
enabled
|
|
640
|
-
}
|
|
641
|
-
stake {
|
|
642
|
-
timeoutGeneral
|
|
643
|
-
timeoutStakeForNode
|
|
1003
|
+
txFee {
|
|
1004
|
+
fee
|
|
1005
|
+
typeUrl
|
|
644
1006
|
}
|
|
645
1007
|
}
|
|
646
1008
|
upgradeInfo {
|
|
@@ -650,6 +1012,7 @@
|
|
|
650
1012
|
}
|
|
651
1013
|
}
|
|
652
1014
|
}
|
|
1015
|
+
|
|
653
1016
|
```
|
|
654
1017
|
|
|
655
1018
|
### getTx
|
|
@@ -669,11 +1032,27 @@
|
|
|
669
1032
|
hash
|
|
670
1033
|
height
|
|
671
1034
|
index
|
|
1035
|
+
receiver
|
|
1036
|
+
sender
|
|
672
1037
|
time
|
|
1038
|
+
receipts {
|
|
1039
|
+
address
|
|
1040
|
+
changes {
|
|
1041
|
+
action
|
|
1042
|
+
target
|
|
1043
|
+
value
|
|
1044
|
+
}
|
|
1045
|
+
}
|
|
673
1046
|
tags {
|
|
674
1047
|
key
|
|
675
1048
|
value
|
|
676
1049
|
}
|
|
1050
|
+
tokenSymbols {
|
|
1051
|
+
address
|
|
1052
|
+
decimal
|
|
1053
|
+
symbol
|
|
1054
|
+
unit
|
|
1055
|
+
}
|
|
677
1056
|
tx {
|
|
678
1057
|
chainId
|
|
679
1058
|
delegator
|
|
@@ -681,6 +1060,9 @@
|
|
|
681
1060
|
itxJson
|
|
682
1061
|
nonce
|
|
683
1062
|
pk
|
|
1063
|
+
receiver
|
|
1064
|
+
sender
|
|
1065
|
+
serviceFee
|
|
684
1066
|
signature
|
|
685
1067
|
signatures {
|
|
686
1068
|
delegator
|
|
@@ -696,6 +1078,7 @@
|
|
|
696
1078
|
}
|
|
697
1079
|
}
|
|
698
1080
|
}
|
|
1081
|
+
|
|
699
1082
|
```
|
|
700
1083
|
|
|
701
1084
|
### getBlock
|
|
@@ -731,11 +1114,27 @@
|
|
|
731
1114
|
hash
|
|
732
1115
|
height
|
|
733
1116
|
index
|
|
1117
|
+
receiver
|
|
1118
|
+
sender
|
|
734
1119
|
time
|
|
1120
|
+
receipts {
|
|
1121
|
+
address
|
|
1122
|
+
changes {
|
|
1123
|
+
action
|
|
1124
|
+
target
|
|
1125
|
+
value
|
|
1126
|
+
}
|
|
1127
|
+
}
|
|
735
1128
|
tags {
|
|
736
1129
|
key
|
|
737
1130
|
value
|
|
738
1131
|
}
|
|
1132
|
+
tokenSymbols {
|
|
1133
|
+
address
|
|
1134
|
+
decimal
|
|
1135
|
+
symbol
|
|
1136
|
+
unit
|
|
1137
|
+
}
|
|
739
1138
|
tx {
|
|
740
1139
|
chainId
|
|
741
1140
|
delegator
|
|
@@ -743,6 +1142,9 @@
|
|
|
743
1142
|
itxJson
|
|
744
1143
|
nonce
|
|
745
1144
|
pk
|
|
1145
|
+
receiver
|
|
1146
|
+
sender
|
|
1147
|
+
serviceFee
|
|
746
1148
|
signature
|
|
747
1149
|
signatures {
|
|
748
1150
|
delegator
|
|
@@ -768,11 +1170,27 @@
|
|
|
768
1170
|
hash
|
|
769
1171
|
height
|
|
770
1172
|
index
|
|
1173
|
+
receiver
|
|
1174
|
+
sender
|
|
771
1175
|
time
|
|
1176
|
+
receipts {
|
|
1177
|
+
address
|
|
1178
|
+
changes {
|
|
1179
|
+
action
|
|
1180
|
+
target
|
|
1181
|
+
value
|
|
1182
|
+
}
|
|
1183
|
+
}
|
|
772
1184
|
tags {
|
|
773
1185
|
key
|
|
774
1186
|
value
|
|
775
1187
|
}
|
|
1188
|
+
tokenSymbols {
|
|
1189
|
+
address
|
|
1190
|
+
decimal
|
|
1191
|
+
symbol
|
|
1192
|
+
unit
|
|
1193
|
+
}
|
|
776
1194
|
tx {
|
|
777
1195
|
chainId
|
|
778
1196
|
delegator
|
|
@@ -780,6 +1198,9 @@
|
|
|
780
1198
|
itxJson
|
|
781
1199
|
nonce
|
|
782
1200
|
pk
|
|
1201
|
+
receiver
|
|
1202
|
+
sender
|
|
1203
|
+
serviceFee
|
|
783
1204
|
signature
|
|
784
1205
|
signatures {
|
|
785
1206
|
delegator
|
|
@@ -800,6 +1221,7 @@
|
|
|
800
1221
|
}
|
|
801
1222
|
}
|
|
802
1223
|
}
|
|
1224
|
+
|
|
803
1225
|
```
|
|
804
1226
|
|
|
805
1227
|
### getBlocks
|
|
@@ -851,6 +1273,7 @@
|
|
|
851
1273
|
}
|
|
852
1274
|
}
|
|
853
1275
|
}
|
|
1276
|
+
|
|
854
1277
|
```
|
|
855
1278
|
|
|
856
1279
|
### getUnconfirmedTxs
|
|
@@ -879,6 +1302,9 @@
|
|
|
879
1302
|
itxJson
|
|
880
1303
|
nonce
|
|
881
1304
|
pk
|
|
1305
|
+
receiver
|
|
1306
|
+
sender
|
|
1307
|
+
serviceFee
|
|
882
1308
|
signature
|
|
883
1309
|
signatures {
|
|
884
1310
|
delegator
|
|
@@ -894,6 +1320,7 @@
|
|
|
894
1320
|
}
|
|
895
1321
|
}
|
|
896
1322
|
}
|
|
1323
|
+
|
|
897
1324
|
```
|
|
898
1325
|
|
|
899
1326
|
### getChainInfo
|
|
@@ -930,6 +1357,7 @@ No arguments
|
|
|
930
1357
|
}
|
|
931
1358
|
}
|
|
932
1359
|
}
|
|
1360
|
+
|
|
933
1361
|
```
|
|
934
1362
|
|
|
935
1363
|
### getConfig
|
|
@@ -947,9 +1375,10 @@ No arguments
|
|
|
947
1375
|
config
|
|
948
1376
|
}
|
|
949
1377
|
}
|
|
1378
|
+
|
|
950
1379
|
```
|
|
951
1380
|
|
|
952
|
-
###
|
|
1381
|
+
### getNetInfo
|
|
953
1382
|
|
|
954
1383
|
#### Arguments
|
|
955
1384
|
|
|
@@ -959,73 +1388,29 @@ No arguments
|
|
|
959
1388
|
|
|
960
1389
|
```graphql
|
|
961
1390
|
{
|
|
962
|
-
|
|
1391
|
+
getNetInfo {
|
|
963
1392
|
code
|
|
964
|
-
|
|
965
|
-
|
|
966
|
-
|
|
967
|
-
|
|
968
|
-
|
|
969
|
-
|
|
970
|
-
|
|
971
|
-
|
|
972
|
-
|
|
973
|
-
|
|
974
|
-
|
|
975
|
-
|
|
976
|
-
|
|
977
|
-
|
|
978
|
-
|
|
979
|
-
network {
|
|
980
|
-
health
|
|
981
|
-
numPeers
|
|
982
|
-
}
|
|
983
|
-
storage {
|
|
984
|
-
health
|
|
985
|
-
indexerServer
|
|
986
|
-
stateDb
|
|
987
|
-
diskSpace {
|
|
988
|
-
forgeUsage
|
|
989
|
-
total
|
|
1393
|
+
netInfo {
|
|
1394
|
+
listeners
|
|
1395
|
+
listening
|
|
1396
|
+
nPeers
|
|
1397
|
+
peers {
|
|
1398
|
+
consensusVersion
|
|
1399
|
+
id
|
|
1400
|
+
ip
|
|
1401
|
+
moniker
|
|
1402
|
+
network
|
|
1403
|
+
geoInfo {
|
|
1404
|
+
city
|
|
1405
|
+
country
|
|
1406
|
+
latitude
|
|
1407
|
+
longitude
|
|
990
1408
|
}
|
|
991
1409
|
}
|
|
992
1410
|
}
|
|
993
1411
|
}
|
|
994
1412
|
}
|
|
995
|
-
```
|
|
996
|
-
|
|
997
|
-
### getNetInfo
|
|
998
|
-
|
|
999
|
-
#### Arguments
|
|
1000
1413
|
|
|
1001
|
-
No arguments
|
|
1002
|
-
|
|
1003
|
-
#### Result Format
|
|
1004
|
-
|
|
1005
|
-
```graphql
|
|
1006
|
-
{
|
|
1007
|
-
getNetInfo {
|
|
1008
|
-
code
|
|
1009
|
-
netInfo {
|
|
1010
|
-
listeners
|
|
1011
|
-
listening
|
|
1012
|
-
nPeers
|
|
1013
|
-
peers {
|
|
1014
|
-
consensusVersion
|
|
1015
|
-
id
|
|
1016
|
-
ip
|
|
1017
|
-
moniker
|
|
1018
|
-
network
|
|
1019
|
-
geoInfo {
|
|
1020
|
-
city
|
|
1021
|
-
country
|
|
1022
|
-
latitude
|
|
1023
|
-
longitude
|
|
1024
|
-
}
|
|
1025
|
-
}
|
|
1026
|
-
}
|
|
1027
|
-
}
|
|
1028
|
-
}
|
|
1029
1414
|
```
|
|
1030
1415
|
|
|
1031
1416
|
### getNodeInfo
|
|
@@ -1051,7 +1436,7 @@ No arguments
|
|
|
1051
1436
|
ip
|
|
1052
1437
|
moniker
|
|
1053
1438
|
network
|
|
1054
|
-
|
|
1439
|
+
p2pAddress
|
|
1055
1440
|
supportedTxs
|
|
1056
1441
|
synced
|
|
1057
1442
|
totalTxs
|
|
@@ -1070,6 +1455,7 @@ No arguments
|
|
|
1070
1455
|
}
|
|
1071
1456
|
}
|
|
1072
1457
|
}
|
|
1458
|
+
|
|
1073
1459
|
```
|
|
1074
1460
|
|
|
1075
1461
|
### getValidatorsInfo
|
|
@@ -1105,6 +1491,7 @@ No arguments
|
|
|
1105
1491
|
}
|
|
1106
1492
|
}
|
|
1107
1493
|
}
|
|
1494
|
+
|
|
1108
1495
|
```
|
|
1109
1496
|
|
|
1110
1497
|
### getForgeStats
|
|
@@ -1131,84 +1518,6 @@ No arguments
|
|
|
1131
1518
|
numDeclareFileTxs
|
|
1132
1519
|
numDeclareTxs
|
|
1133
1520
|
numExchangeTxs
|
|
1134
|
-
numPokeTxs
|
|
1135
|
-
numStakes
|
|
1136
|
-
numStakeTxs
|
|
1137
|
-
numSysUpgradeTxs
|
|
1138
|
-
numTransferTxs
|
|
1139
|
-
numTxs
|
|
1140
|
-
numUpdateAssetTxs
|
|
1141
|
-
numValidators
|
|
1142
|
-
tps
|
|
1143
|
-
}
|
|
1144
|
-
}
|
|
1145
|
-
}
|
|
1146
|
-
```
|
|
1147
|
-
|
|
1148
|
-
### getForgeStatsByDay
|
|
1149
|
-
|
|
1150
|
-
#### Arguments
|
|
1151
|
-
|
|
1152
|
-
* **endDate**, optional, null
|
|
1153
|
-
* **startDate**, optional, null
|
|
1154
|
-
|
|
1155
|
-
#### Result Format
|
|
1156
|
-
|
|
1157
|
-
```graphql
|
|
1158
|
-
{
|
|
1159
|
-
getForgeStatsByDay(endDate: "abc", startDate: "abc") {
|
|
1160
|
-
code
|
|
1161
|
-
forgeStats {
|
|
1162
|
-
avgBlockTime
|
|
1163
|
-
avgTps
|
|
1164
|
-
maxTps
|
|
1165
|
-
numAccountMigrateTxs
|
|
1166
|
-
numBlocks
|
|
1167
|
-
numConsensusUpgradeTxs
|
|
1168
|
-
numConsumeAssetTxs
|
|
1169
|
-
numCreateAssetTxs
|
|
1170
|
-
numDeclareFileTxs
|
|
1171
|
-
numDeclareTxs
|
|
1172
|
-
numExchangeTxs
|
|
1173
|
-
numPokeTxs
|
|
1174
|
-
numStakes
|
|
1175
|
-
numStakeTxs
|
|
1176
|
-
numSysUpgradeTxs
|
|
1177
|
-
numTransferTxs
|
|
1178
|
-
numTxs
|
|
1179
|
-
numUpdateAssetTxs
|
|
1180
|
-
numValidators
|
|
1181
|
-
tps
|
|
1182
|
-
}
|
|
1183
|
-
}
|
|
1184
|
-
}
|
|
1185
|
-
```
|
|
1186
|
-
|
|
1187
|
-
### getForgeStatsByHour
|
|
1188
|
-
|
|
1189
|
-
#### Arguments
|
|
1190
|
-
|
|
1191
|
-
* **date**, optional, null
|
|
1192
|
-
|
|
1193
|
-
#### Result Format
|
|
1194
|
-
|
|
1195
|
-
```graphql
|
|
1196
|
-
{
|
|
1197
|
-
getForgeStatsByHour(date: "abc") {
|
|
1198
|
-
code
|
|
1199
|
-
forgeStats {
|
|
1200
|
-
avgBlockTime
|
|
1201
|
-
avgTps
|
|
1202
|
-
maxTps
|
|
1203
|
-
numAccountMigrateTxs
|
|
1204
|
-
numBlocks
|
|
1205
|
-
numConsensusUpgradeTxs
|
|
1206
|
-
numConsumeAssetTxs
|
|
1207
|
-
numCreateAssetTxs
|
|
1208
|
-
numDeclareFileTxs
|
|
1209
|
-
numDeclareTxs
|
|
1210
|
-
numExchangeTxs
|
|
1211
|
-
numPokeTxs
|
|
1212
1521
|
numStakes
|
|
1213
1522
|
numStakeTxs
|
|
1214
1523
|
numSysUpgradeTxs
|
|
@@ -1220,29 +1529,7 @@ No arguments
|
|
|
1220
1529
|
}
|
|
1221
1530
|
}
|
|
1222
1531
|
}
|
|
1223
|
-
```
|
|
1224
|
-
|
|
1225
|
-
### getSwapStatistics
|
|
1226
|
-
|
|
1227
|
-
#### Arguments
|
|
1228
|
-
|
|
1229
|
-
* **address**, optional, null
|
|
1230
1532
|
|
|
1231
|
-
#### Result Format
|
|
1232
|
-
|
|
1233
|
-
```graphql
|
|
1234
|
-
{
|
|
1235
|
-
getSwapStatistics(address: "abc") {
|
|
1236
|
-
code
|
|
1237
|
-
statistics {
|
|
1238
|
-
address
|
|
1239
|
-
lockedAssetsIn
|
|
1240
|
-
lockedAssetsOut
|
|
1241
|
-
lockedValueIn
|
|
1242
|
-
lockedValueOut
|
|
1243
|
-
}
|
|
1244
|
-
}
|
|
1245
|
-
}
|
|
1246
1533
|
```
|
|
1247
1534
|
|
|
1248
1535
|
### listAssetTransactions
|
|
@@ -1271,6 +1558,20 @@ No arguments
|
|
|
1271
1558
|
time
|
|
1272
1559
|
type
|
|
1273
1560
|
valid
|
|
1561
|
+
receipts {
|
|
1562
|
+
address
|
|
1563
|
+
changes {
|
|
1564
|
+
action
|
|
1565
|
+
target
|
|
1566
|
+
value
|
|
1567
|
+
}
|
|
1568
|
+
}
|
|
1569
|
+
tokenSymbols {
|
|
1570
|
+
address
|
|
1571
|
+
decimal
|
|
1572
|
+
symbol
|
|
1573
|
+
unit
|
|
1574
|
+
}
|
|
1274
1575
|
tx {
|
|
1275
1576
|
chainId
|
|
1276
1577
|
delegator
|
|
@@ -1278,6 +1579,9 @@ No arguments
|
|
|
1278
1579
|
itxJson
|
|
1279
1580
|
nonce
|
|
1280
1581
|
pk
|
|
1582
|
+
receiver
|
|
1583
|
+
sender
|
|
1584
|
+
serviceFee
|
|
1281
1585
|
signature
|
|
1282
1586
|
signatures {
|
|
1283
1587
|
delegator
|
|
@@ -1293,6 +1597,7 @@ No arguments
|
|
|
1293
1597
|
}
|
|
1294
1598
|
}
|
|
1295
1599
|
}
|
|
1600
|
+
|
|
1296
1601
|
```
|
|
1297
1602
|
|
|
1298
1603
|
### listAssets
|
|
@@ -1301,12 +1606,14 @@ No arguments
|
|
|
1301
1606
|
|
|
1302
1607
|
* **ownerAddress**, optional, null
|
|
1303
1608
|
* **paging**, optional, null
|
|
1609
|
+
* **factoryAddress**, optional, null
|
|
1610
|
+
* **timeFilter**, optional, null
|
|
1304
1611
|
|
|
1305
1612
|
#### Result Format
|
|
1306
1613
|
|
|
1307
1614
|
```graphql
|
|
1308
1615
|
{
|
|
1309
|
-
listAssets(ownerAddress: "abc") {
|
|
1616
|
+
listAssets(ownerAddress: "abc", factoryAddress: "abc") {
|
|
1310
1617
|
code
|
|
1311
1618
|
assets {
|
|
1312
1619
|
address
|
|
@@ -1318,12 +1625,21 @@ No arguments
|
|
|
1318
1625
|
parent
|
|
1319
1626
|
readonly
|
|
1320
1627
|
renaissanceTime
|
|
1628
|
+
tags
|
|
1321
1629
|
transferrable
|
|
1322
1630
|
ttl
|
|
1323
1631
|
data {
|
|
1324
1632
|
typeUrl
|
|
1325
1633
|
value
|
|
1326
1634
|
}
|
|
1635
|
+
display {
|
|
1636
|
+
content
|
|
1637
|
+
type
|
|
1638
|
+
}
|
|
1639
|
+
endpoint {
|
|
1640
|
+
id
|
|
1641
|
+
scope
|
|
1642
|
+
}
|
|
1327
1643
|
}
|
|
1328
1644
|
page {
|
|
1329
1645
|
cursor
|
|
@@ -1332,6 +1648,7 @@ No arguments
|
|
|
1332
1648
|
}
|
|
1333
1649
|
}
|
|
1334
1650
|
}
|
|
1651
|
+
|
|
1335
1652
|
```
|
|
1336
1653
|
|
|
1337
1654
|
### listBlocks
|
|
@@ -1365,1348 +1682,1084 @@ No arguments
|
|
|
1365
1682
|
}
|
|
1366
1683
|
}
|
|
1367
1684
|
}
|
|
1685
|
+
|
|
1368
1686
|
```
|
|
1369
1687
|
|
|
1370
|
-
###
|
|
1688
|
+
### listTopAccounts
|
|
1371
1689
|
|
|
1372
1690
|
#### Arguments
|
|
1373
1691
|
|
|
1374
|
-
* **addressFilter**, optional, null
|
|
1375
1692
|
* **paging**, optional, null
|
|
1693
|
+
* **tokenAddress**, optional, null
|
|
1376
1694
|
|
|
1377
1695
|
#### Result Format
|
|
1378
1696
|
|
|
1379
1697
|
```graphql
|
|
1380
1698
|
{
|
|
1381
|
-
|
|
1699
|
+
listTopAccounts(tokenAddress: "abc") {
|
|
1382
1700
|
code
|
|
1383
|
-
|
|
1384
|
-
cursor
|
|
1385
|
-
next
|
|
1386
|
-
total
|
|
1387
|
-
}
|
|
1388
|
-
stakes {
|
|
1701
|
+
accounts {
|
|
1389
1702
|
address
|
|
1390
1703
|
balance
|
|
1391
1704
|
genesisTime
|
|
1392
|
-
|
|
1393
|
-
|
|
1705
|
+
migratedFrom
|
|
1706
|
+
migratedTo
|
|
1707
|
+
moniker
|
|
1708
|
+
nonce
|
|
1709
|
+
numAssets
|
|
1710
|
+
numTxs
|
|
1711
|
+
recentNumTxs
|
|
1394
1712
|
renaissanceTime
|
|
1395
|
-
|
|
1396
|
-
|
|
1713
|
+
totalReceivedStakes
|
|
1714
|
+
totalStakes
|
|
1715
|
+
totalUnstakes
|
|
1716
|
+
tokens {
|
|
1717
|
+
address
|
|
1718
|
+
balance
|
|
1719
|
+
decimal
|
|
1720
|
+
symbol
|
|
1721
|
+
unit
|
|
1722
|
+
}
|
|
1723
|
+
}
|
|
1724
|
+
page {
|
|
1725
|
+
cursor
|
|
1726
|
+
next
|
|
1727
|
+
total
|
|
1397
1728
|
}
|
|
1398
1729
|
}
|
|
1399
1730
|
}
|
|
1731
|
+
|
|
1400
1732
|
```
|
|
1401
1733
|
|
|
1402
|
-
###
|
|
1734
|
+
### listTransactions
|
|
1403
1735
|
|
|
1404
1736
|
#### Arguments
|
|
1405
1737
|
|
|
1406
|
-
* **
|
|
1738
|
+
* **addressFilter**, optional, null
|
|
1407
1739
|
* **paging**, optional, null
|
|
1408
|
-
* **
|
|
1409
|
-
* **
|
|
1740
|
+
* **timeFilter**, optional, null
|
|
1741
|
+
* **typeFilter**, optional, null
|
|
1742
|
+
* **validityFilter**, optional, null
|
|
1743
|
+
* **factoryFilter**, optional, null
|
|
1744
|
+
* **tokenFilter**, optional, null
|
|
1745
|
+
* **assetFilter**, optional, null
|
|
1746
|
+
* **accountFilter**, optional, null
|
|
1747
|
+
* **txFilter**, optional, null
|
|
1748
|
+
* **rollupFilter**, optional, null
|
|
1410
1749
|
|
|
1411
1750
|
#### Result Format
|
|
1412
1751
|
|
|
1413
1752
|
```graphql
|
|
1414
1753
|
{
|
|
1415
|
-
|
|
1754
|
+
listTransactions {
|
|
1416
1755
|
code
|
|
1417
1756
|
page {
|
|
1418
1757
|
cursor
|
|
1419
1758
|
next
|
|
1420
1759
|
total
|
|
1421
1760
|
}
|
|
1422
|
-
|
|
1423
|
-
|
|
1424
|
-
assets
|
|
1761
|
+
transactions {
|
|
1762
|
+
code
|
|
1425
1763
|
hash
|
|
1426
|
-
hashkey
|
|
1427
|
-
hashlock
|
|
1428
|
-
locktime
|
|
1429
1764
|
receiver
|
|
1430
1765
|
sender
|
|
1431
|
-
|
|
1432
|
-
|
|
1433
|
-
|
|
1434
|
-
|
|
1435
|
-
|
|
1436
|
-
|
|
1437
|
-
|
|
1438
|
-
|
|
1439
|
-
|
|
1440
|
-
time
|
|
1441
|
-
tags {
|
|
1442
|
-
key
|
|
1443
|
-
value
|
|
1444
|
-
}
|
|
1445
|
-
tx {
|
|
1446
|
-
chainId
|
|
1447
|
-
delegator
|
|
1448
|
-
from
|
|
1449
|
-
itxJson
|
|
1450
|
-
nonce
|
|
1451
|
-
pk
|
|
1452
|
-
signature
|
|
1453
|
-
signatures {
|
|
1454
|
-
delegator
|
|
1455
|
-
pk
|
|
1456
|
-
signature
|
|
1457
|
-
signer
|
|
1458
|
-
data {
|
|
1459
|
-
typeUrl
|
|
1460
|
-
value
|
|
1461
|
-
}
|
|
1462
|
-
}
|
|
1463
|
-
}
|
|
1766
|
+
time
|
|
1767
|
+
type
|
|
1768
|
+
valid
|
|
1769
|
+
receipts {
|
|
1770
|
+
address
|
|
1771
|
+
changes {
|
|
1772
|
+
action
|
|
1773
|
+
target
|
|
1774
|
+
value
|
|
1464
1775
|
}
|
|
1465
|
-
|
|
1466
|
-
|
|
1467
|
-
|
|
1468
|
-
|
|
1469
|
-
|
|
1470
|
-
|
|
1471
|
-
|
|
1472
|
-
|
|
1776
|
+
}
|
|
1777
|
+
tokenSymbols {
|
|
1778
|
+
address
|
|
1779
|
+
decimal
|
|
1780
|
+
symbol
|
|
1781
|
+
unit
|
|
1782
|
+
}
|
|
1783
|
+
tx {
|
|
1784
|
+
chainId
|
|
1785
|
+
delegator
|
|
1786
|
+
from
|
|
1787
|
+
itxJson
|
|
1788
|
+
nonce
|
|
1789
|
+
pk
|
|
1790
|
+
receiver
|
|
1791
|
+
sender
|
|
1792
|
+
serviceFee
|
|
1793
|
+
signature
|
|
1794
|
+
signatures {
|
|
1795
|
+
delegator
|
|
1796
|
+
pk
|
|
1797
|
+
signature
|
|
1798
|
+
signer
|
|
1799
|
+
data {
|
|
1800
|
+
typeUrl
|
|
1473
1801
|
value
|
|
1474
1802
|
}
|
|
1475
|
-
tx {
|
|
1476
|
-
chainId
|
|
1477
|
-
delegator
|
|
1478
|
-
from
|
|
1479
|
-
itxJson
|
|
1480
|
-
nonce
|
|
1481
|
-
pk
|
|
1482
|
-
signature
|
|
1483
|
-
signatures {
|
|
1484
|
-
delegator
|
|
1485
|
-
pk
|
|
1486
|
-
signature
|
|
1487
|
-
signer
|
|
1488
|
-
data {
|
|
1489
|
-
typeUrl
|
|
1490
|
-
value
|
|
1491
|
-
}
|
|
1492
|
-
}
|
|
1493
|
-
}
|
|
1494
1803
|
}
|
|
1495
1804
|
}
|
|
1496
1805
|
}
|
|
1497
1806
|
}
|
|
1498
1807
|
}
|
|
1808
|
+
|
|
1499
1809
|
```
|
|
1500
1810
|
|
|
1501
|
-
###
|
|
1811
|
+
### listTokens
|
|
1502
1812
|
|
|
1503
1813
|
#### Arguments
|
|
1504
1814
|
|
|
1815
|
+
* **issuerAddress**, optional, null
|
|
1505
1816
|
* **paging**, optional, null
|
|
1506
1817
|
|
|
1507
1818
|
#### Result Format
|
|
1508
1819
|
|
|
1509
1820
|
```graphql
|
|
1510
1821
|
{
|
|
1511
|
-
|
|
1822
|
+
listTokens(issuerAddress: "abc") {
|
|
1512
1823
|
code
|
|
1513
|
-
accounts {
|
|
1514
|
-
address
|
|
1515
|
-
balance
|
|
1516
|
-
genesisTime
|
|
1517
|
-
migratedFrom
|
|
1518
|
-
migratedTo
|
|
1519
|
-
moniker
|
|
1520
|
-
nonce
|
|
1521
|
-
numAssets
|
|
1522
|
-
numTxs
|
|
1523
|
-
recentNumTxs
|
|
1524
|
-
renaissanceTime
|
|
1525
|
-
totalReceivedStakes
|
|
1526
|
-
totalStakes
|
|
1527
|
-
totalUnstakes
|
|
1528
|
-
}
|
|
1529
1824
|
page {
|
|
1530
1825
|
cursor
|
|
1531
1826
|
next
|
|
1532
1827
|
total
|
|
1533
1828
|
}
|
|
1829
|
+
tokens {
|
|
1830
|
+
address
|
|
1831
|
+
decimal
|
|
1832
|
+
description
|
|
1833
|
+
genesisTime
|
|
1834
|
+
icon
|
|
1835
|
+
issuer
|
|
1836
|
+
name
|
|
1837
|
+
renaissanceTime
|
|
1838
|
+
symbol
|
|
1839
|
+
totalSupply
|
|
1840
|
+
unit
|
|
1841
|
+
data {
|
|
1842
|
+
typeUrl
|
|
1843
|
+
value
|
|
1844
|
+
}
|
|
1845
|
+
foreignToken {
|
|
1846
|
+
chainId
|
|
1847
|
+
chainName
|
|
1848
|
+
chainType
|
|
1849
|
+
contractAddress
|
|
1850
|
+
type
|
|
1851
|
+
}
|
|
1852
|
+
}
|
|
1534
1853
|
}
|
|
1535
1854
|
}
|
|
1855
|
+
|
|
1536
1856
|
```
|
|
1537
1857
|
|
|
1538
|
-
###
|
|
1858
|
+
### listFactories
|
|
1539
1859
|
|
|
1540
1860
|
#### Arguments
|
|
1541
1861
|
|
|
1542
|
-
* **
|
|
1862
|
+
* **ownerAddress**, optional, null
|
|
1863
|
+
* **addressList**, optional, null
|
|
1543
1864
|
* **paging**, optional, null
|
|
1544
|
-
* **timeFilter**, optional, null
|
|
1545
|
-
* **typeFilter**, optional, null
|
|
1546
|
-
* **validityFilter**, optional, null
|
|
1547
1865
|
|
|
1548
1866
|
#### Result Format
|
|
1549
1867
|
|
|
1550
1868
|
```graphql
|
|
1551
1869
|
{
|
|
1552
|
-
|
|
1870
|
+
listFactories(ownerAddress: "abc", addressList: ["abc"]) {
|
|
1553
1871
|
code
|
|
1872
|
+
factories {
|
|
1873
|
+
address
|
|
1874
|
+
balance
|
|
1875
|
+
description
|
|
1876
|
+
genesisTime
|
|
1877
|
+
lastSettlement
|
|
1878
|
+
limit
|
|
1879
|
+
name
|
|
1880
|
+
numMinted
|
|
1881
|
+
owner
|
|
1882
|
+
renaissanceTime
|
|
1883
|
+
settlement
|
|
1884
|
+
trustedIssuers
|
|
1885
|
+
data {
|
|
1886
|
+
typeUrl
|
|
1887
|
+
value
|
|
1888
|
+
}
|
|
1889
|
+
display {
|
|
1890
|
+
content
|
|
1891
|
+
type
|
|
1892
|
+
}
|
|
1893
|
+
hooks {
|
|
1894
|
+
hook
|
|
1895
|
+
name
|
|
1896
|
+
type
|
|
1897
|
+
}
|
|
1898
|
+
input {
|
|
1899
|
+
assets
|
|
1900
|
+
value
|
|
1901
|
+
tokens {
|
|
1902
|
+
address
|
|
1903
|
+
decimal
|
|
1904
|
+
symbol
|
|
1905
|
+
unit
|
|
1906
|
+
value
|
|
1907
|
+
}
|
|
1908
|
+
variables {
|
|
1909
|
+
description
|
|
1910
|
+
name
|
|
1911
|
+
required
|
|
1912
|
+
value
|
|
1913
|
+
}
|
|
1914
|
+
}
|
|
1915
|
+
output {
|
|
1916
|
+
address
|
|
1917
|
+
issuer
|
|
1918
|
+
moniker
|
|
1919
|
+
parent
|
|
1920
|
+
readonly
|
|
1921
|
+
tags
|
|
1922
|
+
transferrable
|
|
1923
|
+
ttl
|
|
1924
|
+
data {
|
|
1925
|
+
typeUrl
|
|
1926
|
+
value
|
|
1927
|
+
}
|
|
1928
|
+
display {
|
|
1929
|
+
content
|
|
1930
|
+
type
|
|
1931
|
+
}
|
|
1932
|
+
endpoint {
|
|
1933
|
+
id
|
|
1934
|
+
scope
|
|
1935
|
+
}
|
|
1936
|
+
}
|
|
1937
|
+
tokens {
|
|
1938
|
+
address
|
|
1939
|
+
balance
|
|
1940
|
+
decimal
|
|
1941
|
+
symbol
|
|
1942
|
+
unit
|
|
1943
|
+
}
|
|
1944
|
+
}
|
|
1554
1945
|
page {
|
|
1555
1946
|
cursor
|
|
1556
1947
|
next
|
|
1557
1948
|
total
|
|
1558
1949
|
}
|
|
1559
|
-
transactions {
|
|
1560
|
-
code
|
|
1561
|
-
hash
|
|
1562
|
-
receiver
|
|
1563
|
-
sender
|
|
1564
|
-
time
|
|
1565
|
-
type
|
|
1566
|
-
valid
|
|
1567
|
-
tx {
|
|
1568
|
-
chainId
|
|
1569
|
-
delegator
|
|
1570
|
-
from
|
|
1571
|
-
itxJson
|
|
1572
|
-
nonce
|
|
1573
|
-
pk
|
|
1574
|
-
signature
|
|
1575
|
-
signatures {
|
|
1576
|
-
delegator
|
|
1577
|
-
pk
|
|
1578
|
-
signature
|
|
1579
|
-
signer
|
|
1580
|
-
data {
|
|
1581
|
-
typeUrl
|
|
1582
|
-
value
|
|
1583
|
-
}
|
|
1584
|
-
}
|
|
1585
|
-
}
|
|
1586
|
-
}
|
|
1587
1950
|
}
|
|
1588
1951
|
}
|
|
1952
|
+
|
|
1589
1953
|
```
|
|
1590
1954
|
|
|
1955
|
+
### getAccountTokens
|
|
1591
1956
|
|
|
1592
|
-
|
|
1957
|
+
#### Arguments
|
|
1958
|
+
|
|
1959
|
+
* **address**, optional, null
|
|
1960
|
+
* **token**, optional, null
|
|
1961
|
+
|
|
1962
|
+
#### Result Format
|
|
1963
|
+
|
|
1964
|
+
```graphql
|
|
1965
|
+
{
|
|
1966
|
+
getAccountTokens(address: "abc", token: "abc") {
|
|
1967
|
+
code
|
|
1968
|
+
tokens {
|
|
1969
|
+
address
|
|
1970
|
+
balance
|
|
1971
|
+
decimal
|
|
1972
|
+
symbol
|
|
1973
|
+
}
|
|
1974
|
+
}
|
|
1975
|
+
}
|
|
1593
1976
|
|
|
1594
|
-
|
|
1977
|
+
```
|
|
1978
|
+
|
|
1979
|
+
### getStakeState
|
|
1595
1980
|
|
|
1596
1981
|
#### Arguments
|
|
1597
1982
|
|
|
1598
|
-
* **
|
|
1599
|
-
* **
|
|
1983
|
+
* **address**, optional, null
|
|
1984
|
+
* **height**, optional, null
|
|
1985
|
+
* **keys**, optional, null
|
|
1600
1986
|
|
|
1601
1987
|
#### Result Format
|
|
1602
1988
|
|
|
1603
1989
|
```graphql
|
|
1604
|
-
|
|
1605
|
-
|
|
1990
|
+
{
|
|
1991
|
+
getStakeState(address: "abc", height: "abc", keys: ["abc"]) {
|
|
1606
1992
|
code
|
|
1607
|
-
|
|
1608
|
-
|
|
1609
|
-
|
|
1610
|
-
|
|
1611
|
-
|
|
1612
|
-
|
|
1613
|
-
|
|
1614
|
-
|
|
1615
|
-
|
|
1616
|
-
|
|
1617
|
-
|
|
1618
|
-
|
|
1619
|
-
|
|
1620
|
-
|
|
1621
|
-
|
|
1622
|
-
|
|
1623
|
-
|
|
1624
|
-
|
|
1625
|
-
|
|
1626
|
-
|
|
1627
|
-
|
|
1993
|
+
state {
|
|
1994
|
+
address
|
|
1995
|
+
assets
|
|
1996
|
+
message
|
|
1997
|
+
receiver
|
|
1998
|
+
revocable
|
|
1999
|
+
revokedAssets
|
|
2000
|
+
revokeWaitingPeriod
|
|
2001
|
+
sender
|
|
2002
|
+
context {
|
|
2003
|
+
genesisTime
|
|
2004
|
+
renaissanceTime
|
|
2005
|
+
genesisTx {
|
|
2006
|
+
code
|
|
2007
|
+
hash
|
|
2008
|
+
height
|
|
2009
|
+
index
|
|
2010
|
+
receiver
|
|
2011
|
+
sender
|
|
2012
|
+
time
|
|
2013
|
+
receipts {
|
|
2014
|
+
address
|
|
2015
|
+
changes {
|
|
2016
|
+
action
|
|
2017
|
+
target
|
|
1628
2018
|
value
|
|
1629
2019
|
}
|
|
1630
2020
|
}
|
|
1631
|
-
|
|
1632
|
-
|
|
1633
|
-
|
|
1634
|
-
|
|
1635
|
-
|
|
1636
|
-
|
|
1637
|
-
|
|
1638
|
-
|
|
1639
|
-
|
|
1640
|
-
|
|
1641
|
-
|
|
1642
|
-
|
|
2021
|
+
tags {
|
|
2022
|
+
key
|
|
2023
|
+
value
|
|
2024
|
+
}
|
|
2025
|
+
tokenSymbols {
|
|
2026
|
+
address
|
|
2027
|
+
decimal
|
|
2028
|
+
symbol
|
|
2029
|
+
unit
|
|
2030
|
+
}
|
|
2031
|
+
tx {
|
|
2032
|
+
chainId
|
|
1643
2033
|
delegator
|
|
2034
|
+
from
|
|
2035
|
+
itxJson
|
|
2036
|
+
nonce
|
|
1644
2037
|
pk
|
|
2038
|
+
receiver
|
|
2039
|
+
sender
|
|
2040
|
+
serviceFee
|
|
1645
2041
|
signature
|
|
1646
|
-
|
|
1647
|
-
|
|
1648
|
-
|
|
1649
|
-
|
|
2042
|
+
signatures {
|
|
2043
|
+
delegator
|
|
2044
|
+
pk
|
|
2045
|
+
signature
|
|
2046
|
+
signer
|
|
2047
|
+
data {
|
|
2048
|
+
typeUrl
|
|
2049
|
+
value
|
|
2050
|
+
}
|
|
1650
2051
|
}
|
|
1651
2052
|
}
|
|
1652
2053
|
}
|
|
1653
|
-
|
|
1654
|
-
|
|
1655
|
-
|
|
1656
|
-
|
|
1657
|
-
|
|
1658
|
-
|
|
1659
|
-
|
|
1660
|
-
|
|
1661
|
-
|
|
1662
|
-
|
|
1663
|
-
|
|
2054
|
+
renaissanceTx {
|
|
2055
|
+
code
|
|
2056
|
+
hash
|
|
2057
|
+
height
|
|
2058
|
+
index
|
|
2059
|
+
receiver
|
|
2060
|
+
sender
|
|
2061
|
+
time
|
|
2062
|
+
receipts {
|
|
2063
|
+
address
|
|
2064
|
+
changes {
|
|
2065
|
+
action
|
|
2066
|
+
target
|
|
2067
|
+
value
|
|
2068
|
+
}
|
|
2069
|
+
}
|
|
2070
|
+
tags {
|
|
2071
|
+
key
|
|
2072
|
+
value
|
|
2073
|
+
}
|
|
2074
|
+
tokenSymbols {
|
|
2075
|
+
address
|
|
2076
|
+
decimal
|
|
2077
|
+
symbol
|
|
2078
|
+
unit
|
|
2079
|
+
}
|
|
2080
|
+
tx {
|
|
2081
|
+
chainId
|
|
1664
2082
|
delegator
|
|
2083
|
+
from
|
|
2084
|
+
itxJson
|
|
2085
|
+
nonce
|
|
1665
2086
|
pk
|
|
2087
|
+
receiver
|
|
2088
|
+
sender
|
|
2089
|
+
serviceFee
|
|
1666
2090
|
signature
|
|
1667
|
-
|
|
1668
|
-
|
|
1669
|
-
|
|
1670
|
-
|
|
2091
|
+
signatures {
|
|
2092
|
+
delegator
|
|
2093
|
+
pk
|
|
2094
|
+
signature
|
|
2095
|
+
signer
|
|
2096
|
+
data {
|
|
2097
|
+
typeUrl
|
|
2098
|
+
value
|
|
2099
|
+
}
|
|
1671
2100
|
}
|
|
1672
2101
|
}
|
|
1673
2102
|
}
|
|
1674
2103
|
}
|
|
1675
|
-
|
|
1676
|
-
|
|
1677
|
-
|
|
1678
|
-
delegator
|
|
1679
|
-
from
|
|
1680
|
-
itxJson
|
|
1681
|
-
nonce
|
|
1682
|
-
pk
|
|
1683
|
-
signature
|
|
1684
|
-
signatures {
|
|
1685
|
-
delegator
|
|
1686
|
-
pk
|
|
1687
|
-
signature
|
|
1688
|
-
signer
|
|
1689
|
-
data {
|
|
1690
|
-
typeUrl
|
|
1691
|
-
value
|
|
1692
|
-
}
|
|
1693
|
-
}
|
|
1694
|
-
}
|
|
2104
|
+
data {
|
|
2105
|
+
typeUrl
|
|
2106
|
+
value
|
|
1695
2107
|
}
|
|
1696
|
-
|
|
1697
|
-
|
|
1698
|
-
|
|
1699
|
-
|
|
1700
|
-
|
|
1701
|
-
|
|
1702
|
-
|
|
1703
|
-
|
|
1704
|
-
|
|
1705
|
-
|
|
1706
|
-
|
|
1707
|
-
|
|
1708
|
-
|
|
1709
|
-
|
|
1710
|
-
|
|
1711
|
-
|
|
1712
|
-
|
|
1713
|
-
|
|
1714
|
-
|
|
1715
|
-
|
|
2108
|
+
revokedTokens {
|
|
2109
|
+
address
|
|
2110
|
+
decimal
|
|
2111
|
+
symbol
|
|
2112
|
+
unit
|
|
2113
|
+
value
|
|
2114
|
+
}
|
|
2115
|
+
tokens {
|
|
2116
|
+
address
|
|
2117
|
+
decimal
|
|
2118
|
+
symbol
|
|
2119
|
+
unit
|
|
2120
|
+
value
|
|
2121
|
+
}
|
|
2122
|
+
}
|
|
2123
|
+
}
|
|
2124
|
+
}
|
|
2125
|
+
|
|
2126
|
+
```
|
|
2127
|
+
|
|
2128
|
+
### listStakes
|
|
2129
|
+
|
|
2130
|
+
#### Arguments
|
|
2131
|
+
|
|
2132
|
+
* **addressFilter**, optional, null
|
|
2133
|
+
* **assetFilter**, optional, null
|
|
2134
|
+
* **timeFilter**, optional, null
|
|
2135
|
+
* **paging**, optional, null
|
|
2136
|
+
|
|
2137
|
+
#### Result Format
|
|
2138
|
+
|
|
2139
|
+
```graphql
|
|
2140
|
+
{
|
|
2141
|
+
listStakes {
|
|
2142
|
+
code
|
|
2143
|
+
page {
|
|
2144
|
+
cursor
|
|
2145
|
+
next
|
|
2146
|
+
total
|
|
2147
|
+
}
|
|
2148
|
+
stakes {
|
|
2149
|
+
address
|
|
2150
|
+
assets
|
|
2151
|
+
genesisTime
|
|
2152
|
+
message
|
|
2153
|
+
receiver
|
|
2154
|
+
renaissanceTime
|
|
2155
|
+
revocable
|
|
2156
|
+
revokedAssets
|
|
2157
|
+
revokeWaitingPeriod
|
|
2158
|
+
sender
|
|
2159
|
+
data {
|
|
2160
|
+
typeUrl
|
|
2161
|
+
value
|
|
2162
|
+
}
|
|
2163
|
+
revokedTokens {
|
|
2164
|
+
address
|
|
2165
|
+
balance
|
|
2166
|
+
decimal
|
|
2167
|
+
symbol
|
|
2168
|
+
unit
|
|
1716
2169
|
}
|
|
1717
|
-
|
|
1718
|
-
|
|
2170
|
+
tokens {
|
|
2171
|
+
address
|
|
2172
|
+
balance
|
|
2173
|
+
decimal
|
|
2174
|
+
symbol
|
|
2175
|
+
unit
|
|
2176
|
+
}
|
|
2177
|
+
}
|
|
2178
|
+
}
|
|
2179
|
+
}
|
|
2180
|
+
|
|
2181
|
+
```
|
|
2182
|
+
|
|
2183
|
+
### getRollupState
|
|
2184
|
+
|
|
2185
|
+
#### Arguments
|
|
2186
|
+
|
|
2187
|
+
* **address**, optional, null
|
|
2188
|
+
* **height**, optional, null
|
|
2189
|
+
* **keys**, optional, null
|
|
2190
|
+
|
|
2191
|
+
#### Result Format
|
|
2192
|
+
|
|
2193
|
+
```graphql
|
|
2194
|
+
{
|
|
2195
|
+
getRollupState(address: "abc", height: "abc", keys: ["abc"]) {
|
|
2196
|
+
code
|
|
2197
|
+
state {
|
|
2198
|
+
address
|
|
2199
|
+
blockHash
|
|
2200
|
+
blockHeight
|
|
2201
|
+
contractAddress
|
|
2202
|
+
depositFeeRate
|
|
2203
|
+
issuer
|
|
2204
|
+
leaveWaitingPeriod
|
|
2205
|
+
maxBlockSize
|
|
2206
|
+
maxDepositAmount
|
|
2207
|
+
maxDepositFee
|
|
2208
|
+
maxSignerCount
|
|
2209
|
+
maxStakeAmount
|
|
2210
|
+
maxWithdrawAmount
|
|
2211
|
+
maxWithdrawFee
|
|
2212
|
+
migrateHistory
|
|
2213
|
+
minBlockConfirmation
|
|
2214
|
+
minBlockInterval
|
|
2215
|
+
minBlockSize
|
|
2216
|
+
minDepositAmount
|
|
2217
|
+
minDepositFee
|
|
2218
|
+
minSignerCount
|
|
2219
|
+
minStakeAmount
|
|
2220
|
+
minWithdrawAmount
|
|
2221
|
+
minWithdrawFee
|
|
2222
|
+
paused
|
|
2223
|
+
proposerFeeShare
|
|
2224
|
+
publisherFeeShare
|
|
2225
|
+
publishSlashRate
|
|
2226
|
+
publishWaitingPeriod
|
|
2227
|
+
tokenAddress
|
|
2228
|
+
totalDepositAmount
|
|
2229
|
+
totalWithdrawAmount
|
|
2230
|
+
withdrawFeeRate
|
|
2231
|
+
context {
|
|
2232
|
+
genesisTime
|
|
2233
|
+
renaissanceTime
|
|
2234
|
+
genesisTx {
|
|
2235
|
+
code
|
|
1719
2236
|
hash
|
|
1720
|
-
|
|
1721
|
-
|
|
1722
|
-
|
|
1723
|
-
|
|
1724
|
-
|
|
1725
|
-
|
|
1726
|
-
|
|
1727
|
-
|
|
2237
|
+
height
|
|
2238
|
+
index
|
|
2239
|
+
receiver
|
|
2240
|
+
sender
|
|
2241
|
+
time
|
|
2242
|
+
receipts {
|
|
2243
|
+
address
|
|
2244
|
+
changes {
|
|
2245
|
+
action
|
|
2246
|
+
target
|
|
2247
|
+
value
|
|
1728
2248
|
}
|
|
1729
2249
|
}
|
|
1730
|
-
|
|
1731
|
-
|
|
1732
|
-
|
|
1733
|
-
consensusHash
|
|
1734
|
-
dataHash
|
|
1735
|
-
evidenceHash
|
|
1736
|
-
height
|
|
1737
|
-
lastCommitHash
|
|
1738
|
-
lastResultsHash
|
|
1739
|
-
nextValidatorsHash
|
|
1740
|
-
numTxs
|
|
1741
|
-
proposerAddress
|
|
1742
|
-
time
|
|
1743
|
-
totalTxs
|
|
1744
|
-
validatorsHash
|
|
1745
|
-
lastBlockId {
|
|
1746
|
-
hash
|
|
1747
|
-
partsHeader {
|
|
1748
|
-
hash
|
|
1749
|
-
total
|
|
1750
|
-
}
|
|
1751
|
-
}
|
|
1752
|
-
version {
|
|
1753
|
-
app
|
|
1754
|
-
block
|
|
1755
|
-
}
|
|
2250
|
+
tags {
|
|
2251
|
+
key
|
|
2252
|
+
value
|
|
1756
2253
|
}
|
|
1757
|
-
|
|
1758
|
-
|
|
1759
|
-
|
|
1760
|
-
|
|
1761
|
-
|
|
1762
|
-
address
|
|
1763
|
-
power
|
|
1764
|
-
}
|
|
1765
|
-
}
|
|
2254
|
+
tokenSymbols {
|
|
2255
|
+
address
|
|
2256
|
+
decimal
|
|
2257
|
+
symbol
|
|
2258
|
+
unit
|
|
1766
2259
|
}
|
|
1767
|
-
|
|
1768
|
-
|
|
1769
|
-
... on ResponseSubscribe_EndBlock {
|
|
1770
|
-
endBlock {
|
|
1771
|
-
height
|
|
1772
|
-
}
|
|
1773
|
-
}
|
|
1774
|
-
... on ResponseSubscribe_Declare {
|
|
1775
|
-
declare {
|
|
1776
|
-
chainId
|
|
1777
|
-
delegator
|
|
1778
|
-
from
|
|
1779
|
-
itxJson
|
|
1780
|
-
nonce
|
|
1781
|
-
pk
|
|
1782
|
-
signature
|
|
1783
|
-
signatures {
|
|
2260
|
+
tx {
|
|
2261
|
+
chainId
|
|
1784
2262
|
delegator
|
|
2263
|
+
from
|
|
2264
|
+
itxJson
|
|
2265
|
+
nonce
|
|
1785
2266
|
pk
|
|
2267
|
+
receiver
|
|
2268
|
+
sender
|
|
2269
|
+
serviceFee
|
|
1786
2270
|
signature
|
|
1787
|
-
|
|
1788
|
-
|
|
1789
|
-
|
|
1790
|
-
|
|
2271
|
+
signatures {
|
|
2272
|
+
delegator
|
|
2273
|
+
pk
|
|
2274
|
+
signature
|
|
2275
|
+
signer
|
|
2276
|
+
data {
|
|
2277
|
+
typeUrl
|
|
2278
|
+
value
|
|
2279
|
+
}
|
|
1791
2280
|
}
|
|
1792
2281
|
}
|
|
1793
2282
|
}
|
|
1794
|
-
|
|
1795
|
-
|
|
1796
|
-
|
|
1797
|
-
|
|
1798
|
-
|
|
1799
|
-
|
|
1800
|
-
|
|
1801
|
-
|
|
1802
|
-
|
|
1803
|
-
|
|
1804
|
-
|
|
1805
|
-
|
|
1806
|
-
|
|
1807
|
-
signature
|
|
1808
|
-
signer
|
|
1809
|
-
data {
|
|
1810
|
-
typeUrl
|
|
2283
|
+
renaissanceTx {
|
|
2284
|
+
code
|
|
2285
|
+
hash
|
|
2286
|
+
height
|
|
2287
|
+
index
|
|
2288
|
+
receiver
|
|
2289
|
+
sender
|
|
2290
|
+
time
|
|
2291
|
+
receipts {
|
|
2292
|
+
address
|
|
2293
|
+
changes {
|
|
2294
|
+
action
|
|
2295
|
+
target
|
|
1811
2296
|
value
|
|
1812
2297
|
}
|
|
1813
2298
|
}
|
|
1814
|
-
|
|
1815
|
-
|
|
1816
|
-
|
|
1817
|
-
consensusUpgrade {
|
|
1818
|
-
chainId
|
|
1819
|
-
delegator
|
|
1820
|
-
from
|
|
1821
|
-
itxJson
|
|
1822
|
-
nonce
|
|
1823
|
-
pk
|
|
1824
|
-
signature
|
|
1825
|
-
signatures {
|
|
1826
|
-
delegator
|
|
1827
|
-
pk
|
|
1828
|
-
signature
|
|
1829
|
-
signer
|
|
1830
|
-
data {
|
|
1831
|
-
typeUrl
|
|
1832
|
-
value
|
|
1833
|
-
}
|
|
2299
|
+
tags {
|
|
2300
|
+
key
|
|
2301
|
+
value
|
|
1834
2302
|
}
|
|
1835
|
-
|
|
1836
|
-
|
|
1837
|
-
|
|
1838
|
-
|
|
1839
|
-
|
|
1840
|
-
|
|
1841
|
-
|
|
1842
|
-
|
|
1843
|
-
nonce
|
|
1844
|
-
pk
|
|
1845
|
-
signature
|
|
1846
|
-
signatures {
|
|
2303
|
+
tokenSymbols {
|
|
2304
|
+
address
|
|
2305
|
+
decimal
|
|
2306
|
+
symbol
|
|
2307
|
+
unit
|
|
2308
|
+
}
|
|
2309
|
+
tx {
|
|
2310
|
+
chainId
|
|
1847
2311
|
delegator
|
|
2312
|
+
from
|
|
2313
|
+
itxJson
|
|
2314
|
+
nonce
|
|
1848
2315
|
pk
|
|
2316
|
+
receiver
|
|
2317
|
+
sender
|
|
2318
|
+
serviceFee
|
|
1849
2319
|
signature
|
|
1850
|
-
|
|
1851
|
-
|
|
1852
|
-
|
|
1853
|
-
|
|
2320
|
+
signatures {
|
|
2321
|
+
delegator
|
|
2322
|
+
pk
|
|
2323
|
+
signature
|
|
2324
|
+
signer
|
|
2325
|
+
data {
|
|
2326
|
+
typeUrl
|
|
2327
|
+
value
|
|
2328
|
+
}
|
|
1854
2329
|
}
|
|
1855
2330
|
}
|
|
1856
2331
|
}
|
|
1857
2332
|
}
|
|
1858
|
-
|
|
1859
|
-
|
|
1860
|
-
|
|
1861
|
-
delegator
|
|
1862
|
-
from
|
|
1863
|
-
itxJson
|
|
1864
|
-
nonce
|
|
1865
|
-
pk
|
|
1866
|
-
signature
|
|
1867
|
-
signatures {
|
|
1868
|
-
delegator
|
|
1869
|
-
pk
|
|
1870
|
-
signature
|
|
1871
|
-
signer
|
|
1872
|
-
data {
|
|
1873
|
-
typeUrl
|
|
1874
|
-
value
|
|
1875
|
-
}
|
|
1876
|
-
}
|
|
1877
|
-
}
|
|
1878
|
-
}
|
|
1879
|
-
... on ResponseSubscribe_Delegate {
|
|
1880
|
-
delegate {
|
|
1881
|
-
chainId
|
|
1882
|
-
delegator
|
|
1883
|
-
from
|
|
1884
|
-
itxJson
|
|
1885
|
-
nonce
|
|
1886
|
-
pk
|
|
1887
|
-
signature
|
|
1888
|
-
signatures {
|
|
1889
|
-
delegator
|
|
1890
|
-
pk
|
|
1891
|
-
signature
|
|
1892
|
-
signer
|
|
1893
|
-
data {
|
|
1894
|
-
typeUrl
|
|
1895
|
-
value
|
|
1896
|
-
}
|
|
1897
|
-
}
|
|
1898
|
-
}
|
|
1899
|
-
}
|
|
1900
|
-
... on ResponseSubscribe_RevokeDelegate {
|
|
1901
|
-
revokeDelegate {
|
|
1902
|
-
chainId
|
|
1903
|
-
delegator
|
|
1904
|
-
from
|
|
1905
|
-
itxJson
|
|
1906
|
-
nonce
|
|
1907
|
-
pk
|
|
1908
|
-
signature
|
|
1909
|
-
signatures {
|
|
1910
|
-
delegator
|
|
1911
|
-
pk
|
|
1912
|
-
signature
|
|
1913
|
-
signer
|
|
1914
|
-
data {
|
|
1915
|
-
typeUrl
|
|
1916
|
-
value
|
|
1917
|
-
}
|
|
1918
|
-
}
|
|
1919
|
-
}
|
|
1920
|
-
}
|
|
1921
|
-
... on ResponseSubscribe_DepositToken {
|
|
1922
|
-
depositToken {
|
|
1923
|
-
chainId
|
|
1924
|
-
delegator
|
|
1925
|
-
from
|
|
1926
|
-
itxJson
|
|
1927
|
-
nonce
|
|
1928
|
-
pk
|
|
1929
|
-
signature
|
|
1930
|
-
signatures {
|
|
1931
|
-
delegator
|
|
1932
|
-
pk
|
|
1933
|
-
signature
|
|
1934
|
-
signer
|
|
1935
|
-
data {
|
|
1936
|
-
typeUrl
|
|
1937
|
-
value
|
|
1938
|
-
}
|
|
1939
|
-
}
|
|
1940
|
-
}
|
|
1941
|
-
}
|
|
1942
|
-
... on ResponseSubscribe_WithdrawToken {
|
|
1943
|
-
withdrawToken {
|
|
1944
|
-
chainId
|
|
1945
|
-
delegator
|
|
1946
|
-
from
|
|
1947
|
-
itxJson
|
|
1948
|
-
nonce
|
|
1949
|
-
pk
|
|
1950
|
-
signature
|
|
1951
|
-
signatures {
|
|
1952
|
-
delegator
|
|
1953
|
-
pk
|
|
1954
|
-
signature
|
|
1955
|
-
signer
|
|
1956
|
-
data {
|
|
1957
|
-
typeUrl
|
|
1958
|
-
value
|
|
1959
|
-
}
|
|
1960
|
-
}
|
|
1961
|
-
}
|
|
1962
|
-
}
|
|
1963
|
-
... on ResponseSubscribe_ApproveWithdraw {
|
|
1964
|
-
approveWithdraw {
|
|
1965
|
-
chainId
|
|
1966
|
-
delegator
|
|
1967
|
-
from
|
|
1968
|
-
itxJson
|
|
1969
|
-
nonce
|
|
1970
|
-
pk
|
|
1971
|
-
signature
|
|
1972
|
-
signatures {
|
|
1973
|
-
delegator
|
|
1974
|
-
pk
|
|
1975
|
-
signature
|
|
1976
|
-
signer
|
|
1977
|
-
data {
|
|
1978
|
-
typeUrl
|
|
1979
|
-
value
|
|
1980
|
-
}
|
|
1981
|
-
}
|
|
1982
|
-
}
|
|
1983
|
-
}
|
|
1984
|
-
... on ResponseSubscribe_RevokeWithdraw {
|
|
1985
|
-
revokeWithdraw {
|
|
1986
|
-
chainId
|
|
1987
|
-
delegator
|
|
1988
|
-
from
|
|
1989
|
-
itxJson
|
|
1990
|
-
nonce
|
|
1991
|
-
pk
|
|
1992
|
-
signature
|
|
1993
|
-
signatures {
|
|
1994
|
-
delegator
|
|
1995
|
-
pk
|
|
1996
|
-
signature
|
|
1997
|
-
signer
|
|
1998
|
-
data {
|
|
1999
|
-
typeUrl
|
|
2000
|
-
value
|
|
2001
|
-
}
|
|
2002
|
-
}
|
|
2003
|
-
}
|
|
2333
|
+
data {
|
|
2334
|
+
typeUrl
|
|
2335
|
+
value
|
|
2004
2336
|
}
|
|
2005
|
-
|
|
2006
|
-
|
|
2007
|
-
|
|
2008
|
-
|
|
2009
|
-
|
|
2010
|
-
|
|
2011
|
-
nonce
|
|
2012
|
-
pk
|
|
2013
|
-
signature
|
|
2014
|
-
signatures {
|
|
2015
|
-
delegator
|
|
2016
|
-
pk
|
|
2017
|
-
signature
|
|
2018
|
-
signer
|
|
2019
|
-
data {
|
|
2020
|
-
typeUrl
|
|
2021
|
-
value
|
|
2022
|
-
}
|
|
2023
|
-
}
|
|
2024
|
-
}
|
|
2337
|
+
foreignToken {
|
|
2338
|
+
chainId
|
|
2339
|
+
chainName
|
|
2340
|
+
chainType
|
|
2341
|
+
contractAddress
|
|
2342
|
+
type
|
|
2025
2343
|
}
|
|
2026
|
-
|
|
2027
|
-
|
|
2028
|
-
|
|
2029
|
-
|
|
2030
|
-
from
|
|
2031
|
-
itxJson
|
|
2032
|
-
nonce
|
|
2033
|
-
pk
|
|
2034
|
-
signature
|
|
2035
|
-
signatures {
|
|
2036
|
-
delegator
|
|
2037
|
-
pk
|
|
2038
|
-
signature
|
|
2039
|
-
signer
|
|
2040
|
-
data {
|
|
2041
|
-
typeUrl
|
|
2042
|
-
value
|
|
2043
|
-
}
|
|
2044
|
-
}
|
|
2045
|
-
}
|
|
2344
|
+
seedValidators {
|
|
2345
|
+
address
|
|
2346
|
+
endpoint
|
|
2347
|
+
pk
|
|
2046
2348
|
}
|
|
2047
|
-
|
|
2048
|
-
|
|
2049
|
-
|
|
2050
|
-
|
|
2051
|
-
|
|
2052
|
-
|
|
2053
|
-
nonce
|
|
2054
|
-
pk
|
|
2055
|
-
signature
|
|
2056
|
-
signatures {
|
|
2057
|
-
delegator
|
|
2058
|
-
pk
|
|
2059
|
-
signature
|
|
2060
|
-
signer
|
|
2061
|
-
data {
|
|
2062
|
-
typeUrl
|
|
2063
|
-
value
|
|
2064
|
-
}
|
|
2065
|
-
}
|
|
2066
|
-
}
|
|
2349
|
+
tokenInfo {
|
|
2350
|
+
address
|
|
2351
|
+
decimal
|
|
2352
|
+
symbol
|
|
2353
|
+
unit
|
|
2354
|
+
value
|
|
2067
2355
|
}
|
|
2068
|
-
|
|
2069
|
-
|
|
2070
|
-
|
|
2071
|
-
|
|
2072
|
-
from
|
|
2073
|
-
itxJson
|
|
2074
|
-
nonce
|
|
2075
|
-
pk
|
|
2076
|
-
signature
|
|
2077
|
-
signatures {
|
|
2078
|
-
delegator
|
|
2079
|
-
pk
|
|
2080
|
-
signature
|
|
2081
|
-
signer
|
|
2082
|
-
data {
|
|
2083
|
-
typeUrl
|
|
2084
|
-
value
|
|
2085
|
-
}
|
|
2086
|
-
}
|
|
2087
|
-
}
|
|
2356
|
+
validators {
|
|
2357
|
+
address
|
|
2358
|
+
endpoint
|
|
2359
|
+
pk
|
|
2088
2360
|
}
|
|
2089
|
-
|
|
2090
|
-
|
|
2091
|
-
|
|
2092
|
-
|
|
2093
|
-
|
|
2094
|
-
|
|
2095
|
-
|
|
2096
|
-
|
|
2097
|
-
|
|
2098
|
-
|
|
2099
|
-
|
|
2100
|
-
|
|
2101
|
-
|
|
2102
|
-
|
|
2103
|
-
|
|
2104
|
-
|
|
2105
|
-
|
|
2106
|
-
|
|
2107
|
-
|
|
2108
|
-
|
|
2361
|
+
}
|
|
2362
|
+
}
|
|
2363
|
+
}
|
|
2364
|
+
|
|
2365
|
+
```
|
|
2366
|
+
|
|
2367
|
+
### listRollups
|
|
2368
|
+
|
|
2369
|
+
#### Arguments
|
|
2370
|
+
|
|
2371
|
+
* **paging**, optional, null
|
|
2372
|
+
* **tokenAddress**, optional, null
|
|
2373
|
+
* **erc20TokenAddress**, optional, null
|
|
2374
|
+
* **foreignTokenAddress**, optional, null
|
|
2375
|
+
|
|
2376
|
+
#### Result Format
|
|
2377
|
+
|
|
2378
|
+
```graphql
|
|
2379
|
+
{
|
|
2380
|
+
listRollups(tokenAddress: "abc", erc20TokenAddress: "abc", foreignTokenAddress: "abc") {
|
|
2381
|
+
code
|
|
2382
|
+
page {
|
|
2383
|
+
cursor
|
|
2384
|
+
next
|
|
2385
|
+
total
|
|
2386
|
+
}
|
|
2387
|
+
rollups {
|
|
2388
|
+
address
|
|
2389
|
+
blockHash
|
|
2390
|
+
blockHeight
|
|
2391
|
+
contractAddress
|
|
2392
|
+
depositFeeRate
|
|
2393
|
+
genesisTime
|
|
2394
|
+
issuer
|
|
2395
|
+
leaveWaitingPeriod
|
|
2396
|
+
maxBlockSize
|
|
2397
|
+
maxDepositAmount
|
|
2398
|
+
maxDepositFee
|
|
2399
|
+
maxSignerCount
|
|
2400
|
+
maxStakeAmount
|
|
2401
|
+
maxWithdrawAmount
|
|
2402
|
+
maxWithdrawFee
|
|
2403
|
+
migrateHistory
|
|
2404
|
+
minBlockConfirmation
|
|
2405
|
+
minBlockInterval
|
|
2406
|
+
minBlockSize
|
|
2407
|
+
minDepositAmount
|
|
2408
|
+
minDepositFee
|
|
2409
|
+
minSignerCount
|
|
2410
|
+
minStakeAmount
|
|
2411
|
+
minWithdrawAmount
|
|
2412
|
+
minWithdrawFee
|
|
2413
|
+
paused
|
|
2414
|
+
proposerFeeShare
|
|
2415
|
+
publisherFeeShare
|
|
2416
|
+
publishSlashRate
|
|
2417
|
+
publishWaitingPeriod
|
|
2418
|
+
renaissanceTime
|
|
2419
|
+
tokenAddress
|
|
2420
|
+
totalDepositAmount
|
|
2421
|
+
totalWithdrawAmount
|
|
2422
|
+
withdrawFeeRate
|
|
2423
|
+
data {
|
|
2424
|
+
typeUrl
|
|
2425
|
+
value
|
|
2109
2426
|
}
|
|
2110
|
-
|
|
2111
|
-
|
|
2112
|
-
|
|
2113
|
-
|
|
2114
|
-
|
|
2115
|
-
|
|
2116
|
-
nonce
|
|
2117
|
-
pk
|
|
2118
|
-
signature
|
|
2119
|
-
signatures {
|
|
2120
|
-
delegator
|
|
2121
|
-
pk
|
|
2122
|
-
signature
|
|
2123
|
-
signer
|
|
2124
|
-
data {
|
|
2125
|
-
typeUrl
|
|
2126
|
-
value
|
|
2127
|
-
}
|
|
2128
|
-
}
|
|
2129
|
-
}
|
|
2427
|
+
foreignToken {
|
|
2428
|
+
chainId
|
|
2429
|
+
chainName
|
|
2430
|
+
chainType
|
|
2431
|
+
contractAddress
|
|
2432
|
+
type
|
|
2130
2433
|
}
|
|
2131
|
-
|
|
2132
|
-
|
|
2133
|
-
|
|
2134
|
-
|
|
2135
|
-
from
|
|
2136
|
-
itxJson
|
|
2137
|
-
nonce
|
|
2138
|
-
pk
|
|
2139
|
-
signature
|
|
2140
|
-
signatures {
|
|
2141
|
-
delegator
|
|
2142
|
-
pk
|
|
2143
|
-
signature
|
|
2144
|
-
signer
|
|
2145
|
-
data {
|
|
2146
|
-
typeUrl
|
|
2147
|
-
value
|
|
2148
|
-
}
|
|
2149
|
-
}
|
|
2150
|
-
}
|
|
2434
|
+
seedValidators {
|
|
2435
|
+
address
|
|
2436
|
+
endpoint
|
|
2437
|
+
pk
|
|
2151
2438
|
}
|
|
2152
|
-
|
|
2153
|
-
|
|
2154
|
-
|
|
2155
|
-
|
|
2156
|
-
|
|
2157
|
-
|
|
2158
|
-
nonce
|
|
2159
|
-
pk
|
|
2160
|
-
signature
|
|
2161
|
-
signatures {
|
|
2162
|
-
delegator
|
|
2163
|
-
pk
|
|
2164
|
-
signature
|
|
2165
|
-
signer
|
|
2166
|
-
data {
|
|
2167
|
-
typeUrl
|
|
2168
|
-
value
|
|
2169
|
-
}
|
|
2170
|
-
}
|
|
2171
|
-
}
|
|
2439
|
+
tokenInfo {
|
|
2440
|
+
address
|
|
2441
|
+
decimal
|
|
2442
|
+
symbol
|
|
2443
|
+
unit
|
|
2444
|
+
value
|
|
2172
2445
|
}
|
|
2173
|
-
|
|
2174
|
-
|
|
2175
|
-
|
|
2176
|
-
|
|
2177
|
-
from
|
|
2178
|
-
itxJson
|
|
2179
|
-
nonce
|
|
2180
|
-
pk
|
|
2181
|
-
signature
|
|
2182
|
-
signatures {
|
|
2183
|
-
delegator
|
|
2184
|
-
pk
|
|
2185
|
-
signature
|
|
2186
|
-
signer
|
|
2187
|
-
data {
|
|
2188
|
-
typeUrl
|
|
2189
|
-
value
|
|
2190
|
-
}
|
|
2191
|
-
}
|
|
2192
|
-
}
|
|
2446
|
+
validators {
|
|
2447
|
+
address
|
|
2448
|
+
endpoint
|
|
2449
|
+
pk
|
|
2193
2450
|
}
|
|
2194
|
-
|
|
2195
|
-
|
|
2196
|
-
|
|
2197
|
-
|
|
2198
|
-
|
|
2199
|
-
|
|
2200
|
-
|
|
2201
|
-
|
|
2202
|
-
|
|
2203
|
-
|
|
2204
|
-
|
|
2205
|
-
|
|
2206
|
-
|
|
2207
|
-
|
|
2208
|
-
|
|
2209
|
-
|
|
2210
|
-
|
|
2211
|
-
|
|
2212
|
-
|
|
2213
|
-
|
|
2214
|
-
|
|
2215
|
-
|
|
2216
|
-
|
|
2217
|
-
|
|
2218
|
-
|
|
2219
|
-
|
|
2220
|
-
|
|
2221
|
-
|
|
2222
|
-
|
|
2223
|
-
|
|
2224
|
-
|
|
2225
|
-
|
|
2226
|
-
|
|
2227
|
-
|
|
2228
|
-
|
|
2229
|
-
|
|
2230
|
-
|
|
2231
|
-
|
|
2232
|
-
|
|
2233
|
-
|
|
2234
|
-
|
|
2235
|
-
|
|
2236
|
-
|
|
2237
|
-
|
|
2238
|
-
|
|
2239
|
-
|
|
2240
|
-
|
|
2241
|
-
|
|
2242
|
-
|
|
2243
|
-
|
|
2244
|
-
key
|
|
2245
|
-
value
|
|
2246
|
-
}
|
|
2247
|
-
tx {
|
|
2248
|
-
chainId
|
|
2249
|
-
delegator
|
|
2250
|
-
from
|
|
2251
|
-
itxJson
|
|
2252
|
-
nonce
|
|
2253
|
-
pk
|
|
2254
|
-
signature
|
|
2255
|
-
signatures {
|
|
2256
|
-
delegator
|
|
2257
|
-
pk
|
|
2258
|
-
signature
|
|
2259
|
-
signer
|
|
2260
|
-
}
|
|
2261
|
-
}
|
|
2451
|
+
}
|
|
2452
|
+
}
|
|
2453
|
+
}
|
|
2454
|
+
|
|
2455
|
+
```
|
|
2456
|
+
|
|
2457
|
+
### getRollupBlock
|
|
2458
|
+
|
|
2459
|
+
#### Arguments
|
|
2460
|
+
|
|
2461
|
+
* **hash**, optional, null
|
|
2462
|
+
* **height**, optional, null
|
|
2463
|
+
* **rollupAddress**, optional, null
|
|
2464
|
+
|
|
2465
|
+
#### Result Format
|
|
2466
|
+
|
|
2467
|
+
```graphql
|
|
2468
|
+
{
|
|
2469
|
+
getRollupBlock(hash: "abc", height: "abc", rollupAddress: "abc") {
|
|
2470
|
+
code
|
|
2471
|
+
block {
|
|
2472
|
+
burnedAmount
|
|
2473
|
+
hash
|
|
2474
|
+
height
|
|
2475
|
+
merkleRoot
|
|
2476
|
+
minReward
|
|
2477
|
+
mintedAmount
|
|
2478
|
+
previousHash
|
|
2479
|
+
proposer
|
|
2480
|
+
rewardAmount
|
|
2481
|
+
rollup
|
|
2482
|
+
txs
|
|
2483
|
+
txsHash
|
|
2484
|
+
context {
|
|
2485
|
+
genesisTime
|
|
2486
|
+
renaissanceTime
|
|
2487
|
+
genesisTx {
|
|
2488
|
+
code
|
|
2489
|
+
hash
|
|
2490
|
+
height
|
|
2491
|
+
index
|
|
2492
|
+
receiver
|
|
2493
|
+
sender
|
|
2494
|
+
time
|
|
2495
|
+
receipts {
|
|
2496
|
+
address
|
|
2497
|
+
changes {
|
|
2498
|
+
action
|
|
2499
|
+
target
|
|
2500
|
+
value
|
|
2262
2501
|
}
|
|
2263
2502
|
}
|
|
2264
|
-
|
|
2265
|
-
|
|
2503
|
+
tags {
|
|
2504
|
+
key
|
|
2266
2505
|
value
|
|
2267
2506
|
}
|
|
2268
|
-
|
|
2269
|
-
circular
|
|
2270
|
-
fifo
|
|
2271
|
-
items
|
|
2272
|
-
maxItems
|
|
2273
|
-
typeUrl
|
|
2274
|
-
}
|
|
2275
|
-
poke {
|
|
2276
|
-
amount
|
|
2277
|
-
dailyLimit
|
|
2278
|
-
leftover
|
|
2279
|
-
}
|
|
2280
|
-
stake {
|
|
2281
|
-
totalReceivedStakes
|
|
2282
|
-
totalStakes
|
|
2283
|
-
totalUnstakes
|
|
2284
|
-
recentReceivedStakes {
|
|
2285
|
-
circular
|
|
2286
|
-
fifo
|
|
2287
|
-
items
|
|
2288
|
-
maxItems
|
|
2289
|
-
typeUrl
|
|
2290
|
-
}
|
|
2291
|
-
recentStakes {
|
|
2292
|
-
circular
|
|
2293
|
-
fifo
|
|
2294
|
-
items
|
|
2295
|
-
maxItems
|
|
2296
|
-
typeUrl
|
|
2297
|
-
}
|
|
2298
|
-
}
|
|
2299
|
-
type {
|
|
2507
|
+
tokenSymbols {
|
|
2300
2508
|
address
|
|
2301
|
-
|
|
2302
|
-
|
|
2303
|
-
|
|
2304
|
-
}
|
|
2305
|
-
withdrawItems {
|
|
2306
|
-
circular
|
|
2307
|
-
fifo
|
|
2308
|
-
items
|
|
2309
|
-
maxItems
|
|
2310
|
-
typeUrl
|
|
2509
|
+
decimal
|
|
2510
|
+
symbol
|
|
2511
|
+
unit
|
|
2311
2512
|
}
|
|
2312
|
-
|
|
2313
|
-
|
|
2314
|
-
|
|
2315
|
-
|
|
2316
|
-
|
|
2317
|
-
|
|
2318
|
-
|
|
2319
|
-
|
|
2320
|
-
|
|
2321
|
-
|
|
2322
|
-
|
|
2323
|
-
|
|
2324
|
-
|
|
2325
|
-
|
|
2326
|
-
|
|
2327
|
-
|
|
2328
|
-
|
|
2329
|
-
|
|
2330
|
-
hash
|
|
2331
|
-
height
|
|
2332
|
-
index
|
|
2333
|
-
time
|
|
2334
|
-
tags {
|
|
2335
|
-
key
|
|
2336
|
-
value
|
|
2337
|
-
}
|
|
2338
|
-
tx {
|
|
2339
|
-
chainId
|
|
2340
|
-
delegator
|
|
2341
|
-
from
|
|
2342
|
-
itxJson
|
|
2343
|
-
nonce
|
|
2344
|
-
pk
|
|
2345
|
-
signature
|
|
2346
|
-
signatures {
|
|
2347
|
-
delegator
|
|
2348
|
-
pk
|
|
2349
|
-
signature
|
|
2350
|
-
signer
|
|
2351
|
-
}
|
|
2352
|
-
}
|
|
2353
|
-
}
|
|
2354
|
-
renaissanceTx {
|
|
2355
|
-
code
|
|
2356
|
-
hash
|
|
2357
|
-
height
|
|
2358
|
-
index
|
|
2359
|
-
time
|
|
2360
|
-
tags {
|
|
2361
|
-
key
|
|
2513
|
+
tx {
|
|
2514
|
+
chainId
|
|
2515
|
+
delegator
|
|
2516
|
+
from
|
|
2517
|
+
itxJson
|
|
2518
|
+
nonce
|
|
2519
|
+
pk
|
|
2520
|
+
receiver
|
|
2521
|
+
sender
|
|
2522
|
+
serviceFee
|
|
2523
|
+
signature
|
|
2524
|
+
signatures {
|
|
2525
|
+
delegator
|
|
2526
|
+
pk
|
|
2527
|
+
signature
|
|
2528
|
+
signer
|
|
2529
|
+
data {
|
|
2530
|
+
typeUrl
|
|
2362
2531
|
value
|
|
2363
2532
|
}
|
|
2364
|
-
tx {
|
|
2365
|
-
chainId
|
|
2366
|
-
delegator
|
|
2367
|
-
from
|
|
2368
|
-
itxJson
|
|
2369
|
-
nonce
|
|
2370
|
-
pk
|
|
2371
|
-
signature
|
|
2372
|
-
signatures {
|
|
2373
|
-
delegator
|
|
2374
|
-
pk
|
|
2375
|
-
signature
|
|
2376
|
-
signer
|
|
2377
|
-
}
|
|
2378
|
-
}
|
|
2379
|
-
}
|
|
2380
|
-
}
|
|
2381
|
-
data {
|
|
2382
|
-
typeUrl
|
|
2383
|
-
value
|
|
2384
|
-
}
|
|
2385
|
-
stake {
|
|
2386
|
-
totalReceivedStakes
|
|
2387
|
-
totalStakes
|
|
2388
|
-
totalUnstakes
|
|
2389
|
-
recentReceivedStakes {
|
|
2390
|
-
circular
|
|
2391
|
-
fifo
|
|
2392
|
-
items
|
|
2393
|
-
maxItems
|
|
2394
|
-
typeUrl
|
|
2395
|
-
}
|
|
2396
|
-
recentStakes {
|
|
2397
|
-
circular
|
|
2398
|
-
fifo
|
|
2399
|
-
items
|
|
2400
|
-
maxItems
|
|
2401
|
-
typeUrl
|
|
2402
2533
|
}
|
|
2403
2534
|
}
|
|
2404
2535
|
}
|
|
2405
|
-
|
|
2406
|
-
|
|
2407
|
-
|
|
2408
|
-
|
|
2409
|
-
|
|
2410
|
-
|
|
2411
|
-
|
|
2412
|
-
|
|
2413
|
-
|
|
2414
|
-
|
|
2415
|
-
|
|
2416
|
-
|
|
2417
|
-
|
|
2418
|
-
|
|
2419
|
-
maxBytes
|
|
2420
|
-
maxCandidates
|
|
2421
|
-
maxGas
|
|
2422
|
-
maxValidators
|
|
2423
|
-
paramChanged
|
|
2424
|
-
pubKeyTypes
|
|
2425
|
-
validatorChanged
|
|
2426
|
-
validators {
|
|
2427
|
-
address
|
|
2428
|
-
power
|
|
2536
|
+
renaissanceTx {
|
|
2537
|
+
code
|
|
2538
|
+
hash
|
|
2539
|
+
height
|
|
2540
|
+
index
|
|
2541
|
+
receiver
|
|
2542
|
+
sender
|
|
2543
|
+
time
|
|
2544
|
+
receipts {
|
|
2545
|
+
address
|
|
2546
|
+
changes {
|
|
2547
|
+
action
|
|
2548
|
+
target
|
|
2549
|
+
value
|
|
2429
2550
|
}
|
|
2430
2551
|
}
|
|
2431
|
-
|
|
2432
|
-
typeUrl
|
|
2433
|
-
value
|
|
2434
|
-
}
|
|
2435
|
-
gas {
|
|
2552
|
+
tags {
|
|
2436
2553
|
key
|
|
2437
2554
|
value
|
|
2438
2555
|
}
|
|
2439
|
-
|
|
2556
|
+
tokenSymbols {
|
|
2440
2557
|
address
|
|
2441
|
-
name
|
|
2442
|
-
}
|
|
2443
|
-
stakeSummary {
|
|
2444
|
-
key
|
|
2445
|
-
value {
|
|
2446
|
-
totalStakes
|
|
2447
|
-
totalUnstakes
|
|
2448
|
-
context {
|
|
2449
|
-
genesisTime
|
|
2450
|
-
renaissanceTime
|
|
2451
|
-
genesisTx {
|
|
2452
|
-
code
|
|
2453
|
-
hash
|
|
2454
|
-
height
|
|
2455
|
-
index
|
|
2456
|
-
time
|
|
2457
|
-
}
|
|
2458
|
-
renaissanceTx {
|
|
2459
|
-
code
|
|
2460
|
-
hash
|
|
2461
|
-
height
|
|
2462
|
-
index
|
|
2463
|
-
time
|
|
2464
|
-
}
|
|
2465
|
-
}
|
|
2466
|
-
}
|
|
2467
|
-
}
|
|
2468
|
-
tasks {
|
|
2469
|
-
key
|
|
2470
|
-
value {
|
|
2471
|
-
item {
|
|
2472
|
-
actions
|
|
2473
|
-
dataHash
|
|
2474
|
-
type
|
|
2475
|
-
}
|
|
2476
|
-
}
|
|
2477
|
-
}
|
|
2478
|
-
token {
|
|
2479
2558
|
decimal
|
|
2480
|
-
description
|
|
2481
|
-
icon
|
|
2482
|
-
inflationRate
|
|
2483
|
-
initialSupply
|
|
2484
|
-
name
|
|
2485
2559
|
symbol
|
|
2486
|
-
totalSupply
|
|
2487
2560
|
unit
|
|
2488
2561
|
}
|
|
2489
|
-
|
|
2490
|
-
|
|
2491
|
-
|
|
2492
|
-
|
|
2493
|
-
|
|
2494
|
-
|
|
2495
|
-
|
|
2496
|
-
|
|
2497
|
-
|
|
2498
|
-
|
|
2499
|
-
|
|
2500
|
-
|
|
2501
|
-
|
|
2502
|
-
|
|
2503
|
-
|
|
2504
|
-
|
|
2505
|
-
|
|
2506
|
-
|
|
2507
|
-
deltaInterval
|
|
2508
|
-
typeUrls
|
|
2509
|
-
}
|
|
2510
|
-
poke {
|
|
2511
|
-
amount
|
|
2512
|
-
dailyLimit
|
|
2513
|
-
enabled
|
|
2514
|
-
}
|
|
2515
|
-
stake {
|
|
2516
|
-
timeoutGeneral
|
|
2517
|
-
timeoutStakeForNode
|
|
2518
|
-
}
|
|
2519
|
-
}
|
|
2520
|
-
upgradeInfo {
|
|
2521
|
-
height
|
|
2522
|
-
version
|
|
2523
|
-
}
|
|
2524
|
-
}
|
|
2525
|
-
}
|
|
2526
|
-
... on ResponseSubscribe_DelegateState {
|
|
2527
|
-
delegateState {
|
|
2528
|
-
address
|
|
2529
|
-
context {
|
|
2530
|
-
genesisTime
|
|
2531
|
-
renaissanceTime
|
|
2532
|
-
genesisTx {
|
|
2533
|
-
code
|
|
2534
|
-
hash
|
|
2535
|
-
height
|
|
2536
|
-
index
|
|
2537
|
-
time
|
|
2538
|
-
tags {
|
|
2539
|
-
key
|
|
2540
|
-
value
|
|
2541
|
-
}
|
|
2542
|
-
tx {
|
|
2543
|
-
chainId
|
|
2544
|
-
delegator
|
|
2545
|
-
from
|
|
2546
|
-
itxJson
|
|
2547
|
-
nonce
|
|
2548
|
-
pk
|
|
2549
|
-
signature
|
|
2550
|
-
signatures {
|
|
2551
|
-
delegator
|
|
2552
|
-
pk
|
|
2553
|
-
signature
|
|
2554
|
-
signer
|
|
2555
|
-
}
|
|
2556
|
-
}
|
|
2557
|
-
}
|
|
2558
|
-
renaissanceTx {
|
|
2559
|
-
code
|
|
2560
|
-
hash
|
|
2561
|
-
height
|
|
2562
|
-
index
|
|
2563
|
-
time
|
|
2564
|
-
tags {
|
|
2565
|
-
key
|
|
2562
|
+
tx {
|
|
2563
|
+
chainId
|
|
2564
|
+
delegator
|
|
2565
|
+
from
|
|
2566
|
+
itxJson
|
|
2567
|
+
nonce
|
|
2568
|
+
pk
|
|
2569
|
+
receiver
|
|
2570
|
+
sender
|
|
2571
|
+
serviceFee
|
|
2572
|
+
signature
|
|
2573
|
+
signatures {
|
|
2574
|
+
delegator
|
|
2575
|
+
pk
|
|
2576
|
+
signature
|
|
2577
|
+
signer
|
|
2578
|
+
data {
|
|
2579
|
+
typeUrl
|
|
2566
2580
|
value
|
|
2567
2581
|
}
|
|
2568
|
-
tx {
|
|
2569
|
-
chainId
|
|
2570
|
-
delegator
|
|
2571
|
-
from
|
|
2572
|
-
itxJson
|
|
2573
|
-
nonce
|
|
2574
|
-
pk
|
|
2575
|
-
signature
|
|
2576
|
-
signatures {
|
|
2577
|
-
delegator
|
|
2578
|
-
pk
|
|
2579
|
-
signature
|
|
2580
|
-
signer
|
|
2581
|
-
}
|
|
2582
|
-
}
|
|
2583
|
-
}
|
|
2584
|
-
}
|
|
2585
|
-
data {
|
|
2586
|
-
typeUrl
|
|
2587
|
-
value
|
|
2588
|
-
}
|
|
2589
|
-
ops {
|
|
2590
|
-
key
|
|
2591
|
-
value {
|
|
2592
|
-
balance
|
|
2593
|
-
balanceDelta
|
|
2594
|
-
numTxs
|
|
2595
|
-
numTxsDelta
|
|
2596
|
-
rule
|
|
2597
2582
|
}
|
|
2598
2583
|
}
|
|
2599
2584
|
}
|
|
2600
2585
|
}
|
|
2601
|
-
|
|
2602
|
-
|
|
2603
|
-
|
|
2604
|
-
|
|
2605
|
-
|
|
2606
|
-
|
|
2607
|
-
|
|
2608
|
-
|
|
2609
|
-
|
|
2610
|
-
|
|
2586
|
+
data {
|
|
2587
|
+
typeUrl
|
|
2588
|
+
value
|
|
2589
|
+
}
|
|
2590
|
+
signatures {
|
|
2591
|
+
delegator
|
|
2592
|
+
pk
|
|
2593
|
+
signature
|
|
2594
|
+
signer
|
|
2595
|
+
data {
|
|
2596
|
+
typeUrl
|
|
2611
2597
|
value
|
|
2612
|
-
context {
|
|
2613
|
-
genesisTime
|
|
2614
|
-
renaissanceTime
|
|
2615
|
-
genesisTx {
|
|
2616
|
-
code
|
|
2617
|
-
hash
|
|
2618
|
-
height
|
|
2619
|
-
index
|
|
2620
|
-
time
|
|
2621
|
-
tags {
|
|
2622
|
-
key
|
|
2623
|
-
value
|
|
2624
|
-
}
|
|
2625
|
-
tx {
|
|
2626
|
-
chainId
|
|
2627
|
-
delegator
|
|
2628
|
-
from
|
|
2629
|
-
itxJson
|
|
2630
|
-
nonce
|
|
2631
|
-
pk
|
|
2632
|
-
signature
|
|
2633
|
-
signatures {
|
|
2634
|
-
delegator
|
|
2635
|
-
pk
|
|
2636
|
-
signature
|
|
2637
|
-
signer
|
|
2638
|
-
}
|
|
2639
|
-
}
|
|
2640
|
-
}
|
|
2641
|
-
renaissanceTx {
|
|
2642
|
-
code
|
|
2643
|
-
hash
|
|
2644
|
-
height
|
|
2645
|
-
index
|
|
2646
|
-
time
|
|
2647
|
-
tags {
|
|
2648
|
-
key
|
|
2649
|
-
value
|
|
2650
|
-
}
|
|
2651
|
-
tx {
|
|
2652
|
-
chainId
|
|
2653
|
-
delegator
|
|
2654
|
-
from
|
|
2655
|
-
itxJson
|
|
2656
|
-
nonce
|
|
2657
|
-
pk
|
|
2658
|
-
signature
|
|
2659
|
-
signatures {
|
|
2660
|
-
delegator
|
|
2661
|
-
pk
|
|
2662
|
-
signature
|
|
2663
|
-
signer
|
|
2664
|
-
}
|
|
2665
|
-
}
|
|
2666
|
-
}
|
|
2667
|
-
}
|
|
2668
2598
|
}
|
|
2669
2599
|
}
|
|
2670
2600
|
}
|
|
2671
2601
|
}
|
|
2672
2602
|
}
|
|
2603
|
+
|
|
2673
2604
|
```
|
|
2674
2605
|
|
|
2606
|
+
### listRollupBlocks
|
|
2675
2607
|
|
|
2676
|
-
|
|
2608
|
+
#### Arguments
|
|
2677
2609
|
|
|
2678
|
-
|
|
2610
|
+
* **paging**, optional, null
|
|
2611
|
+
* **rollupAddress**, optional, null
|
|
2612
|
+
* **tokenAddress**, optional, null
|
|
2613
|
+
* **proposer**, optional, null
|
|
2614
|
+
* **validatorFilter**, optional, null
|
|
2615
|
+
* **txFilter**, optional, null
|
|
2616
|
+
|
|
2617
|
+
#### Result Format
|
|
2618
|
+
|
|
2619
|
+
```graphql
|
|
2620
|
+
{
|
|
2621
|
+
listRollupBlocks(rollupAddress: "abc", tokenAddress: "abc", proposer: "abc") {
|
|
2622
|
+
code
|
|
2623
|
+
blocks {
|
|
2624
|
+
burnedAmount
|
|
2625
|
+
genesisTime
|
|
2626
|
+
hash
|
|
2627
|
+
height
|
|
2628
|
+
merkleRoot
|
|
2629
|
+
mintedAmount
|
|
2630
|
+
previousHash
|
|
2631
|
+
proposer
|
|
2632
|
+
renaissanceTime
|
|
2633
|
+
rewardAmount
|
|
2634
|
+
rollup
|
|
2635
|
+
txs
|
|
2636
|
+
txsHash
|
|
2637
|
+
data {
|
|
2638
|
+
typeUrl
|
|
2639
|
+
value
|
|
2640
|
+
}
|
|
2641
|
+
signatures {
|
|
2642
|
+
delegator
|
|
2643
|
+
pk
|
|
2644
|
+
signature
|
|
2645
|
+
signer
|
|
2646
|
+
data {
|
|
2647
|
+
typeUrl
|
|
2648
|
+
value
|
|
2649
|
+
}
|
|
2650
|
+
}
|
|
2651
|
+
tokenInfo {
|
|
2652
|
+
address
|
|
2653
|
+
decimal
|
|
2654
|
+
symbol
|
|
2655
|
+
unit
|
|
2656
|
+
value
|
|
2657
|
+
}
|
|
2658
|
+
}
|
|
2659
|
+
page {
|
|
2660
|
+
cursor
|
|
2661
|
+
next
|
|
2662
|
+
total
|
|
2663
|
+
}
|
|
2664
|
+
}
|
|
2665
|
+
}
|
|
2666
|
+
|
|
2667
|
+
```
|
|
2668
|
+
|
|
2669
|
+
### listRollupValidators
|
|
2679
2670
|
|
|
2680
2671
|
#### Arguments
|
|
2681
2672
|
|
|
2682
|
-
* **
|
|
2683
|
-
* **
|
|
2684
|
-
* **tx**, optional, null
|
|
2685
|
-
* **wallet**, optional, null
|
|
2673
|
+
* **paging**, optional, null
|
|
2674
|
+
* **rollupAddress**, optional, null
|
|
2686
2675
|
|
|
2687
2676
|
#### Result Format
|
|
2688
2677
|
|
|
2689
2678
|
```graphql
|
|
2690
|
-
|
|
2691
|
-
|
|
2679
|
+
{
|
|
2680
|
+
listRollupValidators(rollupAddress: "abc") {
|
|
2692
2681
|
code
|
|
2693
|
-
|
|
2682
|
+
page {
|
|
2683
|
+
cursor
|
|
2684
|
+
next
|
|
2685
|
+
total
|
|
2686
|
+
}
|
|
2687
|
+
validators {
|
|
2688
|
+
address
|
|
2689
|
+
availableStake
|
|
2690
|
+
endpoint
|
|
2691
|
+
genesisTime
|
|
2692
|
+
joinTime
|
|
2693
|
+
latestBlockHash
|
|
2694
|
+
latestBlockHeight
|
|
2695
|
+
leaveTime
|
|
2696
|
+
moniker
|
|
2697
|
+
pk
|
|
2698
|
+
proposedBlockCount
|
|
2699
|
+
renaissanceTime
|
|
2700
|
+
revokedStake
|
|
2701
|
+
rollup
|
|
2702
|
+
totalGain
|
|
2703
|
+
totalStake
|
|
2704
|
+
verifiedBlockCount
|
|
2705
|
+
}
|
|
2706
|
+
}
|
|
2707
|
+
}
|
|
2708
|
+
|
|
2709
|
+
```
|
|
2710
|
+
|
|
2711
|
+
### search
|
|
2712
|
+
|
|
2713
|
+
#### Arguments
|
|
2714
|
+
|
|
2715
|
+
* **paging**, optional, null
|
|
2716
|
+
* **keyword**, optional, null
|
|
2717
|
+
|
|
2718
|
+
#### Result Format
|
|
2719
|
+
|
|
2720
|
+
```graphql
|
|
2721
|
+
{
|
|
2722
|
+
search(keyword: "abc") {
|
|
2723
|
+
code
|
|
2724
|
+
page {
|
|
2725
|
+
cursor
|
|
2726
|
+
next
|
|
2727
|
+
total
|
|
2728
|
+
}
|
|
2729
|
+
results {
|
|
2730
|
+
id
|
|
2731
|
+
type
|
|
2732
|
+
}
|
|
2694
2733
|
}
|
|
2695
2734
|
}
|
|
2735
|
+
|
|
2696
2736
|
```
|
|
2697
2737
|
|
|
2698
|
-
|
|
2738
|
+
|
|
2739
|
+
## Subscriptions
|
|
2740
|
+
|
|
2741
|
+
No Subscriptions supported yet.
|
|
2742
|
+
|
|
2743
|
+
|
|
2744
|
+
## Mutations
|
|
2745
|
+
|
|
2746
|
+
### sendTx
|
|
2699
2747
|
|
|
2700
2748
|
#### Arguments
|
|
2701
2749
|
|
|
2702
|
-
* **
|
|
2750
|
+
* **commit**, optional, null
|
|
2751
|
+
* **token**, optional, null
|
|
2752
|
+
* **tx**, optional, null
|
|
2753
|
+
* **wallet**, optional, null
|
|
2703
2754
|
|
|
2704
2755
|
#### Result Format
|
|
2705
2756
|
|
|
2706
2757
|
```graphql
|
|
2707
2758
|
mutation {
|
|
2708
|
-
|
|
2759
|
+
sendTx(commit: true, token: "abc", tx: "abc", wallet: "abc") {
|
|
2709
2760
|
code
|
|
2761
|
+
hash
|
|
2710
2762
|
}
|
|
2711
2763
|
}
|
|
2764
|
+
|
|
2712
2765
|
```
|