@ocap/client 1.30.26 → 1.31.1
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/dist/base.js +1 -1
- package/dist/browser.d.ts +112 -0
- package/dist/bundle.js +1 -1
- package/dist/extension.js +15 -4
- package/dist/extension.js.map +1 -1
- package/dist/report.html +2 -2
- package/dist/schema/graphql.json +1104 -71
- package/dist/schema/graphql.txt +2 -2
- package/dist/types.js +267 -1
- package/dist/types.js.map +1 -1
- package/dist/verify.js +307 -8
- package/dist/verify.js.map +1 -1
- package/docs/QUERIES.md +207 -5
- package/docs/README.md +522 -114
- package/lib/base.js +1 -1
- package/lib/extension.js +15 -4
- package/lib/extension.js.map +1 -1
- package/lib/node.d.ts +112 -0
- package/lib/schema/graphql.json +1104 -71
- package/lib/schema/graphql.txt +2 -2
- package/lib/types.js +267 -1
- package/lib/types.js.map +1 -1
- package/lib/verify.js +307 -8
- package/lib/verify.js.map +1 -1
- package/package.json +11 -11
package/docs/README.md
CHANGED
|
@@ -142,6 +142,9 @@ response objects the chain returns — this is a server-side convention.
|
|
|
142
142
|
* [getNodeInfo()](#GraphQLClient+getNodeInfo) ⇒ [`Promise.<ResponseGetNodeInfo>`](#GraphQLClient.ResponseGetNodeInfo)
|
|
143
143
|
* [getValidatorsInfo()](#GraphQLClient+getValidatorsInfo) ⇒ [`Promise.<ResponseGetValidatorsInfo>`](#GraphQLClient.ResponseGetValidatorsInfo)
|
|
144
144
|
* [getForgeStats()](#GraphQLClient+getForgeStats) ⇒ [`Promise.<ResponseGetForgeStats>`](#GraphQLClient.ResponseGetForgeStats)
|
|
145
|
+
* [getLatestCheckpoint(params)](#GraphQLClient+getLatestCheckpoint) ⇒ [`Promise.<ResponseGetLatestCheckpoint>`](#GraphQLClient.ResponseGetLatestCheckpoint)
|
|
146
|
+
* [getLedgerEntry(params)](#GraphQLClient+getLedgerEntry) ⇒ [`Promise.<ResponseGetLedgerEntry>`](#GraphQLClient.ResponseGetLedgerEntry)
|
|
147
|
+
* [getMerkleProof(params)](#GraphQLClient+getMerkleProof) ⇒ [`Promise.<ResponseGetMerkleProof>`](#GraphQLClient.ResponseGetMerkleProof)
|
|
145
148
|
* [listAssetTransactions(params)](#GraphQLClient+listAssetTransactions) ⇒ [`Promise.<ResponseListAssetTransactions>`](#GraphQLClient.ResponseListAssetTransactions)
|
|
146
149
|
* [listAssets(params)](#GraphQLClient+listAssets) ⇒ [`Promise.<ResponseListAssets>`](#GraphQLClient.ResponseListAssets)
|
|
147
150
|
* [listBlocks(params)](#GraphQLClient+listBlocks) ⇒ [`Promise.<ResponseListBlocks>`](#GraphQLClient.ResponseListBlocks)
|
|
@@ -233,6 +236,7 @@ response objects the chain returns — this is a server-side convention.
|
|
|
233
236
|
* [BlockInfoSimple](#GraphQLClient.BlockInfoSimple) : `object`
|
|
234
237
|
* [BurnTokenTx](#GraphQLClient.BurnTokenTx) : `object`
|
|
235
238
|
* [ChainInfo](#GraphQLClient.ChainInfo) : `object`
|
|
239
|
+
* [ChainInfo\_ForgeAppsVersionEntry](#GraphQLClient.ChainInfo_ForgeAppsVersionEntry) : `object`
|
|
236
240
|
* [ClaimBlockRewardTx](#GraphQLClient.ClaimBlockRewardTx) : `object`
|
|
237
241
|
* [ClaimStakeTx](#GraphQLClient.ClaimStakeTx) : `object`
|
|
238
242
|
* [CloseRollupTx](#GraphQLClient.CloseRollupTx) : `object`
|
|
@@ -251,6 +255,7 @@ response objects the chain returns — this is a server-side convention.
|
|
|
251
255
|
* [DelegateOp](#GraphQLClient.DelegateOp) : `object`
|
|
252
256
|
* [DelegateOpState](#GraphQLClient.DelegateOpState) : `object`
|
|
253
257
|
* [DelegateState](#GraphQLClient.DelegateState) : `object`
|
|
258
|
+
* [DelegateState\_OpsEntry](#GraphQLClient.DelegateState_OpsEntry) : `object`
|
|
254
259
|
* [DelegateTx](#GraphQLClient.DelegateTx) : `object`
|
|
255
260
|
* [DepositTokenV2Tx](#GraphQLClient.DepositTokenV2Tx) : `object`
|
|
256
261
|
* [Evidence](#GraphQLClient.Evidence) : `object`
|
|
@@ -261,6 +266,7 @@ response objects the chain returns — this is a server-side convention.
|
|
|
261
266
|
* [ExchangeV2Tx](#GraphQLClient.ExchangeV2Tx) : `object`
|
|
262
267
|
* [ForeignToken](#GraphQLClient.ForeignToken) : `object`
|
|
263
268
|
* [ForgeState](#GraphQLClient.ForgeState) : `object`
|
|
269
|
+
* [ForgeState\_TasksEntry](#GraphQLClient.ForgeState_TasksEntry) : `object`
|
|
264
270
|
* [ForgeStats](#GraphQLClient.ForgeStats) : `object`
|
|
265
271
|
* [ForgeToken](#GraphQLClient.ForgeToken) : `object`
|
|
266
272
|
* [GasEstimate](#GraphQLClient.GasEstimate) : `object`
|
|
@@ -269,6 +275,7 @@ response objects the chain returns — this is a server-side convention.
|
|
|
269
275
|
* [IndexedAssetState](#GraphQLClient.IndexedAssetState) : `object`
|
|
270
276
|
* [IndexedBlock](#GraphQLClient.IndexedBlock) : `object`
|
|
271
277
|
* [IndexedDelegationState](#GraphQLClient.IndexedDelegationState) : `object`
|
|
278
|
+
* [IndexedDelegationState\_OpsEntry](#GraphQLClient.IndexedDelegationState_OpsEntry) : `object`
|
|
272
279
|
* [IndexedFactoryInput](#GraphQLClient.IndexedFactoryInput) : `object`
|
|
273
280
|
* [IndexedFactoryState](#GraphQLClient.IndexedFactoryState) : `object`
|
|
274
281
|
* [IndexedRollupBlock](#GraphQLClient.IndexedRollupBlock) : `object`
|
|
@@ -283,6 +290,9 @@ response objects the chain returns — this is a server-side convention.
|
|
|
283
290
|
* [JoinRollupTx](#GraphQLClient.JoinRollupTx) : `object`
|
|
284
291
|
* [KVPair](#GraphQLClient.KVPair) : `object`
|
|
285
292
|
* [LeaveRollupTx](#GraphQLClient.LeaveRollupTx) : `object`
|
|
293
|
+
* [LedgerCheckpoint](#GraphQLClient.LedgerCheckpoint) : `object`
|
|
294
|
+
* [LedgerEntry](#GraphQLClient.LedgerEntry) : `object`
|
|
295
|
+
* [LedgerMerkleProof](#GraphQLClient.LedgerMerkleProof) : `object`
|
|
286
296
|
* [MigrateRollupTx](#GraphQLClient.MigrateRollupTx) : `object`
|
|
287
297
|
* [MintAssetTx](#GraphQLClient.MintAssetTx) : `object`
|
|
288
298
|
* [MintTokenTx](#GraphQLClient.MintTokenTx) : `object`
|
|
@@ -292,6 +302,7 @@ response objects the chain returns — this is a server-side convention.
|
|
|
292
302
|
* [NFTIssuer](#GraphQLClient.NFTIssuer) : `object`
|
|
293
303
|
* [NetInfo](#GraphQLClient.NetInfo) : `object`
|
|
294
304
|
* [NodeInfo](#GraphQLClient.NodeInfo) : `object`
|
|
305
|
+
* [NodeInfo\_ForgeAppsVersionEntry](#GraphQLClient.NodeInfo_ForgeAppsVersionEntry) : `object`
|
|
295
306
|
* [PageInfo](#GraphQLClient.PageInfo) : `object`
|
|
296
307
|
* [PartSetHeader](#GraphQLClient.PartSetHeader) : `object`
|
|
297
308
|
* [PauseRollupTx](#GraphQLClient.PauseRollupTx) : `object`
|
|
@@ -312,6 +323,9 @@ response objects the chain returns — this is a server-side convention.
|
|
|
312
323
|
* [ResponseGetFactoryState](#GraphQLClient.ResponseGetFactoryState) : `object`
|
|
313
324
|
* [ResponseGetForgeState](#GraphQLClient.ResponseGetForgeState) : `object`
|
|
314
325
|
* [ResponseGetForgeStats](#GraphQLClient.ResponseGetForgeStats) : `object`
|
|
326
|
+
* [ResponseGetLatestCheckpoint](#GraphQLClient.ResponseGetLatestCheckpoint) : `object`
|
|
327
|
+
* [ResponseGetLedgerEntry](#GraphQLClient.ResponseGetLedgerEntry) : `object`
|
|
328
|
+
* [ResponseGetMerkleProof](#GraphQLClient.ResponseGetMerkleProof) : `object`
|
|
315
329
|
* [ResponseGetNetInfo](#GraphQLClient.ResponseGetNetInfo) : `object`
|
|
316
330
|
* [ResponseGetNodeInfo](#GraphQLClient.ResponseGetNodeInfo) : `object`
|
|
317
331
|
* [ResponseGetRollupBlock](#GraphQLClient.ResponseGetRollupBlock) : `object`
|
|
@@ -370,6 +384,8 @@ response objects the chain returns — this is a server-side convention.
|
|
|
370
384
|
* [TransferV3Tx](#GraphQLClient.TransferV3Tx) : `object`
|
|
371
385
|
* [TxFeeConfig](#GraphQLClient.TxFeeConfig) : `object`
|
|
372
386
|
* [TxGasConfig](#GraphQLClient.TxGasConfig) : `object`
|
|
387
|
+
* [TxGasQuotaTelemetry](#GraphQLClient.TxGasQuotaTelemetry) : `object`
|
|
388
|
+
* [TxSecurityWarning](#GraphQLClient.TxSecurityWarning) : `object`
|
|
373
389
|
* [TxStakeConfig](#GraphQLClient.TxStakeConfig) : `object`
|
|
374
390
|
* [UnconfirmedTxs](#GraphQLClient.UnconfirmedTxs) : `object`
|
|
375
391
|
* [UpdateAssetTx](#GraphQLClient.UpdateAssetTx) : `object`
|
|
@@ -402,6 +418,9 @@ response objects the chain returns — this is a server-side convention.
|
|
|
402
418
|
* [GetBlocksParams](#GraphQLClient.GetBlocksParams) : `object`
|
|
403
419
|
* [GetUnconfirmedTxsParams](#GraphQLClient.GetUnconfirmedTxsParams) : `object`
|
|
404
420
|
* [GetConfigParams](#GraphQLClient.GetConfigParams) : `object`
|
|
421
|
+
* [GetLatestCheckpointParams](#GraphQLClient.GetLatestCheckpointParams) : `object`
|
|
422
|
+
* [GetLedgerEntryParams](#GraphQLClient.GetLedgerEntryParams) : `object`
|
|
423
|
+
* [GetMerkleProofParams](#GraphQLClient.GetMerkleProofParams) : `object`
|
|
405
424
|
* [ListAssetTransactionsParams](#GraphQLClient.ListAssetTransactionsParams) : `object`
|
|
406
425
|
* [ListAssetsParams](#GraphQLClient.ListAssetsParams) : `object`
|
|
407
426
|
* [ListBlocksParams](#GraphQLClient.ListBlocksParams) : `object`
|
|
@@ -1927,6 +1946,39 @@ getForgeStats
|
|
|
1927
1946
|
**Kind**: instance method of [`GraphQLClient`](#GraphQLClient)\
|
|
1928
1947
|
**Returns**: [`Promise.<ResponseGetForgeStats>`](#GraphQLClient.ResponseGetForgeStats) - Checkout [ResponseGetForgeStats](#GraphQLClient.ResponseGetForgeStats) for resolved data format
|
|
1929
1948
|
|
|
1949
|
+
### graphQLClient.getLatestCheckpoint(params) ⇒ [`Promise.<ResponseGetLatestCheckpoint>`](#GraphQLClient.ResponseGetLatestCheckpoint)
|
|
1950
|
+
|
|
1951
|
+
getLatestCheckpoint
|
|
1952
|
+
|
|
1953
|
+
**Kind**: instance method of [`GraphQLClient`](#GraphQLClient)\
|
|
1954
|
+
**Returns**: [`Promise.<ResponseGetLatestCheckpoint>`](#GraphQLClient.ResponseGetLatestCheckpoint) - Checkout [ResponseGetLatestCheckpoint](#GraphQLClient.ResponseGetLatestCheckpoint) for resolved data format
|
|
1955
|
+
|
|
1956
|
+
| Param | Type |
|
|
1957
|
+
| ------ | ----------------------------------------------------------------------- |
|
|
1958
|
+
| params | [`GetLatestCheckpointParams`](#GraphQLClient.GetLatestCheckpointParams) |
|
|
1959
|
+
|
|
1960
|
+
### graphQLClient.getLedgerEntry(params) ⇒ [`Promise.<ResponseGetLedgerEntry>`](#GraphQLClient.ResponseGetLedgerEntry)
|
|
1961
|
+
|
|
1962
|
+
getLedgerEntry
|
|
1963
|
+
|
|
1964
|
+
**Kind**: instance method of [`GraphQLClient`](#GraphQLClient)\
|
|
1965
|
+
**Returns**: [`Promise.<ResponseGetLedgerEntry>`](#GraphQLClient.ResponseGetLedgerEntry) - Checkout [ResponseGetLedgerEntry](#GraphQLClient.ResponseGetLedgerEntry) for resolved data format
|
|
1966
|
+
|
|
1967
|
+
| Param | Type |
|
|
1968
|
+
| ------ | ------------------------------------------------------------- |
|
|
1969
|
+
| params | [`GetLedgerEntryParams`](#GraphQLClient.GetLedgerEntryParams) |
|
|
1970
|
+
|
|
1971
|
+
### graphQLClient.getMerkleProof(params) ⇒ [`Promise.<ResponseGetMerkleProof>`](#GraphQLClient.ResponseGetMerkleProof)
|
|
1972
|
+
|
|
1973
|
+
getMerkleProof
|
|
1974
|
+
|
|
1975
|
+
**Kind**: instance method of [`GraphQLClient`](#GraphQLClient)\
|
|
1976
|
+
**Returns**: [`Promise.<ResponseGetMerkleProof>`](#GraphQLClient.ResponseGetMerkleProof) - Checkout [ResponseGetMerkleProof](#GraphQLClient.ResponseGetMerkleProof) for resolved data format
|
|
1977
|
+
|
|
1978
|
+
| Param | Type |
|
|
1979
|
+
| ------ | ------------------------------------------------------------- |
|
|
1980
|
+
| params | [`GetMerkleProofParams`](#GraphQLClient.GetMerkleProofParams) |
|
|
1981
|
+
|
|
1930
1982
|
### graphQLClient.listAssetTransactions(params) ⇒ [`Promise.<ResponseListAssetTransactions>`](#GraphQLClient.ResponseListAssetTransactions)
|
|
1931
1983
|
|
|
1932
1984
|
listAssetTransactions
|
|
@@ -2242,6 +2294,7 @@ Structure of GraphQLClient.AddressFilterInput
|
|
|
2242
2294
|
| sender | `string` |
|
|
2243
2295
|
| receiver | `string` |
|
|
2244
2296
|
| ...direction | `GraphQLClient.Direction` |
|
|
2297
|
+
| gasPayer | `string` |
|
|
2245
2298
|
|
|
2246
2299
|
### GraphQLClient.AssetFilterInput : `object`
|
|
2247
2300
|
|
|
@@ -2345,7 +2398,7 @@ Structure of GraphQLClient.RequestGetAccountStateInput
|
|
|
2345
2398
|
| -------------- | ---------------- |
|
|
2346
2399
|
| address | `string` |
|
|
2347
2400
|
| keys | `Array.<string>` |
|
|
2348
|
-
| height | `
|
|
2401
|
+
| height | `number` |
|
|
2349
2402
|
| traceMigration | `boolean` |
|
|
2350
2403
|
|
|
2351
2404
|
### GraphQLClient.RequestGetAccountTokensInput : `object`
|
|
@@ -2376,7 +2429,9 @@ Structure of GraphQLClient.RequestGetBlockInput
|
|
|
2376
2429
|
Checkout the following snippet for the format of RequestGetBlockInput:
|
|
2377
2430
|
|
|
2378
2431
|
```json
|
|
2379
|
-
{
|
|
2432
|
+
{
|
|
2433
|
+
"height": 123
|
|
2434
|
+
}
|
|
2380
2435
|
```
|
|
2381
2436
|
|
|
2382
2437
|
**Kind**: static typedef of [`GraphQLClient`](#GraphQLClient)\
|
|
@@ -2384,7 +2439,7 @@ Checkout the following snippet for the format of RequestGetBlockInput:
|
|
|
2384
2439
|
|
|
2385
2440
|
| Name | Type |
|
|
2386
2441
|
| ------ | -------- |
|
|
2387
|
-
| height | `
|
|
2442
|
+
| height | `number` |
|
|
2388
2443
|
|
|
2389
2444
|
### GraphQLClient.RequestGetBlocksInput : `object`
|
|
2390
2445
|
|
|
@@ -2454,6 +2509,7 @@ Checkout the following snippet for the format of RequestGetRollupBlockInput:
|
|
|
2454
2509
|
```json
|
|
2455
2510
|
{
|
|
2456
2511
|
"hash": "abc",
|
|
2512
|
+
"height": 123,
|
|
2457
2513
|
"rollupAddress": "abc"
|
|
2458
2514
|
}
|
|
2459
2515
|
```
|
|
@@ -2464,7 +2520,7 @@ Checkout the following snippet for the format of RequestGetRollupBlockInput:
|
|
|
2464
2520
|
| Name | Type |
|
|
2465
2521
|
| ------------- | -------- |
|
|
2466
2522
|
| hash | `string` |
|
|
2467
|
-
| height | `
|
|
2523
|
+
| height | `number` |
|
|
2468
2524
|
| rollupAddress | `string` |
|
|
2469
2525
|
|
|
2470
2526
|
### GraphQLClient.RequestGetStateInput : `object`
|
|
@@ -2478,7 +2534,7 @@ Structure of GraphQLClient.RequestGetStateInput
|
|
|
2478
2534
|
| ------- | ---------------- |
|
|
2479
2535
|
| address | `string` |
|
|
2480
2536
|
| keys | `Array.<string>` |
|
|
2481
|
-
| height | `
|
|
2537
|
+
| height | `number` |
|
|
2482
2538
|
|
|
2483
2539
|
### GraphQLClient.RequestGetTokenDistributionInput : `object`
|
|
2484
2540
|
|
|
@@ -2747,6 +2803,7 @@ Checkout the following snippet for the format of RequestListTokenFlowsInput:
|
|
|
2747
2803
|
{
|
|
2748
2804
|
"accountAddress": "abc",
|
|
2749
2805
|
"tokenAddress": "abc",
|
|
2806
|
+
"depth": 123,
|
|
2750
2807
|
"direction": "IN"
|
|
2751
2808
|
}
|
|
2752
2809
|
```
|
|
@@ -2968,9 +3025,10 @@ Structure of GraphQLClient.TxFilterInput
|
|
|
2968
3025
|
**Kind**: static typedef of [`GraphQLClient`](#GraphQLClient)\
|
|
2969
3026
|
**Properties**
|
|
2970
3027
|
|
|
2971
|
-
| Name
|
|
2972
|
-
|
|
|
2973
|
-
| txs
|
|
3028
|
+
| Name | Type |
|
|
3029
|
+
| -------- | ---------------- |
|
|
3030
|
+
| txs | `Array.<string>` |
|
|
3031
|
+
| gasPayer | `string` |
|
|
2974
3032
|
|
|
2975
3033
|
### GraphQLClient.TypeFilterInput : `object`
|
|
2976
3034
|
|
|
@@ -3229,10 +3287,10 @@ Structure of GraphQLClient.AssetLimit
|
|
|
3229
3287
|
| address | `Array.<string>` |
|
|
3230
3288
|
| to | `Array.<string>` |
|
|
3231
3289
|
| txCount | `number` |
|
|
3232
|
-
| validUntil | `
|
|
3290
|
+
| validUntil | `number` |
|
|
3233
3291
|
| ...rate | [`RateLimit`](#GraphQLClient.RateLimit) |
|
|
3234
3292
|
| txSent | `number` |
|
|
3235
|
-
| lastTx | `
|
|
3293
|
+
| lastTx | `number` |
|
|
3236
3294
|
|
|
3237
3295
|
### GraphQLClient.AssetState : `object`
|
|
3238
3296
|
|
|
@@ -3348,23 +3406,35 @@ Structure of GraphQLClient.ChainInfo
|
|
|
3348
3406
|
**Kind**: static typedef of [`GraphQLClient`](#GraphQLClient)\
|
|
3349
3407
|
**Properties**
|
|
3350
3408
|
|
|
3351
|
-
| Name | Type
|
|
3352
|
-
| ---------------- |
|
|
3353
|
-
| id | `string`
|
|
3354
|
-
| network | `string`
|
|
3355
|
-
| moniker | `string`
|
|
3356
|
-
| consensusVersion | `string`
|
|
3357
|
-
| synced | `boolean`
|
|
3358
|
-
| appHash | `string`
|
|
3359
|
-
| blockHash | `string`
|
|
3360
|
-
| blockHeight | `string`
|
|
3361
|
-
| blockTime | `string`
|
|
3362
|
-
| address | `string`
|
|
3363
|
-
| votingPower | `string`
|
|
3364
|
-
| totalTxs | `string`
|
|
3365
|
-
| version | `string`
|
|
3366
|
-
| forgeAppsVersion | `
|
|
3367
|
-
| supportedTxs | `Array.<string>`
|
|
3409
|
+
| Name | Type |
|
|
3410
|
+
| ---------------- | ----------------------------------------------------------- |
|
|
3411
|
+
| id | `string` |
|
|
3412
|
+
| network | `string` |
|
|
3413
|
+
| moniker | `string` |
|
|
3414
|
+
| consensusVersion | `string` |
|
|
3415
|
+
| synced | `boolean` |
|
|
3416
|
+
| appHash | `string` |
|
|
3417
|
+
| blockHash | `string` |
|
|
3418
|
+
| blockHeight | `string` |
|
|
3419
|
+
| blockTime | `string` |
|
|
3420
|
+
| address | `string` |
|
|
3421
|
+
| votingPower | `string` |
|
|
3422
|
+
| totalTxs | `string` |
|
|
3423
|
+
| version | `string` |
|
|
3424
|
+
| forgeAppsVersion | `Array.<...GraphQLClient.ChainInfo\_ForgeAppsVersionEntry>` |
|
|
3425
|
+
| supportedTxs | `Array.<string>` |
|
|
3426
|
+
|
|
3427
|
+
### GraphQLClient.ChainInfo\_ForgeAppsVersionEntry : `object`
|
|
3428
|
+
|
|
3429
|
+
Structure of GraphQLClient.ChainInfo\_ForgeAppsVersionEntry
|
|
3430
|
+
|
|
3431
|
+
**Kind**: static typedef of [`GraphQLClient`](#GraphQLClient)\
|
|
3432
|
+
**Properties**
|
|
3433
|
+
|
|
3434
|
+
| Name | Type |
|
|
3435
|
+
| ----- | -------- |
|
|
3436
|
+
| key | `string` |
|
|
3437
|
+
| value | `string` |
|
|
3368
3438
|
|
|
3369
3439
|
### GraphQLClient.ClaimBlockRewardTx : `object`
|
|
3370
3440
|
|
|
@@ -3375,6 +3445,7 @@ Checkout the following snippet for the format of ClaimBlockRewardTx:
|
|
|
3375
3445
|
```json
|
|
3376
3446
|
{
|
|
3377
3447
|
"rollup": "abc",
|
|
3448
|
+
"blockHeight": 123,
|
|
3378
3449
|
"blockHash": "abc",
|
|
3379
3450
|
"evidence": {
|
|
3380
3451
|
"hash": "abc"
|
|
@@ -3393,7 +3464,7 @@ Checkout the following snippet for the format of ClaimBlockRewardTx:
|
|
|
3393
3464
|
| Name | Type |
|
|
3394
3465
|
| ----------- | ------------------------------------- |
|
|
3395
3466
|
| rollup | `string` |
|
|
3396
|
-
| blockHeight | `
|
|
3467
|
+
| blockHeight | `number` |
|
|
3397
3468
|
| blockHash | `string` |
|
|
3398
3469
|
| ...evidence | [`Evidence`](#GraphQLClient.Evidence) |
|
|
3399
3470
|
| publisher | `string` |
|
|
@@ -3547,7 +3618,7 @@ Structure of GraphQLClient.CreateRollupBlockTx
|
|
|
3547
3618
|
| Name | Type |
|
|
3548
3619
|
| ------------ | ----------------------------------- |
|
|
3549
3620
|
| hash | `string` |
|
|
3550
|
-
| height | `
|
|
3621
|
+
| height | `number` |
|
|
3551
3622
|
| merkleRoot | `string` |
|
|
3552
3623
|
| previousHash | `string` |
|
|
3553
3624
|
| txsHash | `string` |
|
|
@@ -3700,10 +3771,11 @@ Structure of GraphQLClient.DelegateLimit
|
|
|
3700
3771
|
**Kind**: static typedef of [`GraphQLClient`](#GraphQLClient)\
|
|
3701
3772
|
**Properties**
|
|
3702
3773
|
|
|
3703
|
-
| Name
|
|
3704
|
-
|
|
|
3705
|
-
| tokens
|
|
3706
|
-
| assets
|
|
3774
|
+
| Name | Type |
|
|
3775
|
+
| --------- | ------------------------------------- |
|
|
3776
|
+
| tokens | `Array.<...GraphQLClient.TokenLimit>` |
|
|
3777
|
+
| assets | `Array.<...GraphQLClient.AssetLimit>` |
|
|
3778
|
+
| unlimited | `boolean` |
|
|
3707
3779
|
|
|
3708
3780
|
### GraphQLClient.DelegateOp : `object`
|
|
3709
3781
|
|
|
@@ -3728,8 +3800,8 @@ Structure of GraphQLClient.DelegateOpState
|
|
|
3728
3800
|
| Name | Type |
|
|
3729
3801
|
| ------------ | ----------------------------------------------- |
|
|
3730
3802
|
| rule | `string` |
|
|
3731
|
-
| numTxs | `
|
|
3732
|
-
| numTxsDelta | `
|
|
3803
|
+
| numTxs | `number` |
|
|
3804
|
+
| numTxsDelta | `number` |
|
|
3733
3805
|
| balance | `string` |
|
|
3734
3806
|
| balanceDelta | `string` |
|
|
3735
3807
|
| ...limit | [`DelegateLimit`](#GraphQLClient.DelegateLimit) |
|
|
@@ -3741,16 +3813,28 @@ Structure of GraphQLClient.DelegateState
|
|
|
3741
3813
|
**Kind**: static typedef of [`GraphQLClient`](#GraphQLClient)\
|
|
3742
3814
|
**Properties**
|
|
3743
3815
|
|
|
3744
|
-
| Name | Type
|
|
3745
|
-
| ---------- |
|
|
3746
|
-
| address | `string`
|
|
3747
|
-
| ops | `
|
|
3748
|
-
| from | `string`
|
|
3749
|
-
| to | `string`
|
|
3750
|
-
| deny | `Array.<string>`
|
|
3751
|
-
| validUntil | `
|
|
3752
|
-
| ...context | [`StateContext`](#GraphQLClient.StateContext)
|
|
3753
|
-
| ...data | [`Any`](#GraphQLClient.Any)
|
|
3816
|
+
| Name | Type |
|
|
3817
|
+
| ---------- | -------------------------------------------------- |
|
|
3818
|
+
| address | `string` |
|
|
3819
|
+
| ops | `Array.<...GraphQLClient.DelegateState\_OpsEntry>` |
|
|
3820
|
+
| from | `string` |
|
|
3821
|
+
| to | `string` |
|
|
3822
|
+
| deny | `Array.<string>` |
|
|
3823
|
+
| validUntil | `number` |
|
|
3824
|
+
| ...context | [`StateContext`](#GraphQLClient.StateContext) |
|
|
3825
|
+
| ...data | [`Any`](#GraphQLClient.Any) |
|
|
3826
|
+
|
|
3827
|
+
### GraphQLClient.DelegateState\_OpsEntry : `object`
|
|
3828
|
+
|
|
3829
|
+
Structure of GraphQLClient.DelegateState\_OpsEntry
|
|
3830
|
+
|
|
3831
|
+
**Kind**: static typedef of [`GraphQLClient`](#GraphQLClient)\
|
|
3832
|
+
**Properties**
|
|
3833
|
+
|
|
3834
|
+
| Name | Type |
|
|
3835
|
+
| -------- | --------------------------------------------------- |
|
|
3836
|
+
| key | `string` |
|
|
3837
|
+
| ...value | [`DelegateOpState`](#GraphQLClient.DelegateOpState) |
|
|
3754
3838
|
|
|
3755
3839
|
### GraphQLClient.DelegateTx : `object`
|
|
3756
3840
|
|
|
@@ -3765,7 +3849,7 @@ Structure of GraphQLClient.DelegateTx
|
|
|
3765
3849
|
| to | `string` |
|
|
3766
3850
|
| ops | `Array.<...GraphQLClient.DelegateOp>` |
|
|
3767
3851
|
| deny | `Array.<string>` |
|
|
3768
|
-
| validUntil | `
|
|
3852
|
+
| validUntil | `number` |
|
|
3769
3853
|
| ...data | [`Any`](#GraphQLClient.Any) |
|
|
3770
3854
|
|
|
3771
3855
|
### GraphQLClient.DepositTokenV2Tx : `object`
|
|
@@ -3912,7 +3996,7 @@ Structure of GraphQLClient.ForgeState
|
|
|
3912
3996
|
| --------------- | ------------------------------------------------------- |
|
|
3913
3997
|
| address | `string` |
|
|
3914
3998
|
| ...consensus | [`ConsensusParams`](#GraphQLClient.ConsensusParams) |
|
|
3915
|
-
| tasks | `
|
|
3999
|
+
| tasks | `Array.<...GraphQLClient.ForgeState\_TasksEntry>` |
|
|
3916
4000
|
| version | `string` |
|
|
3917
4001
|
| ...token | [`ForgeToken`](#GraphQLClient.ForgeToken) |
|
|
3918
4002
|
| ...txConfig | [`TransactionConfig`](#GraphQLClient.TransactionConfig) |
|
|
@@ -3922,6 +4006,18 @@ Structure of GraphQLClient.ForgeState
|
|
|
3922
4006
|
| reservedSymbols | `Array.<string>` |
|
|
3923
4007
|
| ...data | [`Any`](#GraphQLClient.Any) |
|
|
3924
4008
|
|
|
4009
|
+
### GraphQLClient.ForgeState\_TasksEntry : `object`
|
|
4010
|
+
|
|
4011
|
+
Structure of GraphQLClient.ForgeState\_TasksEntry
|
|
4012
|
+
|
|
4013
|
+
**Kind**: static typedef of [`GraphQLClient`](#GraphQLClient)\
|
|
4014
|
+
**Properties**
|
|
4015
|
+
|
|
4016
|
+
| Name | Type |
|
|
4017
|
+
| -------- | --------------------------------------------- |
|
|
4018
|
+
| key | `number` |
|
|
4019
|
+
| ...value | [`UpgradeTasks`](#GraphQLClient.UpgradeTasks) |
|
|
4020
|
+
|
|
3925
4021
|
### GraphQLClient.ForgeStats : `object`
|
|
3926
4022
|
|
|
3927
4023
|
Structure of GraphQLClient.ForgeStats
|
|
@@ -4068,15 +4164,27 @@ Structure of GraphQLClient.IndexedDelegationState
|
|
|
4068
4164
|
**Kind**: static typedef of [`GraphQLClient`](#GraphQLClient)\
|
|
4069
4165
|
**Properties**
|
|
4070
4166
|
|
|
4071
|
-
| Name | Type
|
|
4072
|
-
| --------------- |
|
|
4073
|
-
| address | `string`
|
|
4074
|
-
| from | `string`
|
|
4075
|
-
| to | `string`
|
|
4076
|
-
| genesisTime | `string`
|
|
4077
|
-
| renaissanceTime | `string`
|
|
4078
|
-
| ops | `
|
|
4079
|
-
| ...data | [`Any`](#GraphQLClient.Any)
|
|
4167
|
+
| Name | Type |
|
|
4168
|
+
| --------------- | ----------------------------------------------------------- |
|
|
4169
|
+
| address | `string` |
|
|
4170
|
+
| from | `string` |
|
|
4171
|
+
| to | `string` |
|
|
4172
|
+
| genesisTime | `string` |
|
|
4173
|
+
| renaissanceTime | `string` |
|
|
4174
|
+
| ops | `Array.<...GraphQLClient.IndexedDelegationState\_OpsEntry>` |
|
|
4175
|
+
| ...data | [`Any`](#GraphQLClient.Any) |
|
|
4176
|
+
|
|
4177
|
+
### GraphQLClient.IndexedDelegationState\_OpsEntry : `object`
|
|
4178
|
+
|
|
4179
|
+
Structure of GraphQLClient.IndexedDelegationState\_OpsEntry
|
|
4180
|
+
|
|
4181
|
+
**Kind**: static typedef of [`GraphQLClient`](#GraphQLClient)\
|
|
4182
|
+
**Properties**
|
|
4183
|
+
|
|
4184
|
+
| Name | Type |
|
|
4185
|
+
| -------- | --------------------------------------------------- |
|
|
4186
|
+
| key | `string` |
|
|
4187
|
+
| ...value | [`DelegateOpState`](#GraphQLClient.DelegateOpState) |
|
|
4080
4188
|
|
|
4081
4189
|
### GraphQLClient.IndexedFactoryInput : `object`
|
|
4082
4190
|
|
|
@@ -4130,7 +4238,7 @@ Structure of GraphQLClient.IndexedRollupBlock
|
|
|
4130
4238
|
| Name | Type |
|
|
4131
4239
|
| --------------- | ------------------------------------------------------- |
|
|
4132
4240
|
| hash | `string` |
|
|
4133
|
-
| height | `
|
|
4241
|
+
| height | `number` |
|
|
4134
4242
|
| merkleRoot | `string` |
|
|
4135
4243
|
| previousHash | `string` |
|
|
4136
4244
|
| txsHash | `string` |
|
|
@@ -4178,7 +4286,7 @@ Structure of GraphQLClient.IndexedRollupState
|
|
|
4178
4286
|
| proposerFeeShare | `number` |
|
|
4179
4287
|
| minDepositAmount | `string` |
|
|
4180
4288
|
| minWithdrawAmount | `string` |
|
|
4181
|
-
| blockHeight | `
|
|
4289
|
+
| blockHeight | `number` |
|
|
4182
4290
|
| blockHash | `string` |
|
|
4183
4291
|
| minBlockConfirmation | `number` |
|
|
4184
4292
|
| totalDepositAmount | `string` |
|
|
@@ -4221,9 +4329,9 @@ Structure of GraphQLClient.IndexedRollupValidator
|
|
|
4221
4329
|
| revokedStake | `string` |
|
|
4222
4330
|
| availableStake | `string` |
|
|
4223
4331
|
| totalGain | `string` |
|
|
4224
|
-
| proposedBlockCount | `
|
|
4225
|
-
| verifiedBlockCount | `
|
|
4226
|
-
| latestBlockHeight | `
|
|
4332
|
+
| proposedBlockCount | `number` |
|
|
4333
|
+
| verifiedBlockCount | `number` |
|
|
4334
|
+
| latestBlockHeight | `number` |
|
|
4227
4335
|
| latestBlockHash | `string` |
|
|
4228
4336
|
| rollup | `string` |
|
|
4229
4337
|
|
|
@@ -4355,6 +4463,7 @@ Structure of GraphQLClient.IndexedTransaction
|
|
|
4355
4463
|
| code | `string` |
|
|
4356
4464
|
| tokenSymbols | `Array.<...GraphQLClient.TokenMeta>` |
|
|
4357
4465
|
| receipts | `Array.<...GraphQLClient.TransactionReceipt>` |
|
|
4466
|
+
| gasPayer | `string` |
|
|
4358
4467
|
|
|
4359
4468
|
### GraphQLClient.JoinRollupTx : `object`
|
|
4360
4469
|
|
|
@@ -4397,6 +4506,66 @@ Structure of GraphQLClient.LeaveRollupTx
|
|
|
4397
4506
|
| signatures | `Array.<...GraphQLClient.Multisig>` |
|
|
4398
4507
|
| ...data | [`Any`](#GraphQLClient.Any) |
|
|
4399
4508
|
|
|
4509
|
+
### GraphQLClient.LedgerCheckpoint : `object`
|
|
4510
|
+
|
|
4511
|
+
Structure of GraphQLClient.LedgerCheckpoint
|
|
4512
|
+
|
|
4513
|
+
**Kind**: static typedef of [`GraphQLClient`](#GraphQLClient)\
|
|
4514
|
+
**Properties**
|
|
4515
|
+
|
|
4516
|
+
| Name | Type |
|
|
4517
|
+
| -------------- | -------- |
|
|
4518
|
+
| height | `number` |
|
|
4519
|
+
| sequence | `number` |
|
|
4520
|
+
| prevSequence | `number` |
|
|
4521
|
+
| txRoot | `string` |
|
|
4522
|
+
| txCount | `number` |
|
|
4523
|
+
| stateRoot | `string` |
|
|
4524
|
+
| timestamp | `string` |
|
|
4525
|
+
| prevCheckpoint | `string` |
|
|
4526
|
+
| proposer | `string` |
|
|
4527
|
+
| hash | `string` |
|
|
4528
|
+
| signature | `string` |
|
|
4529
|
+
|
|
4530
|
+
### GraphQLClient.LedgerEntry : `object`
|
|
4531
|
+
|
|
4532
|
+
Structure of GraphQLClient.LedgerEntry
|
|
4533
|
+
|
|
4534
|
+
**Kind**: static typedef of [`GraphQLClient`](#GraphQLClient)\
|
|
4535
|
+
**Properties**
|
|
4536
|
+
|
|
4537
|
+
| Name | Type |
|
|
4538
|
+
| --------------- | --------- |
|
|
4539
|
+
| sequence | `number` |
|
|
4540
|
+
| hash | `string` |
|
|
4541
|
+
| from | `string` |
|
|
4542
|
+
| nonce | `string` |
|
|
4543
|
+
| pk | `string` |
|
|
4544
|
+
| signature | `string` |
|
|
4545
|
+
| txRaw | `string` |
|
|
4546
|
+
| tx | `object` |
|
|
4547
|
+
| txType | `string` |
|
|
4548
|
+
| timestamp | `string` |
|
|
4549
|
+
| chainId | `string` |
|
|
4550
|
+
| entryHash | `string` |
|
|
4551
|
+
| txExtra | `object` |
|
|
4552
|
+
| stateCommitHash | `string` |
|
|
4553
|
+
| finalized | `boolean` |
|
|
4554
|
+
|
|
4555
|
+
### GraphQLClient.LedgerMerkleProof : `object`
|
|
4556
|
+
|
|
4557
|
+
Structure of GraphQLClient.LedgerMerkleProof
|
|
4558
|
+
|
|
4559
|
+
**Kind**: static typedef of [`GraphQLClient`](#GraphQLClient)\
|
|
4560
|
+
**Properties**
|
|
4561
|
+
|
|
4562
|
+
| Name | Type |
|
|
4563
|
+
| ----- | ---------------- |
|
|
4564
|
+
| index | `number` |
|
|
4565
|
+
| leaf | `string` |
|
|
4566
|
+
| proof | `Array.<string>` |
|
|
4567
|
+
| root | `string` |
|
|
4568
|
+
|
|
4400
4569
|
### GraphQLClient.MigrateRollupTx : `object`
|
|
4401
4570
|
|
|
4402
4571
|
Structure of GraphQLClient.MigrateRollupTx
|
|
@@ -4471,6 +4640,7 @@ Structure of GraphQLClient.Multisig
|
|
|
4471
4640
|
| pk | `string` |
|
|
4472
4641
|
| signature | `string` |
|
|
4473
4642
|
| delegator | `string` |
|
|
4643
|
+
| extra | `string` |
|
|
4474
4644
|
| ...data | [`Any`](#GraphQLClient.Any) |
|
|
4475
4645
|
|
|
4476
4646
|
### GraphQLClient.NFTDisplay : `object`
|
|
@@ -4531,26 +4701,38 @@ Structure of GraphQLClient.NodeInfo
|
|
|
4531
4701
|
**Kind**: static typedef of [`GraphQLClient`](#GraphQLClient)\
|
|
4532
4702
|
**Properties**
|
|
4533
4703
|
|
|
4534
|
-
| Name | Type
|
|
4535
|
-
| ---------------- |
|
|
4536
|
-
| id | `string`
|
|
4537
|
-
| network | `string`
|
|
4538
|
-
| moniker | `string`
|
|
4539
|
-
| consensusVersion | `string`
|
|
4540
|
-
| synced | `boolean`
|
|
4541
|
-
| appHash | `string`
|
|
4542
|
-
| blockHash | `string`
|
|
4543
|
-
| blockHeight | `string`
|
|
4544
|
-
| blockTime | `string`
|
|
4545
|
-
| address | `string`
|
|
4546
|
-
| votingPower | `string`
|
|
4547
|
-
| totalTxs | `string`
|
|
4548
|
-
| version | `string`
|
|
4549
|
-
| forgeAppsVersion | `
|
|
4550
|
-
| supportedTxs | `Array.<string>`
|
|
4551
|
-
| ip | `string`
|
|
4552
|
-
| ...geoInfo | [`GeoInfo`](#GraphQLClient.GeoInfo)
|
|
4553
|
-
| p2pAddress | `string`
|
|
4704
|
+
| Name | Type |
|
|
4705
|
+
| ---------------- | ---------------------------------------------------------- |
|
|
4706
|
+
| id | `string` |
|
|
4707
|
+
| network | `string` |
|
|
4708
|
+
| moniker | `string` |
|
|
4709
|
+
| consensusVersion | `string` |
|
|
4710
|
+
| synced | `boolean` |
|
|
4711
|
+
| appHash | `string` |
|
|
4712
|
+
| blockHash | `string` |
|
|
4713
|
+
| blockHeight | `string` |
|
|
4714
|
+
| blockTime | `string` |
|
|
4715
|
+
| address | `string` |
|
|
4716
|
+
| votingPower | `string` |
|
|
4717
|
+
| totalTxs | `string` |
|
|
4718
|
+
| version | `string` |
|
|
4719
|
+
| forgeAppsVersion | `Array.<...GraphQLClient.NodeInfo\_ForgeAppsVersionEntry>` |
|
|
4720
|
+
| supportedTxs | `Array.<string>` |
|
|
4721
|
+
| ip | `string` |
|
|
4722
|
+
| ...geoInfo | [`GeoInfo`](#GraphQLClient.GeoInfo) |
|
|
4723
|
+
| p2pAddress | `string` |
|
|
4724
|
+
|
|
4725
|
+
### GraphQLClient.NodeInfo\_ForgeAppsVersionEntry : `object`
|
|
4726
|
+
|
|
4727
|
+
Structure of GraphQLClient.NodeInfo\_ForgeAppsVersionEntry
|
|
4728
|
+
|
|
4729
|
+
**Kind**: static typedef of [`GraphQLClient`](#GraphQLClient)\
|
|
4730
|
+
**Properties**
|
|
4731
|
+
|
|
4732
|
+
| Name | Type |
|
|
4733
|
+
| ----- | -------- |
|
|
4734
|
+
| key | `string` |
|
|
4735
|
+
| value | `string` |
|
|
4554
4736
|
|
|
4555
4737
|
### GraphQLClient.PageInfo : `object`
|
|
4556
4738
|
|
|
@@ -4638,8 +4820,8 @@ Structure of GraphQLClient.RateLimit
|
|
|
4638
4820
|
|
|
4639
4821
|
| Name | Type |
|
|
4640
4822
|
| -------- | -------- |
|
|
4641
|
-
| interval | `
|
|
4642
|
-
| anchor | `
|
|
4823
|
+
| interval | `number` |
|
|
4824
|
+
| anchor | `number` |
|
|
4643
4825
|
|
|
4644
4826
|
### GraphQLClient.ReceiptChange : `object`
|
|
4645
4827
|
|
|
@@ -4831,6 +5013,87 @@ Structure of GraphQLClient.ResponseGetForgeStats
|
|
|
4831
5013
|
| code | `string` |
|
|
4832
5014
|
| ...forgeStats | [`ForgeStats`](#GraphQLClient.ForgeStats) |
|
|
4833
5015
|
|
|
5016
|
+
### GraphQLClient.ResponseGetLatestCheckpoint : `object`
|
|
5017
|
+
|
|
5018
|
+
Structure of GraphQLClient.ResponseGetLatestCheckpoint
|
|
5019
|
+
|
|
5020
|
+
Checkout the following snippet for the format of ResponseGetLatestCheckpoint:
|
|
5021
|
+
|
|
5022
|
+
```json
|
|
5023
|
+
{
|
|
5024
|
+
"code": "abc",
|
|
5025
|
+
"checkpoint": {
|
|
5026
|
+
"height": 123,
|
|
5027
|
+
"sequence": 123,
|
|
5028
|
+
"prevSequence": 123,
|
|
5029
|
+
"txRoot": "abc",
|
|
5030
|
+
"txCount": 123,
|
|
5031
|
+
"stateRoot": "abc",
|
|
5032
|
+
"timestamp": "abc",
|
|
5033
|
+
"prevCheckpoint": "abc",
|
|
5034
|
+
"proposer": "abc",
|
|
5035
|
+
"hash": "abc",
|
|
5036
|
+
"signature": "abc"
|
|
5037
|
+
}
|
|
5038
|
+
}
|
|
5039
|
+
```
|
|
5040
|
+
|
|
5041
|
+
**Kind**: static typedef of [`GraphQLClient`](#GraphQLClient)\
|
|
5042
|
+
**Properties**
|
|
5043
|
+
|
|
5044
|
+
| Name | Type |
|
|
5045
|
+
| ------------- | ----------------------------------------------------- |
|
|
5046
|
+
| code | `string` |
|
|
5047
|
+
| ...checkpoint | [`LedgerCheckpoint`](#GraphQLClient.LedgerCheckpoint) |
|
|
5048
|
+
|
|
5049
|
+
### GraphQLClient.ResponseGetLedgerEntry : `object`
|
|
5050
|
+
|
|
5051
|
+
Structure of GraphQLClient.ResponseGetLedgerEntry
|
|
5052
|
+
|
|
5053
|
+
Checkout the following snippet for the format of ResponseGetLedgerEntry:
|
|
5054
|
+
|
|
5055
|
+
```json
|
|
5056
|
+
{
|
|
5057
|
+
"code": "abc",
|
|
5058
|
+
"entry": {
|
|
5059
|
+
"sequence": 123,
|
|
5060
|
+
"hash": "abc",
|
|
5061
|
+
"from": "abc",
|
|
5062
|
+
"nonce": "abc",
|
|
5063
|
+
"pk": "abc",
|
|
5064
|
+
"signature": "abc",
|
|
5065
|
+
"txRaw": "abc",
|
|
5066
|
+
"txType": "abc",
|
|
5067
|
+
"timestamp": "abc",
|
|
5068
|
+
"chainId": "abc",
|
|
5069
|
+
"entryHash": "abc",
|
|
5070
|
+
"stateCommitHash": "abc",
|
|
5071
|
+
"finalized": true
|
|
5072
|
+
}
|
|
5073
|
+
}
|
|
5074
|
+
```
|
|
5075
|
+
|
|
5076
|
+
**Kind**: static typedef of [`GraphQLClient`](#GraphQLClient)\
|
|
5077
|
+
**Properties**
|
|
5078
|
+
|
|
5079
|
+
| Name | Type |
|
|
5080
|
+
| -------- | ------------------------------------------- |
|
|
5081
|
+
| code | `string` |
|
|
5082
|
+
| ...entry | [`LedgerEntry`](#GraphQLClient.LedgerEntry) |
|
|
5083
|
+
|
|
5084
|
+
### GraphQLClient.ResponseGetMerkleProof : `object`
|
|
5085
|
+
|
|
5086
|
+
Structure of GraphQLClient.ResponseGetMerkleProof
|
|
5087
|
+
|
|
5088
|
+
**Kind**: static typedef of [`GraphQLClient`](#GraphQLClient)\
|
|
5089
|
+
**Properties**
|
|
5090
|
+
|
|
5091
|
+
| Name | Type |
|
|
5092
|
+
| ------------- | ------------------------------------------------------- |
|
|
5093
|
+
| code | `string` |
|
|
5094
|
+
| ...proof | [`LedgerMerkleProof`](#GraphQLClient.LedgerMerkleProof) |
|
|
5095
|
+
| ...checkpoint | [`LedgerCheckpoint`](#GraphQLClient.LedgerCheckpoint) |
|
|
5096
|
+
|
|
4834
5097
|
### GraphQLClient.ResponseGetNetInfo : `object`
|
|
4835
5098
|
|
|
4836
5099
|
Structure of GraphQLClient.ResponseGetNetInfo
|
|
@@ -5187,17 +5450,38 @@ Checkout the following snippet for the format of ResponseSendTx:
|
|
|
5187
5450
|
```json
|
|
5188
5451
|
{
|
|
5189
5452
|
"code": "abc",
|
|
5190
|
-
"hash": "abc"
|
|
5453
|
+
"hash": "abc",
|
|
5454
|
+
"warning": {
|
|
5455
|
+
"tier": "abc",
|
|
5456
|
+
"code": "abc",
|
|
5457
|
+
"message": "abc",
|
|
5458
|
+
"actor": "abc",
|
|
5459
|
+
"strikeCount": 123,
|
|
5460
|
+
"warningThreshold": 123,
|
|
5461
|
+
"throttleThreshold": 123,
|
|
5462
|
+
"slashThreshold": 123,
|
|
5463
|
+
"gasStakeQuotaRemaining": 123,
|
|
5464
|
+
"cooldownUntilMs": 123,
|
|
5465
|
+
"telemetry": {
|
|
5466
|
+
"loadRatio": 123,
|
|
5467
|
+
"remainingNormalQuota": 123,
|
|
5468
|
+
"currentGasMultiplier": 123,
|
|
5469
|
+
"nextTxEstimatedGas": "abc",
|
|
5470
|
+
"recommendedBackoffMs": 123,
|
|
5471
|
+
"stakeRequiredFor1x": "abc"
|
|
5472
|
+
}
|
|
5473
|
+
}
|
|
5191
5474
|
}
|
|
5192
5475
|
```
|
|
5193
5476
|
|
|
5194
5477
|
**Kind**: static typedef of [`GraphQLClient`](#GraphQLClient)\
|
|
5195
5478
|
**Properties**
|
|
5196
5479
|
|
|
5197
|
-
| Name
|
|
5198
|
-
|
|
|
5199
|
-
| code
|
|
5200
|
-
| hash
|
|
5480
|
+
| Name | Type |
|
|
5481
|
+
| ---------- | ------------------------------------------------------- |
|
|
5482
|
+
| code | `string` |
|
|
5483
|
+
| hash | `string` |
|
|
5484
|
+
| ...warning | [`TxSecurityWarning`](#GraphQLClient.TxSecurityWarning) |
|
|
5201
5485
|
|
|
5202
5486
|
### GraphQLClient.ResponseVerifyAccountRisk : `object`
|
|
5203
5487
|
|
|
@@ -5215,7 +5499,9 @@ Checkout the following snippet for the format of ResponseVerifyAccountRisk:
|
|
|
5215
5499
|
"address": "abc",
|
|
5216
5500
|
"balance": "abc",
|
|
5217
5501
|
"transferIn": "abc",
|
|
5218
|
-
"transferOut": "abc"
|
|
5502
|
+
"transferOut": "abc",
|
|
5503
|
+
"accountCount": 123,
|
|
5504
|
+
"txCount": 123
|
|
5219
5505
|
}
|
|
5220
5506
|
}
|
|
5221
5507
|
}
|
|
@@ -5304,7 +5590,7 @@ Structure of GraphQLClient.RollupBlock
|
|
|
5304
5590
|
| Name | Type |
|
|
5305
5591
|
| ------------ | --------------------------------------------- |
|
|
5306
5592
|
| hash | `string` |
|
|
5307
|
-
| height | `
|
|
5593
|
+
| height | `number` |
|
|
5308
5594
|
| merkleRoot | `string` |
|
|
5309
5595
|
| previousHash | `string` |
|
|
5310
5596
|
| txsHash | `string` |
|
|
@@ -5350,7 +5636,7 @@ Structure of GraphQLClient.RollupState
|
|
|
5350
5636
|
| publisherFeeShare | `number` |
|
|
5351
5637
|
| minDepositAmount | `string` |
|
|
5352
5638
|
| minWithdrawAmount | `string` |
|
|
5353
|
-
| blockHeight | `
|
|
5639
|
+
| blockHeight | `number` |
|
|
5354
5640
|
| blockHash | `string` |
|
|
5355
5641
|
| ...tokenInfo | [`IndexedTokenInput`](#GraphQLClient.IndexedTokenInput) |
|
|
5356
5642
|
| totalDepositAmount | `string` |
|
|
@@ -5557,20 +5843,30 @@ Structure of GraphQLClient.TokenLimit
|
|
|
5557
5843
|
**Kind**: static typedef of [`GraphQLClient`](#GraphQLClient)\
|
|
5558
5844
|
**Properties**
|
|
5559
5845
|
|
|
5560
|
-
| Name
|
|
5561
|
-
|
|
|
5562
|
-
| address
|
|
5563
|
-
| to
|
|
5564
|
-
| txCount
|
|
5565
|
-
| txAllowance
|
|
5566
|
-
| totalAllowance
|
|
5567
|
-
| validUntil
|
|
5568
|
-
| ...rate
|
|
5569
|
-
| txSent
|
|
5570
|
-
| spentAllowance
|
|
5571
|
-
| lastTx
|
|
5572
|
-
| decimal
|
|
5573
|
-
| symbol
|
|
5846
|
+
| Name | Type |
|
|
5847
|
+
| ------------------ | --------------------------------------- |
|
|
5848
|
+
| address | `string` |
|
|
5849
|
+
| to | `Array.<string>` |
|
|
5850
|
+
| txCount | `number` |
|
|
5851
|
+
| txAllowance | `string` |
|
|
5852
|
+
| totalAllowance | `string` |
|
|
5853
|
+
| validUntil | `number` |
|
|
5854
|
+
| ...rate | [`RateLimit`](#GraphQLClient.RateLimit) |
|
|
5855
|
+
| txSent | `number` |
|
|
5856
|
+
| spentAllowance | `string` |
|
|
5857
|
+
| lastTx | `number` |
|
|
5858
|
+
| decimal | `number` |
|
|
5859
|
+
| symbol | `string` |
|
|
5860
|
+
| maxPerTx | `string` |
|
|
5861
|
+
| windowLimit | `string` |
|
|
5862
|
+
| windowSeconds | `number` |
|
|
5863
|
+
| windowStart | `number` |
|
|
5864
|
+
| windowSpent | `string` |
|
|
5865
|
+
| coSignAllowance | `string` |
|
|
5866
|
+
| coSignRequired | `boolean` |
|
|
5867
|
+
| requirePinnedPayee | `boolean` |
|
|
5868
|
+
| notifyBeforeDebit | `boolean` |
|
|
5869
|
+
| notifyLeadSeconds | `number` |
|
|
5574
5870
|
|
|
5575
5871
|
### GraphQLClient.TokenMeta : `object`
|
|
5576
5872
|
|
|
@@ -5653,6 +5949,7 @@ Structure of GraphQLClient.Transaction
|
|
|
5653
5949
|
| serviceFee | `string` |
|
|
5654
5950
|
| gasFee | `string` |
|
|
5655
5951
|
| gasPaid | `string` |
|
|
5952
|
+
| gasPayer | `string` |
|
|
5656
5953
|
|
|
5657
5954
|
### GraphQLClient.TransactionConfig : `object`
|
|
5658
5955
|
|
|
@@ -5780,13 +6077,50 @@ Structure of GraphQLClient.TxGasConfig
|
|
|
5780
6077
|
|
|
5781
6078
|
| Name | Type |
|
|
5782
6079
|
| --------------- | -------- |
|
|
5783
|
-
| price | `
|
|
5784
|
-
| createState | `
|
|
5785
|
-
| updateState | `
|
|
5786
|
-
| dataStorage | `
|
|
6080
|
+
| price | `number` |
|
|
6081
|
+
| createState | `number` |
|
|
6082
|
+
| updateState | `number` |
|
|
6083
|
+
| dataStorage | `number` |
|
|
5787
6084
|
| minStake | `string` |
|
|
5788
6085
|
| maxStake | `string` |
|
|
5789
|
-
| stakeLockPeriod | `
|
|
6086
|
+
| stakeLockPeriod | `number` |
|
|
6087
|
+
|
|
6088
|
+
### GraphQLClient.TxGasQuotaTelemetry : `object`
|
|
6089
|
+
|
|
6090
|
+
Structure of GraphQLClient.TxGasQuotaTelemetry
|
|
6091
|
+
|
|
6092
|
+
**Kind**: static typedef of [`GraphQLClient`](#GraphQLClient)\
|
|
6093
|
+
**Properties**
|
|
6094
|
+
|
|
6095
|
+
| Name | Type |
|
|
6096
|
+
| -------------------- | -------- |
|
|
6097
|
+
| loadRatio | `number` |
|
|
6098
|
+
| remainingNormalQuota | `number` |
|
|
6099
|
+
| currentGasMultiplier | `number` |
|
|
6100
|
+
| nextTxEstimatedGas | `string` |
|
|
6101
|
+
| recommendedBackoffMs | `number` |
|
|
6102
|
+
| stakeRequiredFor1x | `string` |
|
|
6103
|
+
|
|
6104
|
+
### GraphQLClient.TxSecurityWarning : `object`
|
|
6105
|
+
|
|
6106
|
+
Structure of GraphQLClient.TxSecurityWarning
|
|
6107
|
+
|
|
6108
|
+
**Kind**: static typedef of [`GraphQLClient`](#GraphQLClient)\
|
|
6109
|
+
**Properties**
|
|
6110
|
+
|
|
6111
|
+
| Name | Type |
|
|
6112
|
+
| ---------------------- | ----------------------------------------------------------- |
|
|
6113
|
+
| tier | `string` |
|
|
6114
|
+
| code | `string` |
|
|
6115
|
+
| message | `string` |
|
|
6116
|
+
| actor | `string` |
|
|
6117
|
+
| strikeCount | `number` |
|
|
6118
|
+
| warningThreshold | `number` |
|
|
6119
|
+
| throttleThreshold | `number` |
|
|
6120
|
+
| slashThreshold | `number` |
|
|
6121
|
+
| gasStakeQuotaRemaining | `number` |
|
|
6122
|
+
| cooldownUntilMs | `number` |
|
|
6123
|
+
| ...telemetry | [`TxGasQuotaTelemetry`](#GraphQLClient.TxGasQuotaTelemetry) |
|
|
5790
6124
|
|
|
5791
6125
|
### GraphQLClient.TxStakeConfig : `object`
|
|
5792
6126
|
|
|
@@ -5798,7 +6132,8 @@ Structure of GraphQLClient.TxStakeConfig
|
|
|
5798
6132
|
| Name | Type |
|
|
5799
6133
|
| --------------------- | -------- |
|
|
5800
6134
|
| createToken | `string` |
|
|
5801
|
-
|
|
|
6135
|
+
| createCreditToken | `string` |
|
|
6136
|
+
| createTokenLockPeriod | `number` |
|
|
5802
6137
|
|
|
5803
6138
|
### GraphQLClient.UnconfirmedTxs : `object`
|
|
5804
6139
|
|
|
@@ -5850,6 +6185,15 @@ Checkout the following snippet for the format of UpdateRollupTx:
|
|
|
5850
6185
|
{
|
|
5851
6186
|
"minStakeAmount": "abc",
|
|
5852
6187
|
"maxStakeAmount": "abc",
|
|
6188
|
+
"minSignerCount": 123,
|
|
6189
|
+
"maxSignerCount": 123,
|
|
6190
|
+
"minBlockSize": 123,
|
|
6191
|
+
"maxBlockSize": 123,
|
|
6192
|
+
"minBlockInterval": 123,
|
|
6193
|
+
"minBlockConfirmation": 123,
|
|
6194
|
+
"depositFeeRate": 123,
|
|
6195
|
+
"withdrawFeeRate": 123,
|
|
6196
|
+
"proposerFeeShare": 123,
|
|
5853
6197
|
"minDepositAmount": "abc",
|
|
5854
6198
|
"minWithdrawAmount": "abc",
|
|
5855
6199
|
"maxDepositAmount": "abc",
|
|
@@ -5858,6 +6202,10 @@ Checkout the following snippet for the format of UpdateRollupTx:
|
|
|
5858
6202
|
"maxDepositFee": "abc",
|
|
5859
6203
|
"minWithdrawFee": "abc",
|
|
5860
6204
|
"maxWithdrawFee": "abc",
|
|
6205
|
+
"publisherFeeShare": 123,
|
|
6206
|
+
"leaveWaitingPeriod": 123,
|
|
6207
|
+
"publishWaitingPeriod": 123,
|
|
6208
|
+
"publishSlashRate": 123,
|
|
5861
6209
|
"rollup": "abc",
|
|
5862
6210
|
"data": {
|
|
5863
6211
|
"typeUrl": "abc",
|
|
@@ -5931,6 +6279,7 @@ Checkout the following snippet for the format of UpgradeNodeTx:
|
|
|
5931
6279
|
|
|
5932
6280
|
```json
|
|
5933
6281
|
{
|
|
6282
|
+
"height": 123,
|
|
5934
6283
|
"version": "abc",
|
|
5935
6284
|
"override": true
|
|
5936
6285
|
}
|
|
@@ -5941,7 +6290,7 @@ Checkout the following snippet for the format of UpgradeNodeTx:
|
|
|
5941
6290
|
|
|
5942
6291
|
| Name | Type |
|
|
5943
6292
|
| -------- | --------- |
|
|
5944
|
-
| height | `
|
|
6293
|
+
| height | `number` |
|
|
5945
6294
|
| version | `string` |
|
|
5946
6295
|
| override | `boolean` |
|
|
5947
6296
|
|
|
@@ -6074,8 +6423,8 @@ Structure of GraphQLClient.Version
|
|
|
6074
6423
|
|
|
6075
6424
|
| Name | Type |
|
|
6076
6425
|
| ----- | -------- |
|
|
6077
|
-
| block | `
|
|
6078
|
-
| app | `
|
|
6426
|
+
| block | `number` |
|
|
6427
|
+
| app | `number` |
|
|
6079
6428
|
|
|
6080
6429
|
### GraphQLClient.WalletType : `object`
|
|
6081
6430
|
|
|
@@ -6399,6 +6748,65 @@ Checkout the following snippet for the format of GetConfigParams:
|
|
|
6399
6748
|
| ------ | --------- |
|
|
6400
6749
|
| parsed | `boolean` |
|
|
6401
6750
|
|
|
6751
|
+
### GraphQLClient.GetLatestCheckpointParams : `object`
|
|
6752
|
+
|
|
6753
|
+
Structure of GraphQLClient.GetLatestCheckpointParams
|
|
6754
|
+
|
|
6755
|
+
Checkout the following snippet for the format of GetLatestCheckpointParams:
|
|
6756
|
+
|
|
6757
|
+
```json
|
|
6758
|
+
{
|
|
6759
|
+
"height": 123
|
|
6760
|
+
}
|
|
6761
|
+
```
|
|
6762
|
+
|
|
6763
|
+
**Kind**: static typedef of [`GraphQLClient`](#GraphQLClient)\
|
|
6764
|
+
**Properties**
|
|
6765
|
+
|
|
6766
|
+
| Name | Type |
|
|
6767
|
+
| ------ | -------- |
|
|
6768
|
+
| height | `number` |
|
|
6769
|
+
|
|
6770
|
+
### GraphQLClient.GetLedgerEntryParams : `object`
|
|
6771
|
+
|
|
6772
|
+
Structure of GraphQLClient.GetLedgerEntryParams
|
|
6773
|
+
|
|
6774
|
+
Checkout the following snippet for the format of GetLedgerEntryParams:
|
|
6775
|
+
|
|
6776
|
+
```json
|
|
6777
|
+
{
|
|
6778
|
+
"hash": "abc",
|
|
6779
|
+
"sequence": 123
|
|
6780
|
+
}
|
|
6781
|
+
```
|
|
6782
|
+
|
|
6783
|
+
**Kind**: static typedef of [`GraphQLClient`](#GraphQLClient)\
|
|
6784
|
+
**Properties**
|
|
6785
|
+
|
|
6786
|
+
| Name | Type |
|
|
6787
|
+
| -------- | -------- |
|
|
6788
|
+
| hash | `string` |
|
|
6789
|
+
| sequence | `number` |
|
|
6790
|
+
|
|
6791
|
+
### GraphQLClient.GetMerkleProofParams : `object`
|
|
6792
|
+
|
|
6793
|
+
Structure of GraphQLClient.GetMerkleProofParams
|
|
6794
|
+
|
|
6795
|
+
Checkout the following snippet for the format of GetMerkleProofParams:
|
|
6796
|
+
|
|
6797
|
+
```json
|
|
6798
|
+
{
|
|
6799
|
+
"sequence": 123
|
|
6800
|
+
}
|
|
6801
|
+
```
|
|
6802
|
+
|
|
6803
|
+
**Kind**: static typedef of [`GraphQLClient`](#GraphQLClient)\
|
|
6804
|
+
**Properties**
|
|
6805
|
+
|
|
6806
|
+
| Name | Type |
|
|
6807
|
+
| -------- | -------- |
|
|
6808
|
+
| sequence | `number` |
|
|
6809
|
+
|
|
6402
6810
|
### GraphQLClient.ListAssetTransactionsParams : `object`
|
|
6403
6811
|
|
|
6404
6812
|
Structure of GraphQLClient.ListAssetTransactionsParams
|