@ocap/client 1.14.4 → 1.14.8

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/lib/node.d.ts CHANGED
@@ -285,6 +285,7 @@ declare class GraphQLClient {
285
285
  getNetInfo(): GraphQLClient.QueryResult<GraphQLClient.ResponseGetNetInfo>;
286
286
  getNodeInfo(): GraphQLClient.QueryResult<GraphQLClient.ResponseGetNodeInfo>;
287
287
  getValidatorsInfo(): GraphQLClient.QueryResult<GraphQLClient.ResponseGetValidatorsInfo>;
288
+ getForgeStats(): GraphQLClient.QueryResult<GraphQLClient.ResponseGetForgeStats>;
288
289
  listAssetTransactions(
289
290
  params: GraphQLClient.ListAssetTransactionsParams
290
291
  ): GraphQLClient.QueryResult<GraphQLClient.ResponseListAssetTransactions>;
@@ -1030,6 +1031,28 @@ declare namespace GraphQLClient {
1030
1031
  value: GraphQLClient.UpgradeTasks;
1031
1032
  }
1032
1033
 
1034
+ export interface ForgeStats {
1035
+ numBlocks: Array<null>;
1036
+ numTxs: Array<null>;
1037
+ numStakes: Array<null>;
1038
+ numValidators: Array<null>;
1039
+ numAccountMigrateTxs: Array<null>;
1040
+ numCreateAssetTxs: Array<null>;
1041
+ numConsensusUpgradeTxs: Array<null>;
1042
+ numDeclareTxs: Array<null>;
1043
+ numDeclareFileTxs: Array<null>;
1044
+ numExchangeTxs: Array<null>;
1045
+ numStakeTxs: Array<null>;
1046
+ numSysUpgradeTxs: Array<null>;
1047
+ numTransferTxs: Array<null>;
1048
+ numUpdateAssetTxs: Array<null>;
1049
+ numConsumeAssetTxs: Array<null>;
1050
+ tps: Array<null>;
1051
+ maxTps: number;
1052
+ avgTps: number;
1053
+ avgBlockTime: number;
1054
+ }
1055
+
1033
1056
  export interface ForgeToken {
1034
1057
  name: string;
1035
1058
  symbol: string;
@@ -1080,6 +1103,9 @@ declare namespace GraphQLClient {
1080
1103
  parent: string;
1081
1104
  transferrable: boolean;
1082
1105
  ttl: string;
1106
+ display: GraphQLClient.NFTDisplay;
1107
+ endpoint: GraphQLClient.NFTEndpoint;
1108
+ tags: Array<null>;
1083
1109
  data: GraphQLClient.Any;
1084
1110
  }
1085
1111
 
@@ -1446,6 +1472,11 @@ declare namespace GraphQLClient {
1446
1472
  state: GraphQLClient.ForgeState;
1447
1473
  }
1448
1474
 
1475
+ export interface ResponseGetForgeStats {
1476
+ code: string;
1477
+ forgeStats: GraphQLClient.ForgeStats;
1478
+ }
1479
+
1449
1480
  export interface ResponseGetNetInfo {
1450
1481
  code: string;
1451
1482
  netInfo: GraphQLClient.NetInfo;
@@ -442,6 +442,18 @@
442
442
  "isDeprecated": false,
443
443
  "deprecationReason": null
444
444
  },
445
+ {
446
+ "name": "getForgeStats",
447
+ "description": null,
448
+ "args": [],
449
+ "type": {
450
+ "kind": "OBJECT",
451
+ "name": "ResponseGetForgeStats",
452
+ "ofType": null
453
+ },
454
+ "isDeprecated": false,
455
+ "deprecationReason": null
456
+ },
445
457
  {
446
458
  "name": "listAssetTransactions",
447
459
  "description": null,
@@ -7092,6 +7104,408 @@
7092
7104
  "enumValues": null,
7093
7105
  "possibleTypes": null
7094
7106
  },
7107
+ {
7108
+ "kind": "OBJECT",
7109
+ "name": "ResponseGetForgeStats",
7110
+ "description": null,
7111
+ "fields": [
7112
+ {
7113
+ "name": "code",
7114
+ "description": null,
7115
+ "args": [],
7116
+ "type": {
7117
+ "kind": "SCALAR",
7118
+ "name": "String",
7119
+ "ofType": null
7120
+ },
7121
+ "isDeprecated": false,
7122
+ "deprecationReason": null
7123
+ },
7124
+ {
7125
+ "name": "forgeStats",
7126
+ "description": null,
7127
+ "args": [],
7128
+ "type": {
7129
+ "kind": "OBJECT",
7130
+ "name": "ForgeStats",
7131
+ "ofType": null
7132
+ },
7133
+ "isDeprecated": false,
7134
+ "deprecationReason": null
7135
+ }
7136
+ ],
7137
+ "inputFields": null,
7138
+ "interfaces": [],
7139
+ "enumValues": null,
7140
+ "possibleTypes": null
7141
+ },
7142
+ {
7143
+ "kind": "OBJECT",
7144
+ "name": "ForgeStats",
7145
+ "description": null,
7146
+ "fields": [
7147
+ {
7148
+ "name": "numBlocks",
7149
+ "description": null,
7150
+ "args": [],
7151
+ "type": {
7152
+ "kind": "LIST",
7153
+ "name": null,
7154
+ "ofType": {
7155
+ "kind": "NON_NULL",
7156
+ "name": null,
7157
+ "ofType": {
7158
+ "kind": "SCALAR",
7159
+ "name": "String",
7160
+ "ofType": null
7161
+ }
7162
+ }
7163
+ },
7164
+ "isDeprecated": false,
7165
+ "deprecationReason": null
7166
+ },
7167
+ {
7168
+ "name": "numTxs",
7169
+ "description": null,
7170
+ "args": [],
7171
+ "type": {
7172
+ "kind": "LIST",
7173
+ "name": null,
7174
+ "ofType": {
7175
+ "kind": "NON_NULL",
7176
+ "name": null,
7177
+ "ofType": {
7178
+ "kind": "SCALAR",
7179
+ "name": "String",
7180
+ "ofType": null
7181
+ }
7182
+ }
7183
+ },
7184
+ "isDeprecated": false,
7185
+ "deprecationReason": null
7186
+ },
7187
+ {
7188
+ "name": "numStakes",
7189
+ "description": null,
7190
+ "args": [],
7191
+ "type": {
7192
+ "kind": "LIST",
7193
+ "name": null,
7194
+ "ofType": {
7195
+ "kind": "NON_NULL",
7196
+ "name": null,
7197
+ "ofType": {
7198
+ "kind": "SCALAR",
7199
+ "name": "String",
7200
+ "ofType": null
7201
+ }
7202
+ }
7203
+ },
7204
+ "isDeprecated": false,
7205
+ "deprecationReason": null
7206
+ },
7207
+ {
7208
+ "name": "numValidators",
7209
+ "description": null,
7210
+ "args": [],
7211
+ "type": {
7212
+ "kind": "LIST",
7213
+ "name": null,
7214
+ "ofType": {
7215
+ "kind": "NON_NULL",
7216
+ "name": null,
7217
+ "ofType": {
7218
+ "kind": "SCALAR",
7219
+ "name": "Int",
7220
+ "ofType": null
7221
+ }
7222
+ }
7223
+ },
7224
+ "isDeprecated": false,
7225
+ "deprecationReason": null
7226
+ },
7227
+ {
7228
+ "name": "numAccountMigrateTxs",
7229
+ "description": null,
7230
+ "args": [],
7231
+ "type": {
7232
+ "kind": "LIST",
7233
+ "name": null,
7234
+ "ofType": {
7235
+ "kind": "NON_NULL",
7236
+ "name": null,
7237
+ "ofType": {
7238
+ "kind": "SCALAR",
7239
+ "name": "String",
7240
+ "ofType": null
7241
+ }
7242
+ }
7243
+ },
7244
+ "isDeprecated": false,
7245
+ "deprecationReason": null
7246
+ },
7247
+ {
7248
+ "name": "numCreateAssetTxs",
7249
+ "description": null,
7250
+ "args": [],
7251
+ "type": {
7252
+ "kind": "LIST",
7253
+ "name": null,
7254
+ "ofType": {
7255
+ "kind": "NON_NULL",
7256
+ "name": null,
7257
+ "ofType": {
7258
+ "kind": "SCALAR",
7259
+ "name": "String",
7260
+ "ofType": null
7261
+ }
7262
+ }
7263
+ },
7264
+ "isDeprecated": false,
7265
+ "deprecationReason": null
7266
+ },
7267
+ {
7268
+ "name": "numConsensusUpgradeTxs",
7269
+ "description": null,
7270
+ "args": [],
7271
+ "type": {
7272
+ "kind": "LIST",
7273
+ "name": null,
7274
+ "ofType": {
7275
+ "kind": "NON_NULL",
7276
+ "name": null,
7277
+ "ofType": {
7278
+ "kind": "SCALAR",
7279
+ "name": "Int",
7280
+ "ofType": null
7281
+ }
7282
+ }
7283
+ },
7284
+ "isDeprecated": false,
7285
+ "deprecationReason": null
7286
+ },
7287
+ {
7288
+ "name": "numDeclareTxs",
7289
+ "description": null,
7290
+ "args": [],
7291
+ "type": {
7292
+ "kind": "LIST",
7293
+ "name": null,
7294
+ "ofType": {
7295
+ "kind": "NON_NULL",
7296
+ "name": null,
7297
+ "ofType": {
7298
+ "kind": "SCALAR",
7299
+ "name": "String",
7300
+ "ofType": null
7301
+ }
7302
+ }
7303
+ },
7304
+ "isDeprecated": false,
7305
+ "deprecationReason": null
7306
+ },
7307
+ {
7308
+ "name": "numDeclareFileTxs",
7309
+ "description": null,
7310
+ "args": [],
7311
+ "type": {
7312
+ "kind": "LIST",
7313
+ "name": null,
7314
+ "ofType": {
7315
+ "kind": "NON_NULL",
7316
+ "name": null,
7317
+ "ofType": {
7318
+ "kind": "SCALAR",
7319
+ "name": "String",
7320
+ "ofType": null
7321
+ }
7322
+ }
7323
+ },
7324
+ "isDeprecated": false,
7325
+ "deprecationReason": null
7326
+ },
7327
+ {
7328
+ "name": "numExchangeTxs",
7329
+ "description": null,
7330
+ "args": [],
7331
+ "type": {
7332
+ "kind": "LIST",
7333
+ "name": null,
7334
+ "ofType": {
7335
+ "kind": "NON_NULL",
7336
+ "name": null,
7337
+ "ofType": {
7338
+ "kind": "SCALAR",
7339
+ "name": "String",
7340
+ "ofType": null
7341
+ }
7342
+ }
7343
+ },
7344
+ "isDeprecated": false,
7345
+ "deprecationReason": null
7346
+ },
7347
+ {
7348
+ "name": "numStakeTxs",
7349
+ "description": null,
7350
+ "args": [],
7351
+ "type": {
7352
+ "kind": "LIST",
7353
+ "name": null,
7354
+ "ofType": {
7355
+ "kind": "NON_NULL",
7356
+ "name": null,
7357
+ "ofType": {
7358
+ "kind": "SCALAR",
7359
+ "name": "String",
7360
+ "ofType": null
7361
+ }
7362
+ }
7363
+ },
7364
+ "isDeprecated": false,
7365
+ "deprecationReason": null
7366
+ },
7367
+ {
7368
+ "name": "numSysUpgradeTxs",
7369
+ "description": null,
7370
+ "args": [],
7371
+ "type": {
7372
+ "kind": "LIST",
7373
+ "name": null,
7374
+ "ofType": {
7375
+ "kind": "NON_NULL",
7376
+ "name": null,
7377
+ "ofType": {
7378
+ "kind": "SCALAR",
7379
+ "name": "Int",
7380
+ "ofType": null
7381
+ }
7382
+ }
7383
+ },
7384
+ "isDeprecated": false,
7385
+ "deprecationReason": null
7386
+ },
7387
+ {
7388
+ "name": "numTransferTxs",
7389
+ "description": null,
7390
+ "args": [],
7391
+ "type": {
7392
+ "kind": "LIST",
7393
+ "name": null,
7394
+ "ofType": {
7395
+ "kind": "NON_NULL",
7396
+ "name": null,
7397
+ "ofType": {
7398
+ "kind": "SCALAR",
7399
+ "name": "String",
7400
+ "ofType": null
7401
+ }
7402
+ }
7403
+ },
7404
+ "isDeprecated": false,
7405
+ "deprecationReason": null
7406
+ },
7407
+ {
7408
+ "name": "numUpdateAssetTxs",
7409
+ "description": null,
7410
+ "args": [],
7411
+ "type": {
7412
+ "kind": "LIST",
7413
+ "name": null,
7414
+ "ofType": {
7415
+ "kind": "NON_NULL",
7416
+ "name": null,
7417
+ "ofType": {
7418
+ "kind": "SCALAR",
7419
+ "name": "String",
7420
+ "ofType": null
7421
+ }
7422
+ }
7423
+ },
7424
+ "isDeprecated": false,
7425
+ "deprecationReason": null
7426
+ },
7427
+ {
7428
+ "name": "numConsumeAssetTxs",
7429
+ "description": null,
7430
+ "args": [],
7431
+ "type": {
7432
+ "kind": "LIST",
7433
+ "name": null,
7434
+ "ofType": {
7435
+ "kind": "NON_NULL",
7436
+ "name": null,
7437
+ "ofType": {
7438
+ "kind": "SCALAR",
7439
+ "name": "String",
7440
+ "ofType": null
7441
+ }
7442
+ }
7443
+ },
7444
+ "isDeprecated": false,
7445
+ "deprecationReason": null
7446
+ },
7447
+ {
7448
+ "name": "tps",
7449
+ "description": null,
7450
+ "args": [],
7451
+ "type": {
7452
+ "kind": "LIST",
7453
+ "name": null,
7454
+ "ofType": {
7455
+ "kind": "NON_NULL",
7456
+ "name": null,
7457
+ "ofType": {
7458
+ "kind": "SCALAR",
7459
+ "name": "Int",
7460
+ "ofType": null
7461
+ }
7462
+ }
7463
+ },
7464
+ "isDeprecated": false,
7465
+ "deprecationReason": null
7466
+ },
7467
+ {
7468
+ "name": "maxTps",
7469
+ "description": null,
7470
+ "args": [],
7471
+ "type": {
7472
+ "kind": "SCALAR",
7473
+ "name": "Int",
7474
+ "ofType": null
7475
+ },
7476
+ "isDeprecated": false,
7477
+ "deprecationReason": null
7478
+ },
7479
+ {
7480
+ "name": "avgTps",
7481
+ "description": null,
7482
+ "args": [],
7483
+ "type": {
7484
+ "kind": "SCALAR",
7485
+ "name": "Int",
7486
+ "ofType": null
7487
+ },
7488
+ "isDeprecated": false,
7489
+ "deprecationReason": null
7490
+ },
7491
+ {
7492
+ "name": "avgBlockTime",
7493
+ "description": null,
7494
+ "args": [],
7495
+ "type": {
7496
+ "kind": "SCALAR",
7497
+ "name": "Float",
7498
+ "ofType": null
7499
+ },
7500
+ "isDeprecated": false,
7501
+ "deprecationReason": null
7502
+ }
7503
+ ],
7504
+ "inputFields": null,
7505
+ "interfaces": [],
7506
+ "enumValues": null,
7507
+ "possibleTypes": null
7508
+ },
7095
7509
  {
7096
7510
  "kind": "OBJECT",
7097
7511
  "name": "ResponseListAssetTransactions",
@@ -7527,6 +7941,50 @@
7527
7941
  "isDeprecated": false,
7528
7942
  "deprecationReason": null
7529
7943
  },
7944
+ {
7945
+ "name": "display",
7946
+ "description": null,
7947
+ "args": [],
7948
+ "type": {
7949
+ "kind": "OBJECT",
7950
+ "name": "NFTDisplay",
7951
+ "ofType": null
7952
+ },
7953
+ "isDeprecated": false,
7954
+ "deprecationReason": null
7955
+ },
7956
+ {
7957
+ "name": "endpoint",
7958
+ "description": null,
7959
+ "args": [],
7960
+ "type": {
7961
+ "kind": "OBJECT",
7962
+ "name": "NFTEndpoint",
7963
+ "ofType": null
7964
+ },
7965
+ "isDeprecated": false,
7966
+ "deprecationReason": null
7967
+ },
7968
+ {
7969
+ "name": "tags",
7970
+ "description": null,
7971
+ "args": [],
7972
+ "type": {
7973
+ "kind": "LIST",
7974
+ "name": null,
7975
+ "ofType": {
7976
+ "kind": "NON_NULL",
7977
+ "name": null,
7978
+ "ofType": {
7979
+ "kind": "SCALAR",
7980
+ "name": "String",
7981
+ "ofType": null
7982
+ }
7983
+ }
7984
+ },
7985
+ "isDeprecated": false,
7986
+ "deprecationReason": null
7987
+ },
7530
7988
  {
7531
7989
  "name": "data",
7532
7990
  "description": null,