@ocap/client 1.30.25 → 1.31.0
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 +108 -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 +1099 -110
- package/dist/schema/graphql.txt +2 -2
- package/dist/types.js +263 -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 +175 -5
- package/docs/README.md +515 -111
- package/lib/base.js +1 -1
- package/lib/extension.js +15 -4
- package/lib/extension.js.map +1 -1
- package/lib/node.d.ts +108 -0
- package/lib/schema/graphql.json +1099 -110
- package/lib/schema/graphql.txt +2 -2
- package/lib/types.js +263 -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
|
|
@@ -2345,7 +2397,7 @@ Structure of GraphQLClient.RequestGetAccountStateInput
|
|
|
2345
2397
|
| -------------- | ---------------- |
|
|
2346
2398
|
| address | `string` |
|
|
2347
2399
|
| keys | `Array.<string>` |
|
|
2348
|
-
| height | `
|
|
2400
|
+
| height | `number` |
|
|
2349
2401
|
| traceMigration | `boolean` |
|
|
2350
2402
|
|
|
2351
2403
|
### GraphQLClient.RequestGetAccountTokensInput : `object`
|
|
@@ -2376,7 +2428,9 @@ Structure of GraphQLClient.RequestGetBlockInput
|
|
|
2376
2428
|
Checkout the following snippet for the format of RequestGetBlockInput:
|
|
2377
2429
|
|
|
2378
2430
|
```json
|
|
2379
|
-
{
|
|
2431
|
+
{
|
|
2432
|
+
"height": 123
|
|
2433
|
+
}
|
|
2380
2434
|
```
|
|
2381
2435
|
|
|
2382
2436
|
**Kind**: static typedef of [`GraphQLClient`](#GraphQLClient)\
|
|
@@ -2384,7 +2438,7 @@ Checkout the following snippet for the format of RequestGetBlockInput:
|
|
|
2384
2438
|
|
|
2385
2439
|
| Name | Type |
|
|
2386
2440
|
| ------ | -------- |
|
|
2387
|
-
| height | `
|
|
2441
|
+
| height | `number` |
|
|
2388
2442
|
|
|
2389
2443
|
### GraphQLClient.RequestGetBlocksInput : `object`
|
|
2390
2444
|
|
|
@@ -2454,6 +2508,7 @@ Checkout the following snippet for the format of RequestGetRollupBlockInput:
|
|
|
2454
2508
|
```json
|
|
2455
2509
|
{
|
|
2456
2510
|
"hash": "abc",
|
|
2511
|
+
"height": 123,
|
|
2457
2512
|
"rollupAddress": "abc"
|
|
2458
2513
|
}
|
|
2459
2514
|
```
|
|
@@ -2464,7 +2519,7 @@ Checkout the following snippet for the format of RequestGetRollupBlockInput:
|
|
|
2464
2519
|
| Name | Type |
|
|
2465
2520
|
| ------------- | -------- |
|
|
2466
2521
|
| hash | `string` |
|
|
2467
|
-
| height | `
|
|
2522
|
+
| height | `number` |
|
|
2468
2523
|
| rollupAddress | `string` |
|
|
2469
2524
|
|
|
2470
2525
|
### GraphQLClient.RequestGetStateInput : `object`
|
|
@@ -2478,7 +2533,7 @@ Structure of GraphQLClient.RequestGetStateInput
|
|
|
2478
2533
|
| ------- | ---------------- |
|
|
2479
2534
|
| address | `string` |
|
|
2480
2535
|
| keys | `Array.<string>` |
|
|
2481
|
-
| height | `
|
|
2536
|
+
| height | `number` |
|
|
2482
2537
|
|
|
2483
2538
|
### GraphQLClient.RequestGetTokenDistributionInput : `object`
|
|
2484
2539
|
|
|
@@ -2747,6 +2802,7 @@ Checkout the following snippet for the format of RequestListTokenFlowsInput:
|
|
|
2747
2802
|
{
|
|
2748
2803
|
"accountAddress": "abc",
|
|
2749
2804
|
"tokenAddress": "abc",
|
|
2805
|
+
"depth": 123,
|
|
2750
2806
|
"direction": "IN"
|
|
2751
2807
|
}
|
|
2752
2808
|
```
|
|
@@ -3229,10 +3285,10 @@ Structure of GraphQLClient.AssetLimit
|
|
|
3229
3285
|
| address | `Array.<string>` |
|
|
3230
3286
|
| to | `Array.<string>` |
|
|
3231
3287
|
| txCount | `number` |
|
|
3232
|
-
| validUntil | `
|
|
3288
|
+
| validUntil | `number` |
|
|
3233
3289
|
| ...rate | [`RateLimit`](#GraphQLClient.RateLimit) |
|
|
3234
3290
|
| txSent | `number` |
|
|
3235
|
-
| lastTx | `
|
|
3291
|
+
| lastTx | `number` |
|
|
3236
3292
|
|
|
3237
3293
|
### GraphQLClient.AssetState : `object`
|
|
3238
3294
|
|
|
@@ -3348,23 +3404,35 @@ Structure of GraphQLClient.ChainInfo
|
|
|
3348
3404
|
**Kind**: static typedef of [`GraphQLClient`](#GraphQLClient)\
|
|
3349
3405
|
**Properties**
|
|
3350
3406
|
|
|
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>`
|
|
3407
|
+
| Name | Type |
|
|
3408
|
+
| ---------------- | ----------------------------------------------------------- |
|
|
3409
|
+
| id | `string` |
|
|
3410
|
+
| network | `string` |
|
|
3411
|
+
| moniker | `string` |
|
|
3412
|
+
| consensusVersion | `string` |
|
|
3413
|
+
| synced | `boolean` |
|
|
3414
|
+
| appHash | `string` |
|
|
3415
|
+
| blockHash | `string` |
|
|
3416
|
+
| blockHeight | `string` |
|
|
3417
|
+
| blockTime | `string` |
|
|
3418
|
+
| address | `string` |
|
|
3419
|
+
| votingPower | `string` |
|
|
3420
|
+
| totalTxs | `string` |
|
|
3421
|
+
| version | `string` |
|
|
3422
|
+
| forgeAppsVersion | `Array.<...GraphQLClient.ChainInfo\_ForgeAppsVersionEntry>` |
|
|
3423
|
+
| supportedTxs | `Array.<string>` |
|
|
3424
|
+
|
|
3425
|
+
### GraphQLClient.ChainInfo\_ForgeAppsVersionEntry : `object`
|
|
3426
|
+
|
|
3427
|
+
Structure of GraphQLClient.ChainInfo\_ForgeAppsVersionEntry
|
|
3428
|
+
|
|
3429
|
+
**Kind**: static typedef of [`GraphQLClient`](#GraphQLClient)\
|
|
3430
|
+
**Properties**
|
|
3431
|
+
|
|
3432
|
+
| Name | Type |
|
|
3433
|
+
| ----- | -------- |
|
|
3434
|
+
| key | `string` |
|
|
3435
|
+
| value | `string` |
|
|
3368
3436
|
|
|
3369
3437
|
### GraphQLClient.ClaimBlockRewardTx : `object`
|
|
3370
3438
|
|
|
@@ -3375,6 +3443,7 @@ Checkout the following snippet for the format of ClaimBlockRewardTx:
|
|
|
3375
3443
|
```json
|
|
3376
3444
|
{
|
|
3377
3445
|
"rollup": "abc",
|
|
3446
|
+
"blockHeight": 123,
|
|
3378
3447
|
"blockHash": "abc",
|
|
3379
3448
|
"evidence": {
|
|
3380
3449
|
"hash": "abc"
|
|
@@ -3393,7 +3462,7 @@ Checkout the following snippet for the format of ClaimBlockRewardTx:
|
|
|
3393
3462
|
| Name | Type |
|
|
3394
3463
|
| ----------- | ------------------------------------- |
|
|
3395
3464
|
| rollup | `string` |
|
|
3396
|
-
| blockHeight | `
|
|
3465
|
+
| blockHeight | `number` |
|
|
3397
3466
|
| blockHash | `string` |
|
|
3398
3467
|
| ...evidence | [`Evidence`](#GraphQLClient.Evidence) |
|
|
3399
3468
|
| publisher | `string` |
|
|
@@ -3547,7 +3616,7 @@ Structure of GraphQLClient.CreateRollupBlockTx
|
|
|
3547
3616
|
| Name | Type |
|
|
3548
3617
|
| ------------ | ----------------------------------- |
|
|
3549
3618
|
| hash | `string` |
|
|
3550
|
-
| height | `
|
|
3619
|
+
| height | `number` |
|
|
3551
3620
|
| merkleRoot | `string` |
|
|
3552
3621
|
| previousHash | `string` |
|
|
3553
3622
|
| txsHash | `string` |
|
|
@@ -3700,10 +3769,11 @@ Structure of GraphQLClient.DelegateLimit
|
|
|
3700
3769
|
**Kind**: static typedef of [`GraphQLClient`](#GraphQLClient)\
|
|
3701
3770
|
**Properties**
|
|
3702
3771
|
|
|
3703
|
-
| Name
|
|
3704
|
-
|
|
|
3705
|
-
| tokens
|
|
3706
|
-
| assets
|
|
3772
|
+
| Name | Type |
|
|
3773
|
+
| --------- | ------------------------------------- |
|
|
3774
|
+
| tokens | `Array.<...GraphQLClient.TokenLimit>` |
|
|
3775
|
+
| assets | `Array.<...GraphQLClient.AssetLimit>` |
|
|
3776
|
+
| unlimited | `boolean` |
|
|
3707
3777
|
|
|
3708
3778
|
### GraphQLClient.DelegateOp : `object`
|
|
3709
3779
|
|
|
@@ -3728,8 +3798,8 @@ Structure of GraphQLClient.DelegateOpState
|
|
|
3728
3798
|
| Name | Type |
|
|
3729
3799
|
| ------------ | ----------------------------------------------- |
|
|
3730
3800
|
| rule | `string` |
|
|
3731
|
-
| numTxs | `
|
|
3732
|
-
| numTxsDelta | `
|
|
3801
|
+
| numTxs | `number` |
|
|
3802
|
+
| numTxsDelta | `number` |
|
|
3733
3803
|
| balance | `string` |
|
|
3734
3804
|
| balanceDelta | `string` |
|
|
3735
3805
|
| ...limit | [`DelegateLimit`](#GraphQLClient.DelegateLimit) |
|
|
@@ -3741,16 +3811,28 @@ Structure of GraphQLClient.DelegateState
|
|
|
3741
3811
|
**Kind**: static typedef of [`GraphQLClient`](#GraphQLClient)\
|
|
3742
3812
|
**Properties**
|
|
3743
3813
|
|
|
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)
|
|
3814
|
+
| Name | Type |
|
|
3815
|
+
| ---------- | -------------------------------------------------- |
|
|
3816
|
+
| address | `string` |
|
|
3817
|
+
| ops | `Array.<...GraphQLClient.DelegateState\_OpsEntry>` |
|
|
3818
|
+
| from | `string` |
|
|
3819
|
+
| to | `string` |
|
|
3820
|
+
| deny | `Array.<string>` |
|
|
3821
|
+
| validUntil | `number` |
|
|
3822
|
+
| ...context | [`StateContext`](#GraphQLClient.StateContext) |
|
|
3823
|
+
| ...data | [`Any`](#GraphQLClient.Any) |
|
|
3824
|
+
|
|
3825
|
+
### GraphQLClient.DelegateState\_OpsEntry : `object`
|
|
3826
|
+
|
|
3827
|
+
Structure of GraphQLClient.DelegateState\_OpsEntry
|
|
3828
|
+
|
|
3829
|
+
**Kind**: static typedef of [`GraphQLClient`](#GraphQLClient)\
|
|
3830
|
+
**Properties**
|
|
3831
|
+
|
|
3832
|
+
| Name | Type |
|
|
3833
|
+
| -------- | --------------------------------------------------- |
|
|
3834
|
+
| key | `string` |
|
|
3835
|
+
| ...value | [`DelegateOpState`](#GraphQLClient.DelegateOpState) |
|
|
3754
3836
|
|
|
3755
3837
|
### GraphQLClient.DelegateTx : `object`
|
|
3756
3838
|
|
|
@@ -3765,7 +3847,7 @@ Structure of GraphQLClient.DelegateTx
|
|
|
3765
3847
|
| to | `string` |
|
|
3766
3848
|
| ops | `Array.<...GraphQLClient.DelegateOp>` |
|
|
3767
3849
|
| deny | `Array.<string>` |
|
|
3768
|
-
| validUntil | `
|
|
3850
|
+
| validUntil | `number` |
|
|
3769
3851
|
| ...data | [`Any`](#GraphQLClient.Any) |
|
|
3770
3852
|
|
|
3771
3853
|
### GraphQLClient.DepositTokenV2Tx : `object`
|
|
@@ -3912,7 +3994,7 @@ Structure of GraphQLClient.ForgeState
|
|
|
3912
3994
|
| --------------- | ------------------------------------------------------- |
|
|
3913
3995
|
| address | `string` |
|
|
3914
3996
|
| ...consensus | [`ConsensusParams`](#GraphQLClient.ConsensusParams) |
|
|
3915
|
-
| tasks | `
|
|
3997
|
+
| tasks | `Array.<...GraphQLClient.ForgeState\_TasksEntry>` |
|
|
3916
3998
|
| version | `string` |
|
|
3917
3999
|
| ...token | [`ForgeToken`](#GraphQLClient.ForgeToken) |
|
|
3918
4000
|
| ...txConfig | [`TransactionConfig`](#GraphQLClient.TransactionConfig) |
|
|
@@ -3922,6 +4004,18 @@ Structure of GraphQLClient.ForgeState
|
|
|
3922
4004
|
| reservedSymbols | `Array.<string>` |
|
|
3923
4005
|
| ...data | [`Any`](#GraphQLClient.Any) |
|
|
3924
4006
|
|
|
4007
|
+
### GraphQLClient.ForgeState\_TasksEntry : `object`
|
|
4008
|
+
|
|
4009
|
+
Structure of GraphQLClient.ForgeState\_TasksEntry
|
|
4010
|
+
|
|
4011
|
+
**Kind**: static typedef of [`GraphQLClient`](#GraphQLClient)\
|
|
4012
|
+
**Properties**
|
|
4013
|
+
|
|
4014
|
+
| Name | Type |
|
|
4015
|
+
| -------- | --------------------------------------------- |
|
|
4016
|
+
| key | `number` |
|
|
4017
|
+
| ...value | [`UpgradeTasks`](#GraphQLClient.UpgradeTasks) |
|
|
4018
|
+
|
|
3925
4019
|
### GraphQLClient.ForgeStats : `object`
|
|
3926
4020
|
|
|
3927
4021
|
Structure of GraphQLClient.ForgeStats
|
|
@@ -4068,15 +4162,27 @@ Structure of GraphQLClient.IndexedDelegationState
|
|
|
4068
4162
|
**Kind**: static typedef of [`GraphQLClient`](#GraphQLClient)\
|
|
4069
4163
|
**Properties**
|
|
4070
4164
|
|
|
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)
|
|
4165
|
+
| Name | Type |
|
|
4166
|
+
| --------------- | ----------------------------------------------------------- |
|
|
4167
|
+
| address | `string` |
|
|
4168
|
+
| from | `string` |
|
|
4169
|
+
| to | `string` |
|
|
4170
|
+
| genesisTime | `string` |
|
|
4171
|
+
| renaissanceTime | `string` |
|
|
4172
|
+
| ops | `Array.<...GraphQLClient.IndexedDelegationState\_OpsEntry>` |
|
|
4173
|
+
| ...data | [`Any`](#GraphQLClient.Any) |
|
|
4174
|
+
|
|
4175
|
+
### GraphQLClient.IndexedDelegationState\_OpsEntry : `object`
|
|
4176
|
+
|
|
4177
|
+
Structure of GraphQLClient.IndexedDelegationState\_OpsEntry
|
|
4178
|
+
|
|
4179
|
+
**Kind**: static typedef of [`GraphQLClient`](#GraphQLClient)\
|
|
4180
|
+
**Properties**
|
|
4181
|
+
|
|
4182
|
+
| Name | Type |
|
|
4183
|
+
| -------- | --------------------------------------------------- |
|
|
4184
|
+
| key | `string` |
|
|
4185
|
+
| ...value | [`DelegateOpState`](#GraphQLClient.DelegateOpState) |
|
|
4080
4186
|
|
|
4081
4187
|
### GraphQLClient.IndexedFactoryInput : `object`
|
|
4082
4188
|
|
|
@@ -4130,7 +4236,7 @@ Structure of GraphQLClient.IndexedRollupBlock
|
|
|
4130
4236
|
| Name | Type |
|
|
4131
4237
|
| --------------- | ------------------------------------------------------- |
|
|
4132
4238
|
| hash | `string` |
|
|
4133
|
-
| height | `
|
|
4239
|
+
| height | `number` |
|
|
4134
4240
|
| merkleRoot | `string` |
|
|
4135
4241
|
| previousHash | `string` |
|
|
4136
4242
|
| txsHash | `string` |
|
|
@@ -4178,7 +4284,7 @@ Structure of GraphQLClient.IndexedRollupState
|
|
|
4178
4284
|
| proposerFeeShare | `number` |
|
|
4179
4285
|
| minDepositAmount | `string` |
|
|
4180
4286
|
| minWithdrawAmount | `string` |
|
|
4181
|
-
| blockHeight | `
|
|
4287
|
+
| blockHeight | `number` |
|
|
4182
4288
|
| blockHash | `string` |
|
|
4183
4289
|
| minBlockConfirmation | `number` |
|
|
4184
4290
|
| totalDepositAmount | `string` |
|
|
@@ -4221,9 +4327,9 @@ Structure of GraphQLClient.IndexedRollupValidator
|
|
|
4221
4327
|
| revokedStake | `string` |
|
|
4222
4328
|
| availableStake | `string` |
|
|
4223
4329
|
| totalGain | `string` |
|
|
4224
|
-
| proposedBlockCount | `
|
|
4225
|
-
| verifiedBlockCount | `
|
|
4226
|
-
| latestBlockHeight | `
|
|
4330
|
+
| proposedBlockCount | `number` |
|
|
4331
|
+
| verifiedBlockCount | `number` |
|
|
4332
|
+
| latestBlockHeight | `number` |
|
|
4227
4333
|
| latestBlockHash | `string` |
|
|
4228
4334
|
| rollup | `string` |
|
|
4229
4335
|
|
|
@@ -4397,6 +4503,66 @@ Structure of GraphQLClient.LeaveRollupTx
|
|
|
4397
4503
|
| signatures | `Array.<...GraphQLClient.Multisig>` |
|
|
4398
4504
|
| ...data | [`Any`](#GraphQLClient.Any) |
|
|
4399
4505
|
|
|
4506
|
+
### GraphQLClient.LedgerCheckpoint : `object`
|
|
4507
|
+
|
|
4508
|
+
Structure of GraphQLClient.LedgerCheckpoint
|
|
4509
|
+
|
|
4510
|
+
**Kind**: static typedef of [`GraphQLClient`](#GraphQLClient)\
|
|
4511
|
+
**Properties**
|
|
4512
|
+
|
|
4513
|
+
| Name | Type |
|
|
4514
|
+
| -------------- | -------- |
|
|
4515
|
+
| height | `number` |
|
|
4516
|
+
| sequence | `number` |
|
|
4517
|
+
| prevSequence | `number` |
|
|
4518
|
+
| txRoot | `string` |
|
|
4519
|
+
| txCount | `number` |
|
|
4520
|
+
| stateRoot | `string` |
|
|
4521
|
+
| timestamp | `string` |
|
|
4522
|
+
| prevCheckpoint | `string` |
|
|
4523
|
+
| proposer | `string` |
|
|
4524
|
+
| hash | `string` |
|
|
4525
|
+
| signature | `string` |
|
|
4526
|
+
|
|
4527
|
+
### GraphQLClient.LedgerEntry : `object`
|
|
4528
|
+
|
|
4529
|
+
Structure of GraphQLClient.LedgerEntry
|
|
4530
|
+
|
|
4531
|
+
**Kind**: static typedef of [`GraphQLClient`](#GraphQLClient)\
|
|
4532
|
+
**Properties**
|
|
4533
|
+
|
|
4534
|
+
| Name | Type |
|
|
4535
|
+
| --------------- | --------- |
|
|
4536
|
+
| sequence | `number` |
|
|
4537
|
+
| hash | `string` |
|
|
4538
|
+
| from | `string` |
|
|
4539
|
+
| nonce | `number` |
|
|
4540
|
+
| pk | `string` |
|
|
4541
|
+
| signature | `string` |
|
|
4542
|
+
| txRaw | `string` |
|
|
4543
|
+
| tx | `object` |
|
|
4544
|
+
| txType | `string` |
|
|
4545
|
+
| timestamp | `string` |
|
|
4546
|
+
| chainId | `string` |
|
|
4547
|
+
| entryHash | `string` |
|
|
4548
|
+
| txExtra | `object` |
|
|
4549
|
+
| stateCommitHash | `string` |
|
|
4550
|
+
| finalized | `boolean` |
|
|
4551
|
+
|
|
4552
|
+
### GraphQLClient.LedgerMerkleProof : `object`
|
|
4553
|
+
|
|
4554
|
+
Structure of GraphQLClient.LedgerMerkleProof
|
|
4555
|
+
|
|
4556
|
+
**Kind**: static typedef of [`GraphQLClient`](#GraphQLClient)\
|
|
4557
|
+
**Properties**
|
|
4558
|
+
|
|
4559
|
+
| Name | Type |
|
|
4560
|
+
| ----- | ---------------- |
|
|
4561
|
+
| index | `number` |
|
|
4562
|
+
| leaf | `string` |
|
|
4563
|
+
| proof | `Array.<string>` |
|
|
4564
|
+
| root | `string` |
|
|
4565
|
+
|
|
4400
4566
|
### GraphQLClient.MigrateRollupTx : `object`
|
|
4401
4567
|
|
|
4402
4568
|
Structure of GraphQLClient.MigrateRollupTx
|
|
@@ -4471,6 +4637,7 @@ Structure of GraphQLClient.Multisig
|
|
|
4471
4637
|
| pk | `string` |
|
|
4472
4638
|
| signature | `string` |
|
|
4473
4639
|
| delegator | `string` |
|
|
4640
|
+
| extra | `string` |
|
|
4474
4641
|
| ...data | [`Any`](#GraphQLClient.Any) |
|
|
4475
4642
|
|
|
4476
4643
|
### GraphQLClient.NFTDisplay : `object`
|
|
@@ -4531,26 +4698,38 @@ Structure of GraphQLClient.NodeInfo
|
|
|
4531
4698
|
**Kind**: static typedef of [`GraphQLClient`](#GraphQLClient)\
|
|
4532
4699
|
**Properties**
|
|
4533
4700
|
|
|
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`
|
|
4701
|
+
| Name | Type |
|
|
4702
|
+
| ---------------- | ---------------------------------------------------------- |
|
|
4703
|
+
| id | `string` |
|
|
4704
|
+
| network | `string` |
|
|
4705
|
+
| moniker | `string` |
|
|
4706
|
+
| consensusVersion | `string` |
|
|
4707
|
+
| synced | `boolean` |
|
|
4708
|
+
| appHash | `string` |
|
|
4709
|
+
| blockHash | `string` |
|
|
4710
|
+
| blockHeight | `string` |
|
|
4711
|
+
| blockTime | `string` |
|
|
4712
|
+
| address | `string` |
|
|
4713
|
+
| votingPower | `string` |
|
|
4714
|
+
| totalTxs | `string` |
|
|
4715
|
+
| version | `string` |
|
|
4716
|
+
| forgeAppsVersion | `Array.<...GraphQLClient.NodeInfo\_ForgeAppsVersionEntry>` |
|
|
4717
|
+
| supportedTxs | `Array.<string>` |
|
|
4718
|
+
| ip | `string` |
|
|
4719
|
+
| ...geoInfo | [`GeoInfo`](#GraphQLClient.GeoInfo) |
|
|
4720
|
+
| p2pAddress | `string` |
|
|
4721
|
+
|
|
4722
|
+
### GraphQLClient.NodeInfo\_ForgeAppsVersionEntry : `object`
|
|
4723
|
+
|
|
4724
|
+
Structure of GraphQLClient.NodeInfo\_ForgeAppsVersionEntry
|
|
4725
|
+
|
|
4726
|
+
**Kind**: static typedef of [`GraphQLClient`](#GraphQLClient)\
|
|
4727
|
+
**Properties**
|
|
4728
|
+
|
|
4729
|
+
| Name | Type |
|
|
4730
|
+
| ----- | -------- |
|
|
4731
|
+
| key | `string` |
|
|
4732
|
+
| value | `string` |
|
|
4554
4733
|
|
|
4555
4734
|
### GraphQLClient.PageInfo : `object`
|
|
4556
4735
|
|
|
@@ -4638,8 +4817,8 @@ Structure of GraphQLClient.RateLimit
|
|
|
4638
4817
|
|
|
4639
4818
|
| Name | Type |
|
|
4640
4819
|
| -------- | -------- |
|
|
4641
|
-
| interval | `
|
|
4642
|
-
| anchor | `
|
|
4820
|
+
| interval | `number` |
|
|
4821
|
+
| anchor | `number` |
|
|
4643
4822
|
|
|
4644
4823
|
### GraphQLClient.ReceiptChange : `object`
|
|
4645
4824
|
|
|
@@ -4831,6 +5010,87 @@ Structure of GraphQLClient.ResponseGetForgeStats
|
|
|
4831
5010
|
| code | `string` |
|
|
4832
5011
|
| ...forgeStats | [`ForgeStats`](#GraphQLClient.ForgeStats) |
|
|
4833
5012
|
|
|
5013
|
+
### GraphQLClient.ResponseGetLatestCheckpoint : `object`
|
|
5014
|
+
|
|
5015
|
+
Structure of GraphQLClient.ResponseGetLatestCheckpoint
|
|
5016
|
+
|
|
5017
|
+
Checkout the following snippet for the format of ResponseGetLatestCheckpoint:
|
|
5018
|
+
|
|
5019
|
+
```json
|
|
5020
|
+
{
|
|
5021
|
+
"code": "abc",
|
|
5022
|
+
"checkpoint": {
|
|
5023
|
+
"height": 123,
|
|
5024
|
+
"sequence": 123,
|
|
5025
|
+
"prevSequence": 123,
|
|
5026
|
+
"txRoot": "abc",
|
|
5027
|
+
"txCount": 123,
|
|
5028
|
+
"stateRoot": "abc",
|
|
5029
|
+
"timestamp": "abc",
|
|
5030
|
+
"prevCheckpoint": "abc",
|
|
5031
|
+
"proposer": "abc",
|
|
5032
|
+
"hash": "abc",
|
|
5033
|
+
"signature": "abc"
|
|
5034
|
+
}
|
|
5035
|
+
}
|
|
5036
|
+
```
|
|
5037
|
+
|
|
5038
|
+
**Kind**: static typedef of [`GraphQLClient`](#GraphQLClient)\
|
|
5039
|
+
**Properties**
|
|
5040
|
+
|
|
5041
|
+
| Name | Type |
|
|
5042
|
+
| ------------- | ----------------------------------------------------- |
|
|
5043
|
+
| code | `string` |
|
|
5044
|
+
| ...checkpoint | [`LedgerCheckpoint`](#GraphQLClient.LedgerCheckpoint) |
|
|
5045
|
+
|
|
5046
|
+
### GraphQLClient.ResponseGetLedgerEntry : `object`
|
|
5047
|
+
|
|
5048
|
+
Structure of GraphQLClient.ResponseGetLedgerEntry
|
|
5049
|
+
|
|
5050
|
+
Checkout the following snippet for the format of ResponseGetLedgerEntry:
|
|
5051
|
+
|
|
5052
|
+
```json
|
|
5053
|
+
{
|
|
5054
|
+
"code": "abc",
|
|
5055
|
+
"entry": {
|
|
5056
|
+
"sequence": 123,
|
|
5057
|
+
"hash": "abc",
|
|
5058
|
+
"from": "abc",
|
|
5059
|
+
"nonce": 123,
|
|
5060
|
+
"pk": "abc",
|
|
5061
|
+
"signature": "abc",
|
|
5062
|
+
"txRaw": "abc",
|
|
5063
|
+
"txType": "abc",
|
|
5064
|
+
"timestamp": "abc",
|
|
5065
|
+
"chainId": "abc",
|
|
5066
|
+
"entryHash": "abc",
|
|
5067
|
+
"stateCommitHash": "abc",
|
|
5068
|
+
"finalized": true
|
|
5069
|
+
}
|
|
5070
|
+
}
|
|
5071
|
+
```
|
|
5072
|
+
|
|
5073
|
+
**Kind**: static typedef of [`GraphQLClient`](#GraphQLClient)\
|
|
5074
|
+
**Properties**
|
|
5075
|
+
|
|
5076
|
+
| Name | Type |
|
|
5077
|
+
| -------- | ------------------------------------------- |
|
|
5078
|
+
| code | `string` |
|
|
5079
|
+
| ...entry | [`LedgerEntry`](#GraphQLClient.LedgerEntry) |
|
|
5080
|
+
|
|
5081
|
+
### GraphQLClient.ResponseGetMerkleProof : `object`
|
|
5082
|
+
|
|
5083
|
+
Structure of GraphQLClient.ResponseGetMerkleProof
|
|
5084
|
+
|
|
5085
|
+
**Kind**: static typedef of [`GraphQLClient`](#GraphQLClient)\
|
|
5086
|
+
**Properties**
|
|
5087
|
+
|
|
5088
|
+
| Name | Type |
|
|
5089
|
+
| ------------- | ------------------------------------------------------- |
|
|
5090
|
+
| code | `string` |
|
|
5091
|
+
| ...proof | [`LedgerMerkleProof`](#GraphQLClient.LedgerMerkleProof) |
|
|
5092
|
+
| ...checkpoint | [`LedgerCheckpoint`](#GraphQLClient.LedgerCheckpoint) |
|
|
5093
|
+
|
|
4834
5094
|
### GraphQLClient.ResponseGetNetInfo : `object`
|
|
4835
5095
|
|
|
4836
5096
|
Structure of GraphQLClient.ResponseGetNetInfo
|
|
@@ -5187,17 +5447,38 @@ Checkout the following snippet for the format of ResponseSendTx:
|
|
|
5187
5447
|
```json
|
|
5188
5448
|
{
|
|
5189
5449
|
"code": "abc",
|
|
5190
|
-
"hash": "abc"
|
|
5450
|
+
"hash": "abc",
|
|
5451
|
+
"warning": {
|
|
5452
|
+
"tier": "abc",
|
|
5453
|
+
"code": "abc",
|
|
5454
|
+
"message": "abc",
|
|
5455
|
+
"actor": "abc",
|
|
5456
|
+
"strikeCount": 123,
|
|
5457
|
+
"warningThreshold": 123,
|
|
5458
|
+
"throttleThreshold": 123,
|
|
5459
|
+
"slashThreshold": 123,
|
|
5460
|
+
"gasStakeQuotaRemaining": 123,
|
|
5461
|
+
"cooldownUntilMs": 123,
|
|
5462
|
+
"telemetry": {
|
|
5463
|
+
"loadRatio": 123,
|
|
5464
|
+
"remainingNormalQuota": 123,
|
|
5465
|
+
"currentGasMultiplier": 123,
|
|
5466
|
+
"nextTxEstimatedGas": "abc",
|
|
5467
|
+
"recommendedBackoffMs": 123,
|
|
5468
|
+
"stakeRequiredFor1x": "abc"
|
|
5469
|
+
}
|
|
5470
|
+
}
|
|
5191
5471
|
}
|
|
5192
5472
|
```
|
|
5193
5473
|
|
|
5194
5474
|
**Kind**: static typedef of [`GraphQLClient`](#GraphQLClient)\
|
|
5195
5475
|
**Properties**
|
|
5196
5476
|
|
|
5197
|
-
| Name
|
|
5198
|
-
|
|
|
5199
|
-
| code
|
|
5200
|
-
| hash
|
|
5477
|
+
| Name | Type |
|
|
5478
|
+
| ---------- | ------------------------------------------------------- |
|
|
5479
|
+
| code | `string` |
|
|
5480
|
+
| hash | `string` |
|
|
5481
|
+
| ...warning | [`TxSecurityWarning`](#GraphQLClient.TxSecurityWarning) |
|
|
5201
5482
|
|
|
5202
5483
|
### GraphQLClient.ResponseVerifyAccountRisk : `object`
|
|
5203
5484
|
|
|
@@ -5215,7 +5496,9 @@ Checkout the following snippet for the format of ResponseVerifyAccountRisk:
|
|
|
5215
5496
|
"address": "abc",
|
|
5216
5497
|
"balance": "abc",
|
|
5217
5498
|
"transferIn": "abc",
|
|
5218
|
-
"transferOut": "abc"
|
|
5499
|
+
"transferOut": "abc",
|
|
5500
|
+
"accountCount": 123,
|
|
5501
|
+
"txCount": 123
|
|
5219
5502
|
}
|
|
5220
5503
|
}
|
|
5221
5504
|
}
|
|
@@ -5304,7 +5587,7 @@ Structure of GraphQLClient.RollupBlock
|
|
|
5304
5587
|
| Name | Type |
|
|
5305
5588
|
| ------------ | --------------------------------------------- |
|
|
5306
5589
|
| hash | `string` |
|
|
5307
|
-
| height | `
|
|
5590
|
+
| height | `number` |
|
|
5308
5591
|
| merkleRoot | `string` |
|
|
5309
5592
|
| previousHash | `string` |
|
|
5310
5593
|
| txsHash | `string` |
|
|
@@ -5350,7 +5633,7 @@ Structure of GraphQLClient.RollupState
|
|
|
5350
5633
|
| publisherFeeShare | `number` |
|
|
5351
5634
|
| minDepositAmount | `string` |
|
|
5352
5635
|
| minWithdrawAmount | `string` |
|
|
5353
|
-
| blockHeight | `
|
|
5636
|
+
| blockHeight | `number` |
|
|
5354
5637
|
| blockHash | `string` |
|
|
5355
5638
|
| ...tokenInfo | [`IndexedTokenInput`](#GraphQLClient.IndexedTokenInput) |
|
|
5356
5639
|
| totalDepositAmount | `string` |
|
|
@@ -5557,20 +5840,30 @@ Structure of GraphQLClient.TokenLimit
|
|
|
5557
5840
|
**Kind**: static typedef of [`GraphQLClient`](#GraphQLClient)\
|
|
5558
5841
|
**Properties**
|
|
5559
5842
|
|
|
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
|
|
5843
|
+
| Name | Type |
|
|
5844
|
+
| ------------------ | --------------------------------------- |
|
|
5845
|
+
| address | `string` |
|
|
5846
|
+
| to | `Array.<string>` |
|
|
5847
|
+
| txCount | `number` |
|
|
5848
|
+
| txAllowance | `string` |
|
|
5849
|
+
| totalAllowance | `string` |
|
|
5850
|
+
| validUntil | `number` |
|
|
5851
|
+
| ...rate | [`RateLimit`](#GraphQLClient.RateLimit) |
|
|
5852
|
+
| txSent | `number` |
|
|
5853
|
+
| spentAllowance | `string` |
|
|
5854
|
+
| lastTx | `number` |
|
|
5855
|
+
| decimal | `number` |
|
|
5856
|
+
| symbol | `string` |
|
|
5857
|
+
| maxPerTx | `string` |
|
|
5858
|
+
| windowLimit | `string` |
|
|
5859
|
+
| windowSeconds | `number` |
|
|
5860
|
+
| windowStart | `number` |
|
|
5861
|
+
| windowSpent | `string` |
|
|
5862
|
+
| coSignAllowance | `string` |
|
|
5863
|
+
| coSignRequired | `boolean` |
|
|
5864
|
+
| requirePinnedPayee | `boolean` |
|
|
5865
|
+
| notifyBeforeDebit | `boolean` |
|
|
5866
|
+
| notifyLeadSeconds | `number` |
|
|
5574
5867
|
|
|
5575
5868
|
### GraphQLClient.TokenMeta : `object`
|
|
5576
5869
|
|
|
@@ -5780,13 +6073,50 @@ Structure of GraphQLClient.TxGasConfig
|
|
|
5780
6073
|
|
|
5781
6074
|
| Name | Type |
|
|
5782
6075
|
| --------------- | -------- |
|
|
5783
|
-
| price | `
|
|
5784
|
-
| createState | `
|
|
5785
|
-
| updateState | `
|
|
5786
|
-
| dataStorage | `
|
|
6076
|
+
| price | `number` |
|
|
6077
|
+
| createState | `number` |
|
|
6078
|
+
| updateState | `number` |
|
|
6079
|
+
| dataStorage | `number` |
|
|
5787
6080
|
| minStake | `string` |
|
|
5788
6081
|
| maxStake | `string` |
|
|
5789
|
-
| stakeLockPeriod | `
|
|
6082
|
+
| stakeLockPeriod | `number` |
|
|
6083
|
+
|
|
6084
|
+
### GraphQLClient.TxGasQuotaTelemetry : `object`
|
|
6085
|
+
|
|
6086
|
+
Structure of GraphQLClient.TxGasQuotaTelemetry
|
|
6087
|
+
|
|
6088
|
+
**Kind**: static typedef of [`GraphQLClient`](#GraphQLClient)\
|
|
6089
|
+
**Properties**
|
|
6090
|
+
|
|
6091
|
+
| Name | Type |
|
|
6092
|
+
| -------------------- | -------- |
|
|
6093
|
+
| loadRatio | `number` |
|
|
6094
|
+
| remainingNormalQuota | `number` |
|
|
6095
|
+
| currentGasMultiplier | `number` |
|
|
6096
|
+
| nextTxEstimatedGas | `string` |
|
|
6097
|
+
| recommendedBackoffMs | `number` |
|
|
6098
|
+
| stakeRequiredFor1x | `string` |
|
|
6099
|
+
|
|
6100
|
+
### GraphQLClient.TxSecurityWarning : `object`
|
|
6101
|
+
|
|
6102
|
+
Structure of GraphQLClient.TxSecurityWarning
|
|
6103
|
+
|
|
6104
|
+
**Kind**: static typedef of [`GraphQLClient`](#GraphQLClient)\
|
|
6105
|
+
**Properties**
|
|
6106
|
+
|
|
6107
|
+
| Name | Type |
|
|
6108
|
+
| ---------------------- | ----------------------------------------------------------- |
|
|
6109
|
+
| tier | `string` |
|
|
6110
|
+
| code | `string` |
|
|
6111
|
+
| message | `string` |
|
|
6112
|
+
| actor | `string` |
|
|
6113
|
+
| strikeCount | `number` |
|
|
6114
|
+
| warningThreshold | `number` |
|
|
6115
|
+
| throttleThreshold | `number` |
|
|
6116
|
+
| slashThreshold | `number` |
|
|
6117
|
+
| gasStakeQuotaRemaining | `number` |
|
|
6118
|
+
| cooldownUntilMs | `number` |
|
|
6119
|
+
| ...telemetry | [`TxGasQuotaTelemetry`](#GraphQLClient.TxGasQuotaTelemetry) |
|
|
5790
6120
|
|
|
5791
6121
|
### GraphQLClient.TxStakeConfig : `object`
|
|
5792
6122
|
|
|
@@ -5798,7 +6128,8 @@ Structure of GraphQLClient.TxStakeConfig
|
|
|
5798
6128
|
| Name | Type |
|
|
5799
6129
|
| --------------------- | -------- |
|
|
5800
6130
|
| createToken | `string` |
|
|
5801
|
-
|
|
|
6131
|
+
| createCreditToken | `string` |
|
|
6132
|
+
| createTokenLockPeriod | `number` |
|
|
5802
6133
|
|
|
5803
6134
|
### GraphQLClient.UnconfirmedTxs : `object`
|
|
5804
6135
|
|
|
@@ -5850,6 +6181,15 @@ Checkout the following snippet for the format of UpdateRollupTx:
|
|
|
5850
6181
|
{
|
|
5851
6182
|
"minStakeAmount": "abc",
|
|
5852
6183
|
"maxStakeAmount": "abc",
|
|
6184
|
+
"minSignerCount": 123,
|
|
6185
|
+
"maxSignerCount": 123,
|
|
6186
|
+
"minBlockSize": 123,
|
|
6187
|
+
"maxBlockSize": 123,
|
|
6188
|
+
"minBlockInterval": 123,
|
|
6189
|
+
"minBlockConfirmation": 123,
|
|
6190
|
+
"depositFeeRate": 123,
|
|
6191
|
+
"withdrawFeeRate": 123,
|
|
6192
|
+
"proposerFeeShare": 123,
|
|
5853
6193
|
"minDepositAmount": "abc",
|
|
5854
6194
|
"minWithdrawAmount": "abc",
|
|
5855
6195
|
"maxDepositAmount": "abc",
|
|
@@ -5858,6 +6198,10 @@ Checkout the following snippet for the format of UpdateRollupTx:
|
|
|
5858
6198
|
"maxDepositFee": "abc",
|
|
5859
6199
|
"minWithdrawFee": "abc",
|
|
5860
6200
|
"maxWithdrawFee": "abc",
|
|
6201
|
+
"publisherFeeShare": 123,
|
|
6202
|
+
"leaveWaitingPeriod": 123,
|
|
6203
|
+
"publishWaitingPeriod": 123,
|
|
6204
|
+
"publishSlashRate": 123,
|
|
5861
6205
|
"rollup": "abc",
|
|
5862
6206
|
"data": {
|
|
5863
6207
|
"typeUrl": "abc",
|
|
@@ -5931,6 +6275,7 @@ Checkout the following snippet for the format of UpgradeNodeTx:
|
|
|
5931
6275
|
|
|
5932
6276
|
```json
|
|
5933
6277
|
{
|
|
6278
|
+
"height": 123,
|
|
5934
6279
|
"version": "abc",
|
|
5935
6280
|
"override": true
|
|
5936
6281
|
}
|
|
@@ -5941,7 +6286,7 @@ Checkout the following snippet for the format of UpgradeNodeTx:
|
|
|
5941
6286
|
|
|
5942
6287
|
| Name | Type |
|
|
5943
6288
|
| -------- | --------- |
|
|
5944
|
-
| height | `
|
|
6289
|
+
| height | `number` |
|
|
5945
6290
|
| version | `string` |
|
|
5946
6291
|
| override | `boolean` |
|
|
5947
6292
|
|
|
@@ -6074,8 +6419,8 @@ Structure of GraphQLClient.Version
|
|
|
6074
6419
|
|
|
6075
6420
|
| Name | Type |
|
|
6076
6421
|
| ----- | -------- |
|
|
6077
|
-
| block | `
|
|
6078
|
-
| app | `
|
|
6422
|
+
| block | `number` |
|
|
6423
|
+
| app | `number` |
|
|
6079
6424
|
|
|
6080
6425
|
### GraphQLClient.WalletType : `object`
|
|
6081
6426
|
|
|
@@ -6399,6 +6744,65 @@ Checkout the following snippet for the format of GetConfigParams:
|
|
|
6399
6744
|
| ------ | --------- |
|
|
6400
6745
|
| parsed | `boolean` |
|
|
6401
6746
|
|
|
6747
|
+
### GraphQLClient.GetLatestCheckpointParams : `object`
|
|
6748
|
+
|
|
6749
|
+
Structure of GraphQLClient.GetLatestCheckpointParams
|
|
6750
|
+
|
|
6751
|
+
Checkout the following snippet for the format of GetLatestCheckpointParams:
|
|
6752
|
+
|
|
6753
|
+
```json
|
|
6754
|
+
{
|
|
6755
|
+
"height": 123
|
|
6756
|
+
}
|
|
6757
|
+
```
|
|
6758
|
+
|
|
6759
|
+
**Kind**: static typedef of [`GraphQLClient`](#GraphQLClient)\
|
|
6760
|
+
**Properties**
|
|
6761
|
+
|
|
6762
|
+
| Name | Type |
|
|
6763
|
+
| ------ | -------- |
|
|
6764
|
+
| height | `number` |
|
|
6765
|
+
|
|
6766
|
+
### GraphQLClient.GetLedgerEntryParams : `object`
|
|
6767
|
+
|
|
6768
|
+
Structure of GraphQLClient.GetLedgerEntryParams
|
|
6769
|
+
|
|
6770
|
+
Checkout the following snippet for the format of GetLedgerEntryParams:
|
|
6771
|
+
|
|
6772
|
+
```json
|
|
6773
|
+
{
|
|
6774
|
+
"hash": "abc",
|
|
6775
|
+
"sequence": 123
|
|
6776
|
+
}
|
|
6777
|
+
```
|
|
6778
|
+
|
|
6779
|
+
**Kind**: static typedef of [`GraphQLClient`](#GraphQLClient)\
|
|
6780
|
+
**Properties**
|
|
6781
|
+
|
|
6782
|
+
| Name | Type |
|
|
6783
|
+
| -------- | -------- |
|
|
6784
|
+
| hash | `string` |
|
|
6785
|
+
| sequence | `number` |
|
|
6786
|
+
|
|
6787
|
+
### GraphQLClient.GetMerkleProofParams : `object`
|
|
6788
|
+
|
|
6789
|
+
Structure of GraphQLClient.GetMerkleProofParams
|
|
6790
|
+
|
|
6791
|
+
Checkout the following snippet for the format of GetMerkleProofParams:
|
|
6792
|
+
|
|
6793
|
+
```json
|
|
6794
|
+
{
|
|
6795
|
+
"sequence": 123
|
|
6796
|
+
}
|
|
6797
|
+
```
|
|
6798
|
+
|
|
6799
|
+
**Kind**: static typedef of [`GraphQLClient`](#GraphQLClient)\
|
|
6800
|
+
**Properties**
|
|
6801
|
+
|
|
6802
|
+
| Name | Type |
|
|
6803
|
+
| -------- | -------- |
|
|
6804
|
+
| sequence | `number` |
|
|
6805
|
+
|
|
6402
6806
|
### GraphQLClient.ListAssetTransactionsParams : `object`
|
|
6403
6807
|
|
|
6404
6808
|
Structure of GraphQLClient.ListAssetTransactionsParams
|