@aeternity/aepp-sdk 14.1.1 → 15.0.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.
Files changed (82) hide show
  1. package/dist/aepp-sdk.browser-script.cjs +1 -1
  2. package/dist/aepp-sdk.browser-script.cjs.map +1 -1
  3. package/dist/aepp-sdk.browser.cjs +1 -1
  4. package/dist/aepp-sdk.browser.cjs.map +1 -1
  5. package/dist/aepp-sdk.cjs +3068 -502
  6. package/dist/aepp-sdk.cjs.map +1 -1
  7. package/es/account/Base.d.ts +6 -1
  8. package/es/account/Base.js.map +1 -1
  9. package/es/account/Generalized.d.ts +1 -1
  10. package/es/account/Generalized.js +7 -1
  11. package/es/account/Generalized.js.map +1 -1
  12. package/es/apis/node/models/index.d.ts +405 -79
  13. package/es/apis/node/models/index.js.map +1 -1
  14. package/es/apis/node/models/mappers.d.ts +54 -4
  15. package/es/apis/node/models/mappers.js +1910 -500
  16. package/es/apis/node/models/mappers.js.map +1 -1
  17. package/es/apis/node/node.d.ts +28 -6
  18. package/es/apis/node/node.js +276 -5
  19. package/es/apis/node/node.js.map +1 -1
  20. package/es/channel/Contract.d.ts +5 -0
  21. package/es/channel/Contract.js +8 -2
  22. package/es/channel/Contract.js.map +1 -1
  23. package/es/channel/handlers.js +3 -3
  24. package/es/channel/handlers.js.map +1 -1
  25. package/es/contract/ga.d.ts +5 -2
  26. package/es/contract/ga.js +53 -21
  27. package/es/contract/ga.js.map +1 -1
  28. package/es/index-browser.d.ts +3 -1
  29. package/es/index-browser.js +2 -1
  30. package/es/index-browser.js.map +1 -1
  31. package/es/tx/builder/constants.d.ts +12 -2
  32. package/es/tx/builder/constants.js +11 -1
  33. package/es/tx/builder/constants.js.map +1 -1
  34. package/es/tx/builder/entry/index.js +6 -0
  35. package/es/tx/builder/entry/index.js.map +1 -1
  36. package/es/tx/builder/entry/schema.d.ts +10 -10
  37. package/es/tx/builder/field-types/ct-version.d.ts +14 -0
  38. package/es/tx/builder/field-types/ct-version.js +14 -0
  39. package/es/tx/builder/field-types/ct-version.js.map +1 -1
  40. package/es/tx/builder/field-types/fee.d.ts +9 -7
  41. package/es/tx/builder/field-types/fee.js +75 -66
  42. package/es/tx/builder/field-types/fee.js.map +1 -1
  43. package/es/tx/builder/field-types/gas-limit.d.ts +5 -3
  44. package/es/tx/builder/field-types/gas-limit.js +25 -14
  45. package/es/tx/builder/field-types/gas-limit.js.map +1 -1
  46. package/es/tx/builder/field-types/gas-price.d.ts +6 -4
  47. package/es/tx/builder/field-types/gas-price.js +87 -21
  48. package/es/tx/builder/field-types/gas-price.js.map +1 -1
  49. package/es/tx/builder/field-types/interface.d.ts +20 -0
  50. package/es/tx/builder/field-types/interface.js +17 -1
  51. package/es/tx/builder/field-types/interface.js.map +1 -1
  52. package/es/tx/builder/field-types/name-fee.d.ts +3 -2
  53. package/es/tx/builder/field-types/name-fee.js +6 -0
  54. package/es/tx/builder/field-types/name-fee.js.map +1 -1
  55. package/es/tx/builder/field-types/pointers.d.ts +2 -1
  56. package/es/tx/builder/field-types/pointers.js +6 -2
  57. package/es/tx/builder/field-types/pointers.js.map +1 -1
  58. package/es/tx/builder/field-types/transaction.d.ts +4 -1
  59. package/es/tx/builder/field-types/transaction.js +18 -3
  60. package/es/tx/builder/field-types/transaction.js.map +1 -1
  61. package/es/tx/builder/field-types/with-formatting.d.ts +1 -1
  62. package/es/tx/builder/field-types/with-formatting.js +1 -1
  63. package/es/tx/builder/field-types/with-formatting.js.map +1 -1
  64. package/es/tx/builder/index.d.ts +13 -0
  65. package/es/tx/builder/index.js +92 -5
  66. package/es/tx/builder/index.js.map +1 -1
  67. package/es/tx/builder/protocol-parameters.d.ts +123 -0
  68. package/es/tx/builder/protocol-parameters.js +519 -0
  69. package/es/tx/builder/protocol-parameters.js.map +1 -0
  70. package/es/tx/builder/schema.d.ts +156 -155
  71. package/es/tx/builder/schema.js +5 -1
  72. package/es/tx/builder/schema.js.map +1 -1
  73. package/es/tx/execution-cost.js +5 -5
  74. package/es/tx/execution-cost.js.map +1 -1
  75. package/es/tx/transaction-signer.js +2 -2
  76. package/es/tx/transaction-signer.js.map +1 -1
  77. package/es/tx/validator.js +4 -4
  78. package/es/tx/validator.js.map +1 -1
  79. package/es/utils/wrap-proxy.d.ts +10 -0
  80. package/es/utils/wrap-proxy.js +18 -0
  81. package/es/utils/wrap-proxy.js.map +1 -1
  82. package/package.json +2 -2
@@ -152,6 +152,9 @@ export const SignedTx = {
152
152
  }
153
153
  },
154
154
  hash: {
155
+ constraints: {
156
+ Pattern: new RegExp("^th_\\w+$")
157
+ },
155
158
  serializedName: "hash",
156
159
  required: true,
157
160
  type: {
@@ -159,6 +162,9 @@ export const SignedTx = {
159
162
  }
160
163
  },
161
164
  encodedTx: {
165
+ constraints: {
166
+ Pattern: new RegExp("^tx_[0-9A-Za-z+/=]+$")
167
+ },
162
168
  serializedName: "encoded_tx",
163
169
  type: {
164
170
  name: "String"
@@ -170,6 +176,9 @@ export const SignedTx = {
170
176
  type: {
171
177
  name: "Sequence",
172
178
  element: {
179
+ constraints: {
180
+ Pattern: new RegExp("^sg_\\w+$")
181
+ },
173
182
  type: {
174
183
  name: "String"
175
184
  }
@@ -344,6 +353,9 @@ export const Tx = {
344
353
  }
345
354
  },
346
355
  offchainTrees: {
356
+ constraints: {
357
+ Pattern: new RegExp("^ss_[0-9A-Za-z+/=]+$")
358
+ },
347
359
  serializedName: "offchain_trees",
348
360
  type: {
349
361
  name: "String"
@@ -370,6 +382,9 @@ export const Tx = {
370
382
  }
371
383
  },
372
384
  poi: {
385
+ constraints: {
386
+ Pattern: new RegExp("^pi_[0-9A-Za-z+/=]+$")
387
+ },
373
388
  serializedName: "poi",
374
389
  type: {
375
390
  name: "String"
@@ -469,6 +484,9 @@ export const Tx = {
469
484
  }
470
485
  },
471
486
  queryId: {
487
+ constraints: {
488
+ Pattern: new RegExp("^oq_\\w+$")
489
+ },
472
490
  serializedName: "query_id",
473
491
  type: {
474
492
  name: "String"
@@ -481,6 +499,9 @@ export const Tx = {
481
499
  }
482
500
  },
483
501
  commitmentId: {
502
+ constraints: {
503
+ Pattern: new RegExp("^cm_\\w+$")
504
+ },
484
505
  serializedName: "commitment_id",
485
506
  type: {
486
507
  name: "String"
@@ -512,6 +533,9 @@ export const Tx = {
512
533
  }
513
534
  },
514
535
  nameId: {
536
+ constraints: {
537
+ Pattern: new RegExp("^nm_\\w+$")
538
+ },
515
539
  serializedName: "name_id",
516
540
  type: {
517
541
  name: "String"
@@ -556,6 +580,9 @@ export const Tx = {
556
580
  }
557
581
  },
558
582
  code: {
583
+ constraints: {
584
+ Pattern: new RegExp("^cb_[0-9A-Za-z+/=]+$")
585
+ },
559
586
  serializedName: "code",
560
587
  type: {
561
588
  name: "String"
@@ -602,6 +629,9 @@ export const Tx = {
602
629
  }
603
630
  },
604
631
  callData: {
632
+ constraints: {
633
+ Pattern: new RegExp("^cb_[0-9A-Za-z+/=]+$")
634
+ },
605
635
  serializedName: "call_data",
606
636
  type: {
607
637
  name: "String"
@@ -635,6 +665,9 @@ export const Tx = {
635
665
  }
636
666
  },
637
667
  authData: {
668
+ constraints: {
669
+ Pattern: new RegExp("^cb_[0-9A-Za-z+/=]+$")
670
+ },
638
671
  serializedName: "auth_data",
639
672
  type: {
640
673
  name: "String"
@@ -792,6 +825,9 @@ export const NamePointer = {
792
825
  }
793
826
  },
794
827
  encodedKey: {
828
+ constraints: {
829
+ Pattern: new RegExp("^ba_[0-9A-Za-z+/=]+$")
830
+ },
795
831
  serializedName: "encoded_key",
796
832
  type: {
797
833
  name: "String"
@@ -813,6 +849,9 @@ export const AuctionEntry = {
813
849
  className: "AuctionEntry",
814
850
  modelProperties: {
815
851
  id: {
852
+ constraints: {
853
+ Pattern: new RegExp("^nm_\\w+$")
854
+ },
816
855
  serializedName: "id",
817
856
  required: true,
818
857
  type: {
@@ -1074,6 +1113,9 @@ export const ByteCode = {
1074
1113
  className: "ByteCode",
1075
1114
  modelProperties: {
1076
1115
  bytecode: {
1116
+ constraints: {
1117
+ Pattern: new RegExp("^cb_[0-9A-Za-z+/=]+$")
1118
+ },
1077
1119
  serializedName: "bytecode",
1078
1120
  required: true,
1079
1121
  type: {
@@ -1089,6 +1131,9 @@ export const PoI = {
1089
1131
  className: "PoI",
1090
1132
  modelProperties: {
1091
1133
  poi: {
1134
+ constraints: {
1135
+ Pattern: new RegExp("^pi_[0-9A-Za-z+/=]+$")
1136
+ },
1092
1137
  serializedName: "poi",
1093
1138
  required: true,
1094
1139
  type: {
@@ -1277,12 +1322,18 @@ export const DryRunInputItem = {
1277
1322
  className: "DryRunInputItem",
1278
1323
  modelProperties: {
1279
1324
  tx: {
1325
+ constraints: {
1326
+ Pattern: new RegExp("^tx_[0-9A-Za-z+/=]+$")
1327
+ },
1280
1328
  serializedName: "tx",
1281
1329
  type: {
1282
1330
  name: "String"
1283
1331
  }
1284
1332
  },
1285
1333
  txHash: {
1334
+ constraints: {
1335
+ Pattern: new RegExp("^th_\\w+$")
1336
+ },
1286
1337
  serializedName: "tx_hash",
1287
1338
  type: {
1288
1339
  name: "String"
@@ -1304,6 +1355,9 @@ export const DryRunCallReq = {
1304
1355
  className: "DryRunCallReq",
1305
1356
  modelProperties: {
1306
1357
  calldata: {
1358
+ constraints: {
1359
+ Pattern: new RegExp("^cb_[0-9A-Za-z+/=]+$")
1360
+ },
1307
1361
  serializedName: "calldata",
1308
1362
  required: true,
1309
1363
  type: {
@@ -1378,12 +1432,18 @@ export const DryRunCallContext = {
1378
1432
  className: "DryRunCallContext",
1379
1433
  modelProperties: {
1380
1434
  tx: {
1435
+ constraints: {
1436
+ Pattern: new RegExp("^tx_[0-9A-Za-z+/=]+$")
1437
+ },
1381
1438
  serializedName: "tx",
1382
1439
  type: {
1383
1440
  name: "String"
1384
1441
  }
1385
1442
  },
1386
1443
  txHash: {
1444
+ constraints: {
1445
+ Pattern: new RegExp("^th_\\w+$")
1446
+ },
1387
1447
  serializedName: "tx_hash",
1388
1448
  type: {
1389
1449
  name: "String"
@@ -1547,6 +1607,9 @@ export const ContractCallObject = {
1547
1607
  }
1548
1608
  },
1549
1609
  returnValue: {
1610
+ constraints: {
1611
+ Pattern: new RegExp("^cb_[0-9A-Za-z+/=]+$")
1612
+ },
1550
1613
  serializedName: "return_value",
1551
1614
  required: true,
1552
1615
  type: {
@@ -1593,6 +1656,9 @@ export const Event = {
1593
1656
  }
1594
1657
  },
1595
1658
  data: {
1659
+ constraints: {
1660
+ Pattern: new RegExp("^cb_[0-9A-Za-z+/=]+$")
1661
+ },
1596
1662
  serializedName: "data",
1597
1663
  required: true,
1598
1664
  type: {
@@ -1688,8 +1754,10 @@ export const KeyBlock = {
1688
1754
  }
1689
1755
  },
1690
1756
  flags: {
1757
+ constraints: {
1758
+ Pattern: new RegExp("^ba_[0-9A-Za-z+/=]+$")
1759
+ },
1691
1760
  serializedName: "flags",
1692
- required: true,
1693
1761
  type: {
1694
1762
  name: "String"
1695
1763
  }
@@ -1753,6 +1821,9 @@ export const KeyBlock = {
1753
1821
  }
1754
1822
  },
1755
1823
  info: {
1824
+ constraints: {
1825
+ Pattern: new RegExp("^cb_[0-9A-Za-z+/=]+$")
1826
+ },
1756
1827
  serializedName: "info",
1757
1828
  required: true,
1758
1829
  type: {
@@ -1819,6 +1890,9 @@ export const Header = {
1819
1890
  }
1820
1891
  },
1821
1892
  flags: {
1893
+ constraints: {
1894
+ Pattern: new RegExp("^ba_[0-9A-Za-z+/=]+$")
1895
+ },
1822
1896
  serializedName: "flags",
1823
1897
  type: {
1824
1898
  name: "String"
@@ -1882,12 +1956,18 @@ export const Header = {
1882
1956
  }
1883
1957
  },
1884
1958
  info: {
1959
+ constraints: {
1960
+ Pattern: new RegExp("^cb_[0-9A-Za-z+/=]+$")
1961
+ },
1885
1962
  serializedName: "info",
1886
1963
  type: {
1887
1964
  name: "String"
1888
1965
  }
1889
1966
  },
1890
1967
  pofHash: {
1968
+ constraints: {
1969
+ Pattern: new RegExp("^(no_fraud|bf_\\w+)$")
1970
+ },
1891
1971
  serializedName: "pof_hash",
1892
1972
  type: {
1893
1973
  name: "String"
@@ -1900,6 +1980,9 @@ export const Header = {
1900
1980
  }
1901
1981
  },
1902
1982
  signature: {
1983
+ constraints: {
1984
+ Pattern: new RegExp("^sg_\\w+$")
1985
+ },
1903
1986
  serializedName: "signature",
1904
1987
  type: {
1905
1988
  name: "String"
@@ -2050,6 +2133,9 @@ export const MicroBlockHeader = {
2050
2133
  }
2051
2134
  },
2052
2135
  pofHash: {
2136
+ constraints: {
2137
+ Pattern: new RegExp("^(no_fraud|bf_\\w+)$")
2138
+ },
2053
2139
  serializedName: "pof_hash",
2054
2140
  required: true,
2055
2141
  type: {
@@ -2085,6 +2171,9 @@ export const MicroBlockHeader = {
2085
2171
  }
2086
2172
  },
2087
2173
  signature: {
2174
+ constraints: {
2175
+ Pattern: new RegExp("^sg_\\w+$")
2176
+ },
2088
2177
  serializedName: "signature",
2089
2178
  required: true,
2090
2179
  type: {
@@ -2108,6 +2197,15 @@ export const MicroBlockHeader = {
2108
2197
  type: {
2109
2198
  name: "Number"
2110
2199
  }
2200
+ },
2201
+ flags: {
2202
+ constraints: {
2203
+ Pattern: new RegExp("^ba_[0-9A-Za-z+/=]+$")
2204
+ },
2205
+ serializedName: "flags",
2206
+ type: {
2207
+ name: "String"
2208
+ }
2111
2209
  }
2112
2210
  }
2113
2211
  }
@@ -2137,6 +2235,9 @@ export const NameEntry = {
2137
2235
  className: "NameEntry",
2138
2236
  modelProperties: {
2139
2237
  id: {
2238
+ constraints: {
2239
+ Pattern: new RegExp("^nm_\\w+$")
2240
+ },
2140
2241
  serializedName: "id",
2141
2242
  required: true,
2142
2243
  type: {
@@ -2168,7 +2269,7 @@ export const NameEntry = {
2168
2269
  element: {
2169
2270
  type: {
2170
2271
  name: "Composite",
2171
- className: "NamePointerComplete"
2272
+ className: "NameEntryPointersItem"
2172
2273
  }
2173
2274
  }
2174
2275
  }
@@ -2176,35 +2277,6 @@ export const NameEntry = {
2176
2277
  }
2177
2278
  }
2178
2279
  };
2179
- export const NamePointerComplete = {
2180
- type: {
2181
- name: "Composite",
2182
- className: "NamePointerComplete",
2183
- modelProperties: {
2184
- key: {
2185
- serializedName: "key",
2186
- required: true,
2187
- type: {
2188
- name: "String"
2189
- }
2190
- },
2191
- encodedKey: {
2192
- serializedName: "encoded_key",
2193
- required: true,
2194
- type: {
2195
- name: "String"
2196
- }
2197
- },
2198
- id: {
2199
- serializedName: "id",
2200
- required: true,
2201
- type: {
2202
- name: "String"
2203
- }
2204
- }
2205
- }
2206
- }
2207
- };
2208
2280
  export const RegisteredOracle = {
2209
2281
  type: {
2210
2282
  name: "Composite",
@@ -2294,6 +2366,9 @@ export const OracleQuery = {
2294
2366
  className: "OracleQuery",
2295
2367
  modelProperties: {
2296
2368
  id: {
2369
+ constraints: {
2370
+ Pattern: new RegExp("^oq_\\w+$")
2371
+ },
2297
2372
  serializedName: "id",
2298
2373
  required: true,
2299
2374
  type: {
@@ -2427,165 +2502,186 @@ export const GasPricesItem = {
2427
2502
  }
2428
2503
  }
2429
2504
  };
2430
- export const Status = {
2505
+ export const NodeSettings = {
2431
2506
  type: {
2432
2507
  name: "Composite",
2433
- className: "Status",
2508
+ className: "NodeSettings",
2434
2509
  modelProperties: {
2435
- genesisKeyBlockHash: {
2436
- serializedName: "genesis_key_block_hash",
2510
+ minMinerGasPrice: {
2511
+ serializedName: "min_miner_gas_price",
2437
2512
  required: true,
2438
2513
  type: {
2439
- name: "String"
2514
+ // @ts-expect-error we are extending autorest with BigInt support
2515
+ name: "BigInt"
2440
2516
  }
2441
2517
  },
2442
- solutions: {
2518
+ maxAuthFunGas: {
2443
2519
  constraints: {
2444
2520
  InclusiveMaximum: 18446744073709552000,
2445
2521
  InclusiveMinimum: 0
2446
2522
  },
2447
- serializedName: "solutions",
2523
+ serializedName: "max_auth_fun_gas",
2448
2524
  required: true,
2449
2525
  type: {
2450
2526
  name: "Number"
2451
2527
  }
2452
2528
  },
2453
- difficulty: {
2529
+ mempoolTxTtl: {
2454
2530
  constraints: {
2455
2531
  InclusiveMaximum: 18446744073709552000,
2456
2532
  InclusiveMinimum: 0
2457
2533
  },
2458
- serializedName: "difficulty",
2534
+ serializedName: "mempool_tx_ttl",
2459
2535
  required: true,
2460
2536
  type: {
2461
2537
  name: "Number"
2462
2538
  }
2463
2539
  },
2464
- hashrate: {
2540
+ mempoolNonceOffset: {
2465
2541
  constraints: {
2466
2542
  InclusiveMaximum: 18446744073709552000,
2467
2543
  InclusiveMinimum: 0
2468
2544
  },
2469
- serializedName: "hashrate",
2545
+ serializedName: "mempool_nonce_offset",
2470
2546
  required: true,
2471
2547
  type: {
2472
2548
  name: "Number"
2473
2549
  }
2474
2550
  },
2475
- syncing: {
2476
- serializedName: "syncing",
2551
+ dryRunGasLimit: {
2552
+ constraints: {
2553
+ InclusiveMaximum: 18446744073709552000,
2554
+ InclusiveMinimum: 0
2555
+ },
2556
+ serializedName: "dry_run_gas_limit",
2477
2557
  required: true,
2478
2558
  type: {
2479
- name: "Boolean"
2559
+ name: "Number"
2480
2560
  }
2481
2561
  },
2482
- syncProgress: {
2562
+ blockGasLimit: {
2483
2563
  constraints: {
2484
- InclusiveMaximum: 100,
2564
+ InclusiveMaximum: 18446744073709552000,
2485
2565
  InclusiveMinimum: 0
2486
2566
  },
2487
- serializedName: "sync_progress",
2567
+ serializedName: "block_gas_limit",
2568
+ required: true,
2488
2569
  type: {
2489
2570
  name: "Number"
2490
2571
  }
2491
- },
2492
- uptime: {
2493
- serializedName: "uptime",
2572
+ }
2573
+ }
2574
+ }
2575
+ };
2576
+ export const ProtocolParameters = {
2577
+ type: {
2578
+ name: "Composite",
2579
+ className: "ProtocolParameters",
2580
+ modelProperties: {
2581
+ networkId: {
2582
+ serializedName: "network_id",
2494
2583
  required: true,
2495
2584
  type: {
2496
2585
  name: "String"
2497
2586
  }
2498
2587
  },
2499
- listening: {
2500
- serializedName: "listening",
2501
- required: true,
2502
- type: {
2503
- name: "Boolean"
2504
- }
2505
- },
2506
- protocols: {
2507
- serializedName: "protocols",
2508
- required: true,
2509
- type: {
2510
- name: "Sequence",
2511
- element: {
2512
- type: {
2513
- name: "Composite",
2514
- className: "Protocol"
2515
- }
2516
- }
2517
- }
2518
- },
2519
- nodeVersion: {
2520
- serializedName: "node_version",
2588
+ currentProtocolVersion: {
2589
+ constraints: {
2590
+ InclusiveMaximum: 4294967295,
2591
+ InclusiveMinimum: 0
2592
+ },
2593
+ serializedName: "current_protocol_version",
2521
2594
  required: true,
2522
2595
  type: {
2523
- name: "String"
2596
+ name: "Number"
2524
2597
  }
2525
2598
  },
2526
- nodeRevision: {
2527
- serializedName: "node_revision",
2599
+ lockedCoinsHolderAccount: {
2600
+ serializedName: "locked_coins_holder_account",
2528
2601
  required: true,
2529
2602
  type: {
2530
2603
  name: "String"
2531
2604
  }
2532
2605
  },
2533
- peerCount: {
2606
+ expectedBlockMineRate: {
2534
2607
  constraints: {
2535
- InclusiveMaximum: 4294967295,
2608
+ InclusiveMaximum: 18446744073709552000,
2536
2609
  InclusiveMinimum: 0
2537
2610
  },
2538
- serializedName: "peer_count",
2539
- required: true,
2611
+ serializedName: "expected_block_mine_rate",
2540
2612
  type: {
2541
2613
  name: "Number"
2542
2614
  }
2543
2615
  },
2544
- peerConnections: {
2545
- serializedName: "peer_connections",
2616
+ childBlockTime: {
2617
+ constraints: {
2618
+ InclusiveMaximum: 18446744073709552000,
2619
+ InclusiveMinimum: 0
2620
+ },
2621
+ serializedName: "child_block_time",
2546
2622
  type: {
2547
- name: "Composite",
2548
- className: "PeerConnections"
2623
+ name: "Number"
2549
2624
  }
2550
2625
  },
2551
- pendingTransactionsCount: {
2626
+ microBlockCycle: {
2552
2627
  constraints: {
2553
- InclusiveMaximum: 4294967295,
2628
+ InclusiveMaximum: 18446744073709552000,
2554
2629
  InclusiveMinimum: 0
2555
2630
  },
2556
- serializedName: "pending_transactions_count",
2631
+ serializedName: "micro_block_cycle",
2557
2632
  required: true,
2558
2633
  type: {
2559
2634
  name: "Number"
2560
2635
  }
2561
2636
  },
2562
- networkId: {
2563
- serializedName: "network_id",
2637
+ protocols: {
2638
+ constraints: {
2639
+ MinItems: 1
2640
+ },
2641
+ serializedName: "protocols",
2564
2642
  required: true,
2565
2643
  type: {
2566
- name: "String"
2644
+ name: "Sequence",
2645
+ element: {
2646
+ type: {
2647
+ name: "Composite",
2648
+ className: "ProtocolConsensusParameters"
2649
+ }
2650
+ }
2567
2651
  }
2568
- },
2569
- peerPubkey: {
2570
- serializedName: "peer_pubkey",
2652
+ }
2653
+ }
2654
+ }
2655
+ };
2656
+ export const ContractTxBaseGas = {
2657
+ type: {
2658
+ name: "Composite",
2659
+ className: "ContractTxBaseGas",
2660
+ modelProperties: {
2661
+ txType: {
2662
+ serializedName: "tx_type",
2571
2663
  required: true,
2572
2664
  type: {
2573
2665
  name: "String"
2574
2666
  }
2575
2667
  },
2576
- topKeyBlockHash: {
2577
- serializedName: "top_key_block_hash",
2668
+ abiVersion: {
2669
+ constraints: {
2670
+ InclusiveMaximum: 65535,
2671
+ InclusiveMinimum: 0
2672
+ },
2673
+ serializedName: "abi_version",
2578
2674
  required: true,
2579
2675
  type: {
2580
- name: "String"
2676
+ name: "Number"
2581
2677
  }
2582
2678
  },
2583
- topBlockHeight: {
2679
+ txBaseGas: {
2584
2680
  constraints: {
2585
2681
  InclusiveMaximum: 18446744073709552000,
2586
2682
  InclusiveMinimum: 0
2587
2683
  },
2588
- serializedName: "top_block_height",
2684
+ serializedName: "tx_base_gas",
2589
2685
  required: true,
2590
2686
  type: {
2591
2687
  name: "Number"
@@ -2594,28 +2690,28 @@ export const Status = {
2594
2690
  }
2595
2691
  }
2596
2692
  };
2597
- export const Protocol = {
2693
+ export const StateGasPerBlock = {
2598
2694
  type: {
2599
2695
  name: "Composite",
2600
- className: "Protocol",
2696
+ className: "StateGasPerBlock",
2601
2697
  modelProperties: {
2602
- version: {
2698
+ part: {
2603
2699
  constraints: {
2604
- InclusiveMaximum: 4294967295,
2700
+ InclusiveMaximum: 18446744073709552000,
2605
2701
  InclusiveMinimum: 0
2606
2702
  },
2607
- serializedName: "version",
2703
+ serializedName: "part",
2608
2704
  required: true,
2609
2705
  type: {
2610
2706
  name: "Number"
2611
2707
  }
2612
2708
  },
2613
- effectiveAtHeight: {
2709
+ whole: {
2614
2710
  constraints: {
2615
2711
  InclusiveMaximum: 18446744073709552000,
2616
2712
  InclusiveMinimum: 0
2617
2713
  },
2618
- serializedName: "effective_at_height",
2714
+ serializedName: "whole",
2619
2715
  required: true,
2620
2716
  type: {
2621
2717
  name: "Number"
@@ -2624,72 +2720,39 @@ export const Protocol = {
2624
2720
  }
2625
2721
  }
2626
2722
  };
2627
- export const PeerConnections = {
2723
+ export const NameAuctionTimeout = {
2628
2724
  type: {
2629
2725
  name: "Composite",
2630
- className: "PeerConnections",
2726
+ className: "NameAuctionTimeout",
2631
2727
  modelProperties: {
2632
- inbound: {
2728
+ length: {
2633
2729
  constraints: {
2634
- InclusiveMaximum: 4294967295,
2730
+ InclusiveMaximum: 18446744073709552000,
2635
2731
  InclusiveMinimum: 0
2636
2732
  },
2637
- serializedName: "inbound",
2733
+ serializedName: "length",
2638
2734
  required: true,
2639
2735
  type: {
2640
2736
  name: "Number"
2641
2737
  }
2642
2738
  },
2643
- outbound: {
2739
+ bidTimeout: {
2644
2740
  constraints: {
2645
- InclusiveMaximum: 4294967295,
2741
+ InclusiveMaximum: 18446744073709552000,
2646
2742
  InclusiveMinimum: 0
2647
2743
  },
2648
- serializedName: "outbound",
2649
- required: true,
2650
- type: {
2651
- name: "Number"
2652
- }
2653
- }
2654
- }
2655
- }
2656
- };
2657
- export const SyncStatus = {
2658
- type: {
2659
- name: "Composite",
2660
- className: "SyncStatus",
2661
- modelProperties: {
2662
- progress: {
2663
- serializedName: "progress",
2744
+ serializedName: "bid_timeout",
2664
2745
  required: true,
2665
2746
  type: {
2666
2747
  name: "Number"
2667
2748
  }
2668
2749
  },
2669
- target: {
2750
+ bidExtension: {
2670
2751
  constraints: {
2671
2752
  InclusiveMaximum: 18446744073709552000,
2672
2753
  InclusiveMinimum: 0
2673
2754
  },
2674
- serializedName: "target",
2675
- required: true,
2676
- type: {
2677
- name: "Number"
2678
- }
2679
- },
2680
- speed: {
2681
- serializedName: "speed",
2682
- required: true,
2683
- type: {
2684
- name: "Number"
2685
- }
2686
- },
2687
- estimate: {
2688
- constraints: {
2689
- InclusiveMaximum: 18446744073709552000,
2690
- InclusiveMinimum: 0
2691
- },
2692
- serializedName: "estimate",
2755
+ serializedName: "bid_extension",
2693
2756
  required: true,
2694
2757
  type: {
2695
2758
  name: "Number"
@@ -2698,393 +2761,448 @@ export const SyncStatus = {
2698
2761
  }
2699
2762
  }
2700
2763
  };
2701
- export const EncodedTx = {
2764
+ export const ContractVersion = {
2702
2765
  type: {
2703
2766
  name: "Composite",
2704
- className: "EncodedTx",
2767
+ className: "ContractVersion",
2705
2768
  modelProperties: {
2706
- tx: {
2707
- serializedName: "tx",
2769
+ vmVersion: {
2770
+ constraints: {
2771
+ InclusiveMaximum: 65535,
2772
+ InclusiveMinimum: 0
2773
+ },
2774
+ serializedName: "vm_version",
2708
2775
  required: true,
2709
2776
  type: {
2710
- name: "String"
2777
+ name: "Number"
2711
2778
  }
2712
- }
2713
- }
2714
- }
2715
- };
2716
- export const PostTxResponse = {
2717
- type: {
2718
- name: "Composite",
2719
- className: "PostTxResponse",
2720
- modelProperties: {
2721
- txHash: {
2722
- serializedName: "tx_hash",
2779
+ },
2780
+ abiVersion: {
2781
+ constraints: {
2782
+ InclusiveMaximum: 65535,
2783
+ InclusiveMinimum: 0
2784
+ },
2785
+ serializedName: "abi_version",
2723
2786
  required: true,
2724
2787
  type: {
2725
- name: "String"
2788
+ name: "Number"
2726
2789
  }
2727
2790
  }
2728
2791
  }
2729
2792
  }
2730
2793
  };
2731
- export const TxInfoObject = {
2794
+ export const Protocol = {
2732
2795
  type: {
2733
2796
  name: "Composite",
2734
- className: "TxInfoObject",
2797
+ className: "Protocol",
2735
2798
  modelProperties: {
2736
- callInfo: {
2737
- serializedName: "call_info",
2738
- type: {
2739
- name: "Composite",
2740
- className: "ContractCallObject"
2741
- }
2742
- },
2743
- gaInfo: {
2744
- serializedName: "ga_info",
2799
+ version: {
2800
+ constraints: {
2801
+ InclusiveMaximum: 4294967295,
2802
+ InclusiveMinimum: 0
2803
+ },
2804
+ serializedName: "version",
2805
+ required: true,
2745
2806
  type: {
2746
- name: "Composite",
2747
- className: "GAObject"
2807
+ name: "Number"
2748
2808
  }
2749
2809
  },
2750
- txInfo: {
2751
- serializedName: "tx_info",
2810
+ effectiveAtHeight: {
2811
+ constraints: {
2812
+ InclusiveMaximum: 18446744073709552000,
2813
+ InclusiveMinimum: 0
2814
+ },
2815
+ serializedName: "effective_at_height",
2816
+ required: true,
2752
2817
  type: {
2753
- name: "String"
2818
+ name: "Number"
2754
2819
  }
2755
2820
  }
2756
2821
  }
2757
2822
  }
2758
2823
  };
2759
- export const GAObject = {
2824
+ export const Status = {
2760
2825
  type: {
2761
2826
  name: "Composite",
2762
- className: "GAObject",
2827
+ className: "Status",
2763
2828
  modelProperties: {
2764
- callerId: {
2765
- serializedName: "caller_id",
2829
+ genesisKeyBlockHash: {
2830
+ serializedName: "genesis_key_block_hash",
2766
2831
  required: true,
2767
2832
  type: {
2768
2833
  name: "String"
2769
2834
  }
2770
2835
  },
2771
- height: {
2836
+ solutions: {
2772
2837
  constraints: {
2773
2838
  InclusiveMaximum: 18446744073709552000,
2774
2839
  InclusiveMinimum: 0
2775
2840
  },
2776
- serializedName: "height",
2841
+ serializedName: "solutions",
2777
2842
  required: true,
2778
2843
  type: {
2779
2844
  name: "Number"
2780
2845
  }
2781
2846
  },
2782
- gasPrice: {
2847
+ difficulty: {
2783
2848
  constraints: {
2849
+ InclusiveMaximum: 18446744073709552000,
2784
2850
  InclusiveMinimum: 0
2785
2851
  },
2786
- serializedName: "gas_price",
2852
+ serializedName: "difficulty",
2787
2853
  required: true,
2788
2854
  type: {
2789
- // @ts-expect-error we are extending autorest with BigInt support
2790
- name: "BigInt"
2855
+ name: "Number"
2791
2856
  }
2792
2857
  },
2793
- gasUsed: {
2858
+ hashrate: {
2794
2859
  constraints: {
2795
2860
  InclusiveMaximum: 18446744073709552000,
2796
2861
  InclusiveMinimum: 0
2797
2862
  },
2798
- serializedName: "gas_used",
2863
+ serializedName: "hashrate",
2799
2864
  required: true,
2800
2865
  type: {
2801
2866
  name: "Number"
2802
2867
  }
2803
2868
  },
2804
- returnValue: {
2805
- serializedName: "return_value",
2869
+ syncing: {
2870
+ serializedName: "syncing",
2806
2871
  required: true,
2807
2872
  type: {
2808
- name: "String"
2873
+ name: "Boolean"
2809
2874
  }
2810
2875
  },
2811
- returnType: {
2812
- serializedName: "return_type",
2813
- required: true,
2876
+ syncProgress: {
2877
+ constraints: {
2878
+ InclusiveMaximum: 100,
2879
+ InclusiveMinimum: 0
2880
+ },
2881
+ serializedName: "sync_progress",
2814
2882
  type: {
2815
- name: "Enum",
2816
- allowedValues: ["ok", "error"]
2883
+ name: "Number"
2817
2884
  }
2818
2885
  },
2819
- innerObject: {
2820
- serializedName: "inner_object",
2886
+ uptime: {
2887
+ serializedName: "uptime",
2888
+ required: true,
2821
2889
  type: {
2822
- name: "Composite",
2823
- className: "TxInfoObject"
2890
+ name: "String"
2824
2891
  }
2825
- }
2826
- }
2827
- }
2828
- };
2829
- export const ChannelCloseMutualTx = {
2830
- type: {
2831
- name: "Composite",
2832
- className: "ChannelCloseMutualTx",
2833
- modelProperties: {
2834
- channelId: {
2835
- serializedName: "channel_id",
2892
+ },
2893
+ listening: {
2894
+ serializedName: "listening",
2836
2895
  required: true,
2837
2896
  type: {
2838
- name: "String"
2897
+ name: "Boolean"
2839
2898
  }
2840
2899
  },
2841
- fromId: {
2842
- serializedName: "from_id",
2900
+ protocols: {
2901
+ serializedName: "protocols",
2843
2902
  required: true,
2844
2903
  type: {
2845
- name: "String"
2904
+ name: "Sequence",
2905
+ element: {
2906
+ type: {
2907
+ name: "Composite",
2908
+ className: "Protocol"
2909
+ }
2910
+ }
2846
2911
  }
2847
2912
  },
2848
- initiatorAmountFinal: {
2849
- constraints: {
2850
- InclusiveMinimum: 0
2851
- },
2852
- serializedName: "initiator_amount_final",
2913
+ nodeVersion: {
2914
+ serializedName: "node_version",
2853
2915
  required: true,
2854
2916
  type: {
2855
- // @ts-expect-error we are extending autorest with BigInt support
2856
- name: "BigInt"
2917
+ name: "String"
2857
2918
  }
2858
2919
  },
2859
- responderAmountFinal: {
2860
- constraints: {
2861
- InclusiveMinimum: 0
2862
- },
2863
- serializedName: "responder_amount_final",
2920
+ nodeRevision: {
2921
+ serializedName: "node_revision",
2864
2922
  required: true,
2865
2923
  type: {
2866
- // @ts-expect-error we are extending autorest with BigInt support
2867
- name: "BigInt"
2924
+ name: "String"
2868
2925
  }
2869
2926
  },
2870
- ttl: {
2927
+ peerCount: {
2871
2928
  constraints: {
2872
- InclusiveMaximum: 18446744073709552000,
2929
+ InclusiveMaximum: 4294967295,
2873
2930
  InclusiveMinimum: 0
2874
2931
  },
2875
- serializedName: "ttl",
2932
+ serializedName: "peer_count",
2933
+ required: true,
2876
2934
  type: {
2877
2935
  name: "Number"
2878
2936
  }
2879
2937
  },
2880
- fee: {
2881
- constraints: {
2882
- InclusiveMaximum: 18446744073709552000,
2883
- InclusiveMinimum: 0
2884
- },
2885
- serializedName: "fee",
2886
- required: true,
2938
+ peerConnections: {
2939
+ serializedName: "peer_connections",
2887
2940
  type: {
2888
- // @ts-expect-error we are extending autorest with BigInt support
2889
- name: "BigInt"
2941
+ name: "Composite",
2942
+ className: "PeerConnections"
2890
2943
  }
2891
2944
  },
2892
- nonce: {
2945
+ pendingTransactionsCount: {
2893
2946
  constraints: {
2894
- InclusiveMaximum: 18446744073709552000,
2947
+ InclusiveMaximum: 4294967295,
2895
2948
  InclusiveMinimum: 0
2896
2949
  },
2897
- serializedName: "nonce",
2950
+ serializedName: "pending_transactions_count",
2898
2951
  required: true,
2899
2952
  type: {
2900
2953
  name: "Number"
2901
2954
  }
2902
- }
2903
- }
2904
- }
2905
- };
2906
- export const ChannelCloseSoloTx = {
2907
- type: {
2908
- name: "Composite",
2909
- className: "ChannelCloseSoloTx",
2910
- modelProperties: {
2911
- channelId: {
2912
- serializedName: "channel_id",
2955
+ },
2956
+ networkId: {
2957
+ serializedName: "network_id",
2913
2958
  required: true,
2914
2959
  type: {
2915
2960
  name: "String"
2916
2961
  }
2917
2962
  },
2918
- fromId: {
2919
- serializedName: "from_id",
2963
+ peerPubkey: {
2964
+ serializedName: "peer_pubkey",
2920
2965
  required: true,
2921
2966
  type: {
2922
2967
  name: "String"
2923
2968
  }
2924
2969
  },
2925
- payload: {
2926
- serializedName: "payload",
2970
+ topKeyBlockHash: {
2971
+ serializedName: "top_key_block_hash",
2927
2972
  required: true,
2928
2973
  type: {
2929
2974
  name: "String"
2930
2975
  }
2931
2976
  },
2932
- ttl: {
2977
+ topBlockHeight: {
2933
2978
  constraints: {
2934
2979
  InclusiveMaximum: 18446744073709552000,
2935
2980
  InclusiveMinimum: 0
2936
2981
  },
2937
- serializedName: "ttl",
2982
+ serializedName: "top_block_height",
2983
+ required: true,
2938
2984
  type: {
2939
2985
  name: "Number"
2940
2986
  }
2941
- },
2942
- fee: {
2987
+ }
2988
+ }
2989
+ }
2990
+ };
2991
+ export const PeerConnections = {
2992
+ type: {
2993
+ name: "Composite",
2994
+ className: "PeerConnections",
2995
+ modelProperties: {
2996
+ inbound: {
2943
2997
  constraints: {
2998
+ InclusiveMaximum: 4294967295,
2944
2999
  InclusiveMinimum: 0
2945
3000
  },
2946
- serializedName: "fee",
3001
+ serializedName: "inbound",
2947
3002
  required: true,
2948
3003
  type: {
2949
- // @ts-expect-error we are extending autorest with BigInt support
2950
- name: "BigInt"
3004
+ name: "Number"
2951
3005
  }
2952
3006
  },
2953
- nonce: {
3007
+ outbound: {
2954
3008
  constraints: {
2955
- InclusiveMaximum: 18446744073709552000,
3009
+ InclusiveMaximum: 4294967295,
2956
3010
  InclusiveMinimum: 0
2957
3011
  },
2958
- serializedName: "nonce",
2959
- type: {
2960
- name: "Number"
2961
- }
2962
- },
2963
- poi: {
2964
- serializedName: "poi",
3012
+ serializedName: "outbound",
2965
3013
  required: true,
2966
3014
  type: {
2967
- name: "String"
3015
+ name: "Number"
2968
3016
  }
2969
3017
  }
2970
3018
  }
2971
3019
  }
2972
3020
  };
2973
- export const ChannelCreateTx = {
3021
+ export const SyncStatus = {
2974
3022
  type: {
2975
3023
  name: "Composite",
2976
- className: "ChannelCreateTx",
3024
+ className: "SyncStatus",
2977
3025
  modelProperties: {
2978
- initiatorId: {
2979
- serializedName: "initiator_id",
3026
+ progress: {
3027
+ serializedName: "progress",
2980
3028
  required: true,
2981
3029
  type: {
2982
- name: "String"
3030
+ name: "Number"
2983
3031
  }
2984
3032
  },
2985
- initiatorAmount: {
3033
+ target: {
2986
3034
  constraints: {
3035
+ InclusiveMaximum: 18446744073709552000,
2987
3036
  InclusiveMinimum: 0
2988
3037
  },
2989
- serializedName: "initiator_amount",
3038
+ serializedName: "target",
2990
3039
  required: true,
2991
3040
  type: {
2992
- // @ts-expect-error we are extending autorest with BigInt support
2993
- name: "BigInt"
3041
+ name: "Number"
2994
3042
  }
2995
3043
  },
2996
- responderId: {
2997
- serializedName: "responder_id",
3044
+ speed: {
3045
+ serializedName: "speed",
2998
3046
  required: true,
2999
3047
  type: {
3000
- name: "String"
3048
+ name: "Number"
3001
3049
  }
3002
3050
  },
3003
- responderAmount: {
3051
+ estimate: {
3004
3052
  constraints: {
3053
+ InclusiveMaximum: 18446744073709552000,
3005
3054
  InclusiveMinimum: 0
3006
3055
  },
3007
- serializedName: "responder_amount",
3056
+ serializedName: "estimate",
3008
3057
  required: true,
3009
3058
  type: {
3010
- // @ts-expect-error we are extending autorest with BigInt support
3011
- name: "BigInt"
3059
+ name: "Number"
3012
3060
  }
3013
- },
3014
- channelReserve: {
3061
+ }
3062
+ }
3063
+ }
3064
+ };
3065
+ export const EncodedTx = {
3066
+ type: {
3067
+ name: "Composite",
3068
+ className: "EncodedTx",
3069
+ modelProperties: {
3070
+ tx: {
3015
3071
  constraints: {
3016
- InclusiveMinimum: 0
3072
+ Pattern: new RegExp("^tx_[0-9A-Za-z+/=]+$")
3017
3073
  },
3018
- serializedName: "channel_reserve",
3074
+ serializedName: "tx",
3019
3075
  required: true,
3020
3076
  type: {
3021
- // @ts-expect-error we are extending autorest with BigInt support
3022
- name: "BigInt"
3077
+ name: "String"
3023
3078
  }
3024
- },
3025
- lockPeriod: {
3079
+ }
3080
+ }
3081
+ }
3082
+ };
3083
+ export const PostTxResponse = {
3084
+ type: {
3085
+ name: "Composite",
3086
+ className: "PostTxResponse",
3087
+ modelProperties: {
3088
+ txHash: {
3026
3089
  constraints: {
3027
- InclusiveMaximum: 18446744073709552000,
3028
- InclusiveMinimum: 0
3090
+ Pattern: new RegExp("^th_\\w+$")
3029
3091
  },
3030
- serializedName: "lock_period",
3092
+ serializedName: "tx_hash",
3031
3093
  required: true,
3032
3094
  type: {
3033
- name: "Number"
3095
+ name: "String"
3096
+ }
3097
+ }
3098
+ }
3099
+ }
3100
+ };
3101
+ export const TxInfoObject = {
3102
+ type: {
3103
+ name: "Composite",
3104
+ className: "TxInfoObject",
3105
+ modelProperties: {
3106
+ callInfo: {
3107
+ serializedName: "call_info",
3108
+ type: {
3109
+ name: "Composite",
3110
+ className: "ContractCallObject"
3034
3111
  }
3035
3112
  },
3036
- ttl: {
3113
+ gaInfo: {
3114
+ serializedName: "ga_info",
3115
+ type: {
3116
+ name: "Composite",
3117
+ className: "GAObject"
3118
+ }
3119
+ },
3120
+ txInfo: {
3121
+ serializedName: "tx_info",
3122
+ type: {
3123
+ name: "String"
3124
+ }
3125
+ }
3126
+ }
3127
+ }
3128
+ };
3129
+ export const GAObject = {
3130
+ type: {
3131
+ name: "Composite",
3132
+ className: "GAObject",
3133
+ modelProperties: {
3134
+ callerId: {
3135
+ serializedName: "caller_id",
3136
+ required: true,
3137
+ type: {
3138
+ name: "String"
3139
+ }
3140
+ },
3141
+ height: {
3037
3142
  constraints: {
3038
3143
  InclusiveMaximum: 18446744073709552000,
3039
3144
  InclusiveMinimum: 0
3040
3145
  },
3041
- serializedName: "ttl",
3146
+ serializedName: "height",
3147
+ required: true,
3042
3148
  type: {
3043
3149
  name: "Number"
3044
3150
  }
3045
3151
  },
3046
- fee: {
3152
+ gasPrice: {
3047
3153
  constraints: {
3048
3154
  InclusiveMinimum: 0
3049
3155
  },
3050
- serializedName: "fee",
3156
+ serializedName: "gas_price",
3051
3157
  required: true,
3052
3158
  type: {
3053
3159
  // @ts-expect-error we are extending autorest with BigInt support
3054
3160
  name: "BigInt"
3055
3161
  }
3056
3162
  },
3057
- nonce: {
3163
+ gasUsed: {
3058
3164
  constraints: {
3059
3165
  InclusiveMaximum: 18446744073709552000,
3060
3166
  InclusiveMinimum: 0
3061
3167
  },
3062
- serializedName: "nonce",
3168
+ serializedName: "gas_used",
3169
+ required: true,
3063
3170
  type: {
3064
3171
  name: "Number"
3065
3172
  }
3066
3173
  },
3067
- stateHash: {
3068
- serializedName: "state_hash",
3174
+ returnValue: {
3175
+ constraints: {
3176
+ Pattern: new RegExp("^cb_[0-9A-Za-z+/=]+$")
3177
+ },
3178
+ serializedName: "return_value",
3069
3179
  required: true,
3070
3180
  type: {
3071
3181
  name: "String"
3072
3182
  }
3073
3183
  },
3074
- delegateIds: {
3075
- serializedName: "delegate_ids",
3184
+ returnType: {
3185
+ serializedName: "return_type",
3186
+ required: true,
3187
+ type: {
3188
+ name: "Enum",
3189
+ allowedValues: ["ok", "error"]
3190
+ }
3191
+ },
3192
+ innerObject: {
3193
+ serializedName: "inner_object",
3076
3194
  type: {
3077
3195
  name: "Composite",
3078
- className: "Delegates"
3196
+ className: "TxInfoObject"
3079
3197
  }
3080
3198
  }
3081
3199
  }
3082
3200
  }
3083
3201
  };
3084
- export const ChannelDepositTx = {
3202
+ export const ChannelCloseMutualTx = {
3085
3203
  type: {
3086
3204
  name: "Composite",
3087
- className: "ChannelDepositTx",
3205
+ className: "ChannelCloseMutualTx",
3088
3206
  modelProperties: {
3089
3207
  channelId: {
3090
3208
  serializedName: "channel_id",
@@ -3100,11 +3218,22 @@ export const ChannelDepositTx = {
3100
3218
  name: "String"
3101
3219
  }
3102
3220
  },
3103
- amount: {
3221
+ initiatorAmountFinal: {
3104
3222
  constraints: {
3105
3223
  InclusiveMinimum: 0
3106
3224
  },
3107
- serializedName: "amount",
3225
+ serializedName: "initiator_amount_final",
3226
+ required: true,
3227
+ type: {
3228
+ // @ts-expect-error we are extending autorest with BigInt support
3229
+ name: "BigInt"
3230
+ }
3231
+ },
3232
+ responderAmountFinal: {
3233
+ constraints: {
3234
+ InclusiveMinimum: 0
3235
+ },
3236
+ serializedName: "responder_amount_final",
3108
3237
  required: true,
3109
3238
  type: {
3110
3239
  // @ts-expect-error we are extending autorest with BigInt support
@@ -3123,6 +3252,7 @@ export const ChannelDepositTx = {
3123
3252
  },
3124
3253
  fee: {
3125
3254
  constraints: {
3255
+ InclusiveMaximum: 18446744073709552000,
3126
3256
  InclusiveMinimum: 0
3127
3257
  },
3128
3258
  serializedName: "fee",
@@ -3142,32 +3272,14 @@ export const ChannelDepositTx = {
3142
3272
  type: {
3143
3273
  name: "Number"
3144
3274
  }
3145
- },
3146
- stateHash: {
3147
- serializedName: "state_hash",
3148
- required: true,
3149
- type: {
3150
- name: "String"
3151
- }
3152
- },
3153
- round: {
3154
- constraints: {
3155
- InclusiveMaximum: 18446744073709552000,
3156
- InclusiveMinimum: 0
3157
- },
3158
- serializedName: "round",
3159
- required: true,
3160
- type: {
3161
- name: "Number"
3162
- }
3163
3275
  }
3164
3276
  }
3165
3277
  }
3166
3278
  };
3167
- export const ChannelForceProgressTx = {
3279
+ export const ChannelCloseSoloTx = {
3168
3280
  type: {
3169
3281
  name: "Composite",
3170
- className: "ChannelForceProgressTx",
3282
+ className: "ChannelCloseSoloTx",
3171
3283
  modelProperties: {
3172
3284
  channelId: {
3173
3285
  serializedName: "channel_id",
@@ -3190,31 +3302,6 @@ export const ChannelForceProgressTx = {
3190
3302
  name: "String"
3191
3303
  }
3192
3304
  },
3193
- round: {
3194
- constraints: {
3195
- InclusiveMaximum: 18446744073709552000,
3196
- InclusiveMinimum: 0
3197
- },
3198
- serializedName: "round",
3199
- required: true,
3200
- type: {
3201
- name: "Number"
3202
- }
3203
- },
3204
- update: {
3205
- serializedName: "update",
3206
- type: {
3207
- name: "Composite",
3208
- className: "OffChainUpdate"
3209
- }
3210
- },
3211
- stateHash: {
3212
- serializedName: "state_hash",
3213
- required: true,
3214
- type: {
3215
- name: "String"
3216
- }
3217
- },
3218
3305
  ttl: {
3219
3306
  constraints: {
3220
3307
  InclusiveMaximum: 18446744073709552000,
@@ -3246,8 +3333,12 @@ export const ChannelForceProgressTx = {
3246
3333
  name: "Number"
3247
3334
  }
3248
3335
  },
3249
- offchainTrees: {
3250
- serializedName: "offchain_trees",
3336
+ poi: {
3337
+ constraints: {
3338
+ Pattern: new RegExp("^pi_[0-9A-Za-z+/=]+$")
3339
+ },
3340
+ serializedName: "poi",
3341
+ required: true,
3251
3342
  type: {
3252
3343
  name: "String"
3253
3344
  }
@@ -3255,74 +3346,69 @@ export const ChannelForceProgressTx = {
3255
3346
  }
3256
3347
  }
3257
3348
  };
3258
- export const ChannelSetDelegatesTx = {
3349
+ export const ChannelCreateTx = {
3259
3350
  type: {
3260
3351
  name: "Composite",
3261
- className: "ChannelSetDelegatesTx",
3352
+ className: "ChannelCreateTx",
3262
3353
  modelProperties: {
3263
- channelId: {
3264
- serializedName: "channel_id",
3354
+ initiatorId: {
3355
+ serializedName: "initiator_id",
3265
3356
  required: true,
3266
3357
  type: {
3267
3358
  name: "String"
3268
3359
  }
3269
3360
  },
3270
- fromId: {
3271
- serializedName: "from_id",
3361
+ initiatorAmount: {
3362
+ constraints: {
3363
+ InclusiveMinimum: 0
3364
+ },
3365
+ serializedName: "initiator_amount",
3272
3366
  required: true,
3273
3367
  type: {
3274
- name: "String"
3368
+ // @ts-expect-error we are extending autorest with BigInt support
3369
+ name: "BigInt"
3275
3370
  }
3276
3371
  },
3277
- initiatorDelegateIds: {
3278
- serializedName: "initiator_delegate_ids",
3372
+ responderId: {
3373
+ serializedName: "responder_id",
3279
3374
  required: true,
3280
3375
  type: {
3281
- name: "Sequence",
3282
- element: {
3283
- type: {
3284
- name: "String"
3285
- }
3286
- }
3376
+ name: "String"
3287
3377
  }
3288
3378
  },
3289
- responderDelegateIds: {
3290
- serializedName: "responder_delegate_ids",
3379
+ responderAmount: {
3380
+ constraints: {
3381
+ InclusiveMinimum: 0
3382
+ },
3383
+ serializedName: "responder_amount",
3291
3384
  required: true,
3292
3385
  type: {
3293
- name: "Sequence",
3294
- element: {
3295
- type: {
3296
- name: "String"
3297
- }
3298
- }
3386
+ // @ts-expect-error we are extending autorest with BigInt support
3387
+ name: "BigInt"
3299
3388
  }
3300
3389
  },
3301
- stateHash: {
3302
- serializedName: "state_hash",
3390
+ channelReserve: {
3391
+ constraints: {
3392
+ InclusiveMinimum: 0
3393
+ },
3394
+ serializedName: "channel_reserve",
3303
3395
  required: true,
3304
3396
  type: {
3305
- name: "String"
3397
+ // @ts-expect-error we are extending autorest with BigInt support
3398
+ name: "BigInt"
3306
3399
  }
3307
3400
  },
3308
- round: {
3401
+ lockPeriod: {
3309
3402
  constraints: {
3310
3403
  InclusiveMaximum: 18446744073709552000,
3311
3404
  InclusiveMinimum: 0
3312
3405
  },
3313
- serializedName: "round",
3406
+ serializedName: "lock_period",
3314
3407
  required: true,
3315
3408
  type: {
3316
3409
  name: "Number"
3317
3410
  }
3318
3411
  },
3319
- payload: {
3320
- serializedName: "payload",
3321
- required: true,
3322
- type: {
3323
- name: "String"
3324
- }
3325
- },
3326
3412
  ttl: {
3327
3413
  constraints: {
3328
3414
  InclusiveMaximum: 18446744073709552000,
@@ -3353,14 +3439,28 @@ export const ChannelSetDelegatesTx = {
3353
3439
  type: {
3354
3440
  name: "Number"
3355
3441
  }
3442
+ },
3443
+ stateHash: {
3444
+ serializedName: "state_hash",
3445
+ required: true,
3446
+ type: {
3447
+ name: "String"
3448
+ }
3449
+ },
3450
+ delegateIds: {
3451
+ serializedName: "delegate_ids",
3452
+ type: {
3453
+ name: "Composite",
3454
+ className: "Delegates"
3455
+ }
3356
3456
  }
3357
3457
  }
3358
3458
  }
3359
3459
  };
3360
- export const ChannelSettleTx = {
3460
+ export const ChannelDepositTx = {
3361
3461
  type: {
3362
3462
  name: "Composite",
3363
- className: "ChannelSettleTx",
3463
+ className: "ChannelDepositTx",
3364
3464
  modelProperties: {
3365
3465
  channelId: {
3366
3466
  serializedName: "channel_id",
@@ -3376,22 +3476,11 @@ export const ChannelSettleTx = {
3376
3476
  name: "String"
3377
3477
  }
3378
3478
  },
3379
- initiatorAmountFinal: {
3380
- constraints: {
3381
- InclusiveMinimum: 0
3382
- },
3383
- serializedName: "initiator_amount_final",
3384
- required: true,
3385
- type: {
3386
- // @ts-expect-error we are extending autorest with BigInt support
3387
- name: "BigInt"
3388
- }
3389
- },
3390
- responderAmountFinal: {
3479
+ amount: {
3391
3480
  constraints: {
3392
3481
  InclusiveMinimum: 0
3393
3482
  },
3394
- serializedName: "responder_amount_final",
3483
+ serializedName: "amount",
3395
3484
  required: true,
3396
3485
  type: {
3397
3486
  // @ts-expect-error we are extending autorest with BigInt support
@@ -3429,14 +3518,32 @@ export const ChannelSettleTx = {
3429
3518
  type: {
3430
3519
  name: "Number"
3431
3520
  }
3521
+ },
3522
+ stateHash: {
3523
+ serializedName: "state_hash",
3524
+ required: true,
3525
+ type: {
3526
+ name: "String"
3527
+ }
3528
+ },
3529
+ round: {
3530
+ constraints: {
3531
+ InclusiveMaximum: 18446744073709552000,
3532
+ InclusiveMinimum: 0
3533
+ },
3534
+ serializedName: "round",
3535
+ required: true,
3536
+ type: {
3537
+ name: "Number"
3538
+ }
3432
3539
  }
3433
3540
  }
3434
3541
  }
3435
3542
  };
3436
- export const ChannelSlashTx = {
3543
+ export const ChannelForceProgressTx = {
3437
3544
  type: {
3438
3545
  name: "Composite",
3439
- className: "ChannelSlashTx",
3546
+ className: "ChannelForceProgressTx",
3440
3547
  modelProperties: {
3441
3548
  channelId: {
3442
3549
  serializedName: "channel_id",
@@ -3453,12 +3560,40 @@ export const ChannelSlashTx = {
3453
3560
  }
3454
3561
  },
3455
3562
  payload: {
3563
+ constraints: {
3564
+ Pattern: new RegExp("^tx_[0-9A-Za-z+/=]+$")
3565
+ },
3456
3566
  serializedName: "payload",
3457
3567
  required: true,
3458
3568
  type: {
3459
3569
  name: "String"
3460
3570
  }
3461
3571
  },
3572
+ round: {
3573
+ constraints: {
3574
+ InclusiveMaximum: 18446744073709552000,
3575
+ InclusiveMinimum: 0
3576
+ },
3577
+ serializedName: "round",
3578
+ required: true,
3579
+ type: {
3580
+ name: "Number"
3581
+ }
3582
+ },
3583
+ update: {
3584
+ serializedName: "update",
3585
+ type: {
3586
+ name: "Composite",
3587
+ className: "OffChainUpdate"
3588
+ }
3589
+ },
3590
+ stateHash: {
3591
+ serializedName: "state_hash",
3592
+ required: true,
3593
+ type: {
3594
+ name: "String"
3595
+ }
3596
+ },
3462
3597
  ttl: {
3463
3598
  constraints: {
3464
3599
  InclusiveMaximum: 18446744073709552000,
@@ -3490,9 +3625,11 @@ export const ChannelSlashTx = {
3490
3625
  name: "Number"
3491
3626
  }
3492
3627
  },
3493
- poi: {
3494
- serializedName: "poi",
3495
- required: true,
3628
+ offchainTrees: {
3629
+ constraints: {
3630
+ Pattern: new RegExp("^ss_[0-9A-Za-z+/=]+$")
3631
+ },
3632
+ serializedName: "offchain_trees",
3496
3633
  type: {
3497
3634
  name: "String"
3498
3635
  }
@@ -3500,10 +3637,10 @@ export const ChannelSlashTx = {
3500
3637
  }
3501
3638
  }
3502
3639
  };
3503
- export const ChannelSnapshotSoloTx = {
3640
+ export const ChannelSetDelegatesTx = {
3504
3641
  type: {
3505
3642
  name: "Composite",
3506
- className: "ChannelSnapshotSoloTx",
3643
+ className: "ChannelSetDelegatesTx",
3507
3644
  modelProperties: {
3508
3645
  channelId: {
3509
3646
  serializedName: "channel_id",
@@ -3519,6 +3656,48 @@ export const ChannelSnapshotSoloTx = {
3519
3656
  name: "String"
3520
3657
  }
3521
3658
  },
3659
+ initiatorDelegateIds: {
3660
+ serializedName: "initiator_delegate_ids",
3661
+ required: true,
3662
+ type: {
3663
+ name: "Sequence",
3664
+ element: {
3665
+ type: {
3666
+ name: "String"
3667
+ }
3668
+ }
3669
+ }
3670
+ },
3671
+ responderDelegateIds: {
3672
+ serializedName: "responder_delegate_ids",
3673
+ required: true,
3674
+ type: {
3675
+ name: "Sequence",
3676
+ element: {
3677
+ type: {
3678
+ name: "String"
3679
+ }
3680
+ }
3681
+ }
3682
+ },
3683
+ stateHash: {
3684
+ serializedName: "state_hash",
3685
+ required: true,
3686
+ type: {
3687
+ name: "String"
3688
+ }
3689
+ },
3690
+ round: {
3691
+ constraints: {
3692
+ InclusiveMaximum: 18446744073709552000,
3693
+ InclusiveMinimum: 0
3694
+ },
3695
+ serializedName: "round",
3696
+ required: true,
3697
+ type: {
3698
+ name: "Number"
3699
+ }
3700
+ },
3522
3701
  payload: {
3523
3702
  serializedName: "payload",
3524
3703
  required: true,
@@ -3560,10 +3739,10 @@ export const ChannelSnapshotSoloTx = {
3560
3739
  }
3561
3740
  }
3562
3741
  };
3563
- export const ChannelWithdrawTx = {
3742
+ export const ChannelSettleTx = {
3564
3743
  type: {
3565
3744
  name: "Composite",
3566
- className: "ChannelWithdrawTx",
3745
+ className: "ChannelSettleTx",
3567
3746
  modelProperties: {
3568
3747
  channelId: {
3569
3748
  serializedName: "channel_id",
@@ -3572,18 +3751,29 @@ export const ChannelWithdrawTx = {
3572
3751
  name: "String"
3573
3752
  }
3574
3753
  },
3575
- toId: {
3576
- serializedName: "to_id",
3754
+ fromId: {
3755
+ serializedName: "from_id",
3577
3756
  required: true,
3578
3757
  type: {
3579
3758
  name: "String"
3580
3759
  }
3581
3760
  },
3582
- amount: {
3761
+ initiatorAmountFinal: {
3583
3762
  constraints: {
3584
3763
  InclusiveMinimum: 0
3585
3764
  },
3586
- serializedName: "amount",
3765
+ serializedName: "initiator_amount_final",
3766
+ required: true,
3767
+ type: {
3768
+ // @ts-expect-error we are extending autorest with BigInt support
3769
+ name: "BigInt"
3770
+ }
3771
+ },
3772
+ responderAmountFinal: {
3773
+ constraints: {
3774
+ InclusiveMinimum: 0
3775
+ },
3776
+ serializedName: "responder_amount_final",
3587
3777
  required: true,
3588
3778
  type: {
3589
3779
  // @ts-expect-error we are extending autorest with BigInt support
@@ -3621,81 +3811,279 @@ export const ChannelWithdrawTx = {
3621
3811
  type: {
3622
3812
  name: "Number"
3623
3813
  }
3624
- },
3625
- stateHash: {
3626
- serializedName: "state_hash",
3627
- required: true,
3628
- type: {
3629
- name: "String"
3630
- }
3631
- },
3632
- round: {
3633
- constraints: {
3634
- InclusiveMaximum: 18446744073709552000,
3635
- InclusiveMinimum: 0
3636
- },
3637
- serializedName: "round",
3638
- required: true,
3639
- type: {
3640
- name: "Number"
3641
- }
3642
3814
  }
3643
3815
  }
3644
3816
  }
3645
3817
  };
3646
- export const CheckTxInPoolResponse = {
3818
+ export const ChannelSlashTx = {
3647
3819
  type: {
3648
3820
  name: "Composite",
3649
- className: "CheckTxInPoolResponse",
3821
+ className: "ChannelSlashTx",
3650
3822
  modelProperties: {
3651
- status: {
3652
- serializedName: "status",
3823
+ channelId: {
3824
+ serializedName: "channel_id",
3653
3825
  required: true,
3654
3826
  type: {
3655
3827
  name: "String"
3656
3828
  }
3657
- }
3658
- }
3659
- }
3660
- };
3661
- export const CommitmentId = {
3662
- type: {
3663
- name: "Composite",
3664
- className: "CommitmentId",
3665
- modelProperties: {
3666
- commitmentId: {
3667
- serializedName: "commitment_id",
3829
+ },
3830
+ fromId: {
3831
+ serializedName: "from_id",
3668
3832
  required: true,
3669
3833
  type: {
3670
3834
  name: "String"
3671
3835
  }
3672
- }
3673
- }
3674
- }
3675
- };
3676
- export const ContractCallTx = {
3677
- type: {
3678
- name: "Composite",
3679
- className: "ContractCallTx",
3680
- modelProperties: {
3681
- callerId: {
3682
- serializedName: "caller_id",
3836
+ },
3837
+ payload: {
3838
+ serializedName: "payload",
3683
3839
  required: true,
3684
3840
  type: {
3685
3841
  name: "String"
3686
3842
  }
3687
3843
  },
3688
- nonce: {
3844
+ ttl: {
3689
3845
  constraints: {
3690
3846
  InclusiveMaximum: 18446744073709552000,
3691
3847
  InclusiveMinimum: 0
3692
3848
  },
3693
- serializedName: "nonce",
3849
+ serializedName: "ttl",
3694
3850
  type: {
3695
3851
  name: "Number"
3696
3852
  }
3697
3853
  },
3698
- contractId: {
3854
+ fee: {
3855
+ constraints: {
3856
+ InclusiveMinimum: 0
3857
+ },
3858
+ serializedName: "fee",
3859
+ required: true,
3860
+ type: {
3861
+ // @ts-expect-error we are extending autorest with BigInt support
3862
+ name: "BigInt"
3863
+ }
3864
+ },
3865
+ nonce: {
3866
+ constraints: {
3867
+ InclusiveMaximum: 18446744073709552000,
3868
+ InclusiveMinimum: 0
3869
+ },
3870
+ serializedName: "nonce",
3871
+ type: {
3872
+ name: "Number"
3873
+ }
3874
+ },
3875
+ poi: {
3876
+ constraints: {
3877
+ Pattern: new RegExp("^pi_[0-9A-Za-z+/=]+$")
3878
+ },
3879
+ serializedName: "poi",
3880
+ required: true,
3881
+ type: {
3882
+ name: "String"
3883
+ }
3884
+ }
3885
+ }
3886
+ }
3887
+ };
3888
+ export const ChannelSnapshotSoloTx = {
3889
+ type: {
3890
+ name: "Composite",
3891
+ className: "ChannelSnapshotSoloTx",
3892
+ modelProperties: {
3893
+ channelId: {
3894
+ serializedName: "channel_id",
3895
+ required: true,
3896
+ type: {
3897
+ name: "String"
3898
+ }
3899
+ },
3900
+ fromId: {
3901
+ serializedName: "from_id",
3902
+ required: true,
3903
+ type: {
3904
+ name: "String"
3905
+ }
3906
+ },
3907
+ payload: {
3908
+ serializedName: "payload",
3909
+ required: true,
3910
+ type: {
3911
+ name: "String"
3912
+ }
3913
+ },
3914
+ ttl: {
3915
+ constraints: {
3916
+ InclusiveMaximum: 18446744073709552000,
3917
+ InclusiveMinimum: 0
3918
+ },
3919
+ serializedName: "ttl",
3920
+ type: {
3921
+ name: "Number"
3922
+ }
3923
+ },
3924
+ fee: {
3925
+ constraints: {
3926
+ InclusiveMinimum: 0
3927
+ },
3928
+ serializedName: "fee",
3929
+ required: true,
3930
+ type: {
3931
+ // @ts-expect-error we are extending autorest with BigInt support
3932
+ name: "BigInt"
3933
+ }
3934
+ },
3935
+ nonce: {
3936
+ constraints: {
3937
+ InclusiveMaximum: 18446744073709552000,
3938
+ InclusiveMinimum: 0
3939
+ },
3940
+ serializedName: "nonce",
3941
+ type: {
3942
+ name: "Number"
3943
+ }
3944
+ }
3945
+ }
3946
+ }
3947
+ };
3948
+ export const ChannelWithdrawTx = {
3949
+ type: {
3950
+ name: "Composite",
3951
+ className: "ChannelWithdrawTx",
3952
+ modelProperties: {
3953
+ channelId: {
3954
+ serializedName: "channel_id",
3955
+ required: true,
3956
+ type: {
3957
+ name: "String"
3958
+ }
3959
+ },
3960
+ toId: {
3961
+ serializedName: "to_id",
3962
+ required: true,
3963
+ type: {
3964
+ name: "String"
3965
+ }
3966
+ },
3967
+ amount: {
3968
+ constraints: {
3969
+ InclusiveMinimum: 0
3970
+ },
3971
+ serializedName: "amount",
3972
+ required: true,
3973
+ type: {
3974
+ // @ts-expect-error we are extending autorest with BigInt support
3975
+ name: "BigInt"
3976
+ }
3977
+ },
3978
+ ttl: {
3979
+ constraints: {
3980
+ InclusiveMaximum: 18446744073709552000,
3981
+ InclusiveMinimum: 0
3982
+ },
3983
+ serializedName: "ttl",
3984
+ type: {
3985
+ name: "Number"
3986
+ }
3987
+ },
3988
+ fee: {
3989
+ constraints: {
3990
+ InclusiveMinimum: 0
3991
+ },
3992
+ serializedName: "fee",
3993
+ required: true,
3994
+ type: {
3995
+ // @ts-expect-error we are extending autorest with BigInt support
3996
+ name: "BigInt"
3997
+ }
3998
+ },
3999
+ nonce: {
4000
+ constraints: {
4001
+ InclusiveMaximum: 18446744073709552000,
4002
+ InclusiveMinimum: 0
4003
+ },
4004
+ serializedName: "nonce",
4005
+ required: true,
4006
+ type: {
4007
+ name: "Number"
4008
+ }
4009
+ },
4010
+ stateHash: {
4011
+ serializedName: "state_hash",
4012
+ required: true,
4013
+ type: {
4014
+ name: "String"
4015
+ }
4016
+ },
4017
+ round: {
4018
+ constraints: {
4019
+ InclusiveMaximum: 18446744073709552000,
4020
+ InclusiveMinimum: 0
4021
+ },
4022
+ serializedName: "round",
4023
+ required: true,
4024
+ type: {
4025
+ name: "Number"
4026
+ }
4027
+ }
4028
+ }
4029
+ }
4030
+ };
4031
+ export const CheckTxInPoolResponse = {
4032
+ type: {
4033
+ name: "Composite",
4034
+ className: "CheckTxInPoolResponse",
4035
+ modelProperties: {
4036
+ status: {
4037
+ serializedName: "status",
4038
+ required: true,
4039
+ type: {
4040
+ name: "String"
4041
+ }
4042
+ }
4043
+ }
4044
+ }
4045
+ };
4046
+ export const CommitmentId = {
4047
+ type: {
4048
+ name: "Composite",
4049
+ className: "CommitmentId",
4050
+ modelProperties: {
4051
+ commitmentId: {
4052
+ constraints: {
4053
+ Pattern: new RegExp("^cm_\\w+$")
4054
+ },
4055
+ serializedName: "commitment_id",
4056
+ required: true,
4057
+ type: {
4058
+ name: "String"
4059
+ }
4060
+ }
4061
+ }
4062
+ }
4063
+ };
4064
+ export const ContractCallTx = {
4065
+ type: {
4066
+ name: "Composite",
4067
+ className: "ContractCallTx",
4068
+ modelProperties: {
4069
+ callerId: {
4070
+ serializedName: "caller_id",
4071
+ required: true,
4072
+ type: {
4073
+ name: "String"
4074
+ }
4075
+ },
4076
+ nonce: {
4077
+ constraints: {
4078
+ InclusiveMaximum: 18446744073709552000,
4079
+ InclusiveMinimum: 0
4080
+ },
4081
+ serializedName: "nonce",
4082
+ type: {
4083
+ name: "Number"
4084
+ }
4085
+ },
4086
+ contractId: {
3699
4087
  serializedName: "contract_id",
3700
4088
  required: true,
3701
4089
  type: {
@@ -3768,6 +4156,9 @@ export const ContractCallTx = {
3768
4156
  }
3769
4157
  },
3770
4158
  callData: {
4159
+ constraints: {
4160
+ Pattern: new RegExp("^cb_[0-9A-Za-z+/=]+$")
4161
+ },
3771
4162
  serializedName: "call_data",
3772
4163
  required: true,
3773
4164
  type: {
@@ -3800,6 +4191,9 @@ export const ContractCreateTx = {
3800
4191
  }
3801
4192
  },
3802
4193
  code: {
4194
+ constraints: {
4195
+ Pattern: new RegExp("^cb_[0-9A-Za-z+/=]+$")
4196
+ },
3803
4197
  serializedName: "code",
3804
4198
  required: true,
3805
4199
  type: {
@@ -3894,6 +4288,9 @@ export const ContractCreateTx = {
3894
4288
  }
3895
4289
  },
3896
4290
  callData: {
4291
+ constraints: {
4292
+ Pattern: new RegExp("^cb_[0-9A-Za-z+/=]+$")
4293
+ },
3897
4294
  serializedName: "call_data",
3898
4295
  required: true,
3899
4296
  type: {
@@ -3903,21 +4300,6 @@ export const ContractCreateTx = {
3903
4300
  }
3904
4301
  }
3905
4302
  };
3906
- export const UnsignedTx = {
3907
- type: {
3908
- name: "Composite",
3909
- className: "UnsignedTx",
3910
- modelProperties: {
3911
- tx: {
3912
- serializedName: "tx",
3913
- required: true,
3914
- type: {
3915
- name: "String"
3916
- }
3917
- }
3918
- }
3919
- }
3920
- };
3921
4303
  export const GAAttachTx = {
3922
4304
  type: {
3923
4305
  name: "Composite",
@@ -3941,6 +4323,9 @@ export const GAAttachTx = {
3941
4323
  }
3942
4324
  },
3943
4325
  code: {
4326
+ constraints: {
4327
+ Pattern: new RegExp("^cb_[0-9A-Za-z+/=]+$")
4328
+ },
3944
4329
  serializedName: "code",
3945
4330
  required: true,
3946
4331
  type: {
@@ -4013,6 +4398,9 @@ export const GAAttachTx = {
4013
4398
  }
4014
4399
  },
4015
4400
  callData: {
4401
+ constraints: {
4402
+ Pattern: new RegExp("^cb_[0-9A-Za-z+/=]+$")
4403
+ },
4016
4404
  serializedName: "call_data",
4017
4405
  required: true,
4018
4406
  type: {
@@ -4099,6 +4487,9 @@ export const GAMetaTx = {
4099
4487
  }
4100
4488
  },
4101
4489
  authData: {
4490
+ constraints: {
4491
+ Pattern: new RegExp("^cb_[0-9A-Za-z+/=]+$")
4492
+ },
4102
4493
  serializedName: "auth_data",
4103
4494
  required: true,
4104
4495
  type: {
@@ -4194,6 +4585,9 @@ export const NameHash = {
4194
4585
  className: "NameHash",
4195
4586
  modelProperties: {
4196
4587
  nameId: {
4588
+ constraints: {
4589
+ Pattern: new RegExp("^nm_\\w+$")
4590
+ },
4197
4591
  serializedName: "name_id",
4198
4592
  required: true,
4199
4593
  type: {
@@ -4209,6 +4603,9 @@ export const NamePreclaimTx = {
4209
4603
  className: "NamePreclaimTx",
4210
4604
  modelProperties: {
4211
4605
  commitmentId: {
4606
+ constraints: {
4607
+ Pattern: new RegExp("^cm_\\w+$")
4608
+ },
4212
4609
  serializedName: "commitment_id",
4213
4610
  required: true,
4214
4611
  type: {
@@ -4262,6 +4659,9 @@ export const NameRevokeTx = {
4262
4659
  className: "NameRevokeTx",
4263
4660
  modelProperties: {
4264
4661
  nameId: {
4662
+ constraints: {
4663
+ Pattern: new RegExp("^nm_\\w+$")
4664
+ },
4265
4665
  serializedName: "name_id",
4266
4666
  required: true,
4267
4667
  type: {
@@ -4315,6 +4715,9 @@ export const NameTransferTx = {
4315
4715
  className: "NameTransferTx",
4316
4716
  modelProperties: {
4317
4717
  nameId: {
4718
+ constraints: {
4719
+ Pattern: new RegExp("^nm_\\w+$")
4720
+ },
4318
4721
  serializedName: "name_id",
4319
4722
  required: true,
4320
4723
  type: {
@@ -4375,6 +4778,9 @@ export const NameUpdateTx = {
4375
4778
  className: "NameUpdateTx",
4376
4779
  modelProperties: {
4377
4780
  nameId: {
4781
+ constraints: {
4782
+ Pattern: new RegExp("^nm_\\w+$")
4783
+ },
4378
4784
  serializedName: "name_id",
4379
4785
  required: true,
4380
4786
  type: {
@@ -4792,6 +5198,9 @@ export const OracleRespondTx = {
4792
5198
  className: "OracleRespondTx",
4793
5199
  modelProperties: {
4794
5200
  queryId: {
5201
+ constraints: {
5202
+ Pattern: new RegExp("^oq_\\w+$")
5203
+ },
4795
5204
  serializedName: "query_id",
4796
5205
  required: true,
4797
5206
  type: {
@@ -5032,10 +5441,10 @@ export const PubKey = {
5032
5441
  }
5033
5442
  }
5034
5443
  };
5035
- export const SpendTx = {
5444
+ export const SpendTxInput = {
5036
5445
  type: {
5037
5446
  name: "Composite",
5038
- className: "SpendTx",
5447
+ className: "SpendTxInput",
5039
5448
  modelProperties: {
5040
5449
  recipientId: {
5041
5450
  serializedName: "recipient_id",
@@ -5097,7 +5506,7 @@ export const SpendTx = {
5097
5506
  serializedName: "payload",
5098
5507
  required: true,
5099
5508
  type: {
5100
- name: "String"
5509
+ name: "any"
5101
5510
  }
5102
5511
  }
5103
5512
  }
@@ -5251,6 +5660,9 @@ export const OffChainCallContract = {
5251
5660
  }
5252
5661
  },
5253
5662
  callData: {
5663
+ constraints: {
5664
+ Pattern: new RegExp("^cb_[0-9A-Za-z+/=]+$")
5665
+ },
5254
5666
  serializedName: "call_data",
5255
5667
  required: true,
5256
5668
  type: {
@@ -5347,6 +5759,9 @@ export const OffChainNewContract = {
5347
5759
  }
5348
5760
  },
5349
5761
  callData: {
5762
+ constraints: {
5763
+ Pattern: new RegExp("^cb_[0-9A-Za-z+/=]+$")
5764
+ },
5350
5765
  serializedName: "call_data",
5351
5766
  required: true,
5352
5767
  type: {
@@ -5423,12 +5838,267 @@ export const OffChainWithdrawal = {
5423
5838
  }
5424
5839
  }
5425
5840
  };
5841
+ export const NameEntryPointersItem = {
5842
+ type: {
5843
+ name: "Composite",
5844
+ className: "NameEntryPointersItem",
5845
+ modelProperties: {
5846
+ ...NamePointer.type.modelProperties
5847
+ }
5848
+ }
5849
+ };
5850
+ export const ProtocolConsensusParameters = {
5851
+ type: {
5852
+ name: "Composite",
5853
+ className: "ProtocolConsensusParameters",
5854
+ modelProperties: {
5855
+ ...Protocol.type.modelProperties,
5856
+ minimumGasPrice: {
5857
+ serializedName: "minimum_gas_price",
5858
+ required: true,
5859
+ type: {
5860
+ // @ts-expect-error we are extending autorest with BigInt support
5861
+ name: "BigInt"
5862
+ }
5863
+ },
5864
+ gasPerByte: {
5865
+ constraints: {
5866
+ InclusiveMaximum: 18446744073709552000,
5867
+ InclusiveMinimum: 0
5868
+ },
5869
+ serializedName: "gas_per_byte",
5870
+ required: true,
5871
+ type: {
5872
+ name: "Number"
5873
+ }
5874
+ },
5875
+ storeByteGas: {
5876
+ constraints: {
5877
+ InclusiveMaximum: 18446744073709552000,
5878
+ InclusiveMinimum: 0
5879
+ },
5880
+ serializedName: "store_byte_gas",
5881
+ required: true,
5882
+ type: {
5883
+ name: "Number"
5884
+ }
5885
+ },
5886
+ txBaseGas: {
5887
+ serializedName: "tx_base_gas",
5888
+ required: true,
5889
+ type: {
5890
+ name: "Dictionary",
5891
+ value: {
5892
+ type: {
5893
+ name: "Number"
5894
+ },
5895
+ constraints: {
5896
+ InclusiveMaximum: 18446744073709552000,
5897
+ InclusiveMinimum: 0
5898
+ }
5899
+ }
5900
+ }
5901
+ },
5902
+ contractTxBaseGas: {
5903
+ serializedName: "contract_tx_base_gas",
5904
+ required: true,
5905
+ type: {
5906
+ name: "Sequence",
5907
+ element: {
5908
+ type: {
5909
+ name: "Composite",
5910
+ className: "ContractTxBaseGas"
5911
+ }
5912
+ }
5913
+ }
5914
+ },
5915
+ stateGasPerBlock: {
5916
+ serializedName: "state_gas_per_block",
5917
+ required: true,
5918
+ type: {
5919
+ name: "Dictionary",
5920
+ value: {
5921
+ type: {
5922
+ name: "Composite",
5923
+ className: "StateGasPerBlock"
5924
+ }
5925
+ }
5926
+ }
5927
+ },
5928
+ nameClaimFees: {
5929
+ constraints: {
5930
+ MinItems: 31,
5931
+ MaxItems: 31
5932
+ },
5933
+ serializedName: "name_claim_fees",
5934
+ required: true,
5935
+ type: {
5936
+ name: "Sequence",
5937
+ element: {
5938
+ type: {
5939
+ // @ts-expect-error we are extending autorest with BigInt support
5940
+ name: "BigInt"
5941
+ }
5942
+ }
5943
+ }
5944
+ },
5945
+ nameAuctionTimeouts: {
5946
+ serializedName: "name_auction_timeouts",
5947
+ required: true,
5948
+ type: {
5949
+ name: "Sequence",
5950
+ element: {
5951
+ type: {
5952
+ name: "Composite",
5953
+ className: "NameAuctionTimeout"
5954
+ }
5955
+ }
5956
+ }
5957
+ },
5958
+ nameClaimBidIncrement: {
5959
+ constraints: {
5960
+ InclusiveMaximum: 18446744073709552000,
5961
+ InclusiveMinimum: 0
5962
+ },
5963
+ serializedName: "name_claim_bid_increment",
5964
+ required: true,
5965
+ type: {
5966
+ name: "Number"
5967
+ }
5968
+ },
5969
+ nameMaxLengthStartingAuction: {
5970
+ constraints: {
5971
+ InclusiveMaximum: 18446744073709552000,
5972
+ InclusiveMinimum: 0
5973
+ },
5974
+ serializedName: "name_max_length_starting_auction",
5975
+ required: true,
5976
+ type: {
5977
+ name: "Number"
5978
+ }
5979
+ },
5980
+ nameClaimMaxExpiration: {
5981
+ constraints: {
5982
+ InclusiveMaximum: 18446744073709552000,
5983
+ InclusiveMinimum: 0
5984
+ },
5985
+ serializedName: "name_claim_max_expiration",
5986
+ required: true,
5987
+ type: {
5988
+ name: "Number"
5989
+ }
5990
+ },
5991
+ nameRegistrars: {
5992
+ serializedName: "name_registrars",
5993
+ required: true,
5994
+ type: {
5995
+ name: "Sequence",
5996
+ element: {
5997
+ type: {
5998
+ name: "String"
5999
+ }
6000
+ }
6001
+ }
6002
+ },
6003
+ namePointersMaxCount: {
6004
+ constraints: {
6005
+ InclusiveMaximum: 18446744073709552000,
6006
+ InclusiveMinimum: 0
6007
+ },
6008
+ serializedName: "name_pointers_max_count",
6009
+ type: {
6010
+ name: "Number"
6011
+ }
6012
+ },
6013
+ namePointerMaxKeySize: {
6014
+ constraints: {
6015
+ InclusiveMaximum: 18446744073709552000,
6016
+ InclusiveMinimum: 0
6017
+ },
6018
+ serializedName: "name_pointer_max_key_size",
6019
+ type: {
6020
+ name: "Number"
6021
+ }
6022
+ },
6023
+ namePreclaimExpiration: {
6024
+ constraints: {
6025
+ InclusiveMaximum: 18446744073709552000,
6026
+ InclusiveMinimum: 0
6027
+ },
6028
+ serializedName: "name_preclaim_expiration",
6029
+ required: true,
6030
+ type: {
6031
+ name: "Number"
6032
+ }
6033
+ },
6034
+ nameClaimPreclaimDelta: {
6035
+ constraints: {
6036
+ InclusiveMaximum: 18446744073709552000,
6037
+ InclusiveMinimum: 0
6038
+ },
6039
+ serializedName: "name_claim_preclaim_delta",
6040
+ required: true,
6041
+ type: {
6042
+ name: "Number"
6043
+ }
6044
+ },
6045
+ nameProtectionPeriod: {
6046
+ constraints: {
6047
+ InclusiveMaximum: 18446744073709552000,
6048
+ InclusiveMinimum: 0
6049
+ },
6050
+ serializedName: "name_protection_period",
6051
+ required: true,
6052
+ type: {
6053
+ name: "Number"
6054
+ }
6055
+ },
6056
+ nameClaimLockedFee: {
6057
+ serializedName: "name_claim_locked_fee",
6058
+ required: true,
6059
+ type: {
6060
+ // @ts-expect-error we are extending autorest with BigInt support
6061
+ name: "BigInt"
6062
+ }
6063
+ },
6064
+ allowedContractVersions: {
6065
+ serializedName: "allowed_contract_versions",
6066
+ required: true,
6067
+ type: {
6068
+ name: "Sequence",
6069
+ element: {
6070
+ type: {
6071
+ name: "Composite",
6072
+ className: "ContractVersion"
6073
+ }
6074
+ }
6075
+ }
6076
+ },
6077
+ allowedOracleAbiVersions: {
6078
+ serializedName: "allowed_oracle_abi_versions",
6079
+ required: true,
6080
+ type: {
6081
+ name: "Sequence",
6082
+ element: {
6083
+ constraints: {
6084
+ InclusiveMaximum: 65535,
6085
+ InclusiveMinimum: 0
6086
+ },
6087
+ type: {
6088
+ name: "Number"
6089
+ }
6090
+ }
6091
+ }
6092
+ }
6093
+ }
6094
+ }
6095
+ };
5426
6096
  export const CreateContractUnsignedTx = {
5427
6097
  type: {
5428
6098
  name: "Composite",
5429
6099
  className: "CreateContractUnsignedTx",
5430
6100
  modelProperties: {
5431
- ...UnsignedTx.type.modelProperties,
6101
+ ...EncodedTx.type.modelProperties,
5432
6102
  contractId: {
5433
6103
  serializedName: "contract_id",
5434
6104
  required: true,
@@ -5439,6 +6109,746 @@ export const CreateContractUnsignedTx = {
5439
6109
  }
5440
6110
  }
5441
6111
  };
6112
+ export const SpendTx = {
6113
+ type: {
6114
+ name: "Composite",
6115
+ className: "SpendTx",
6116
+ modelProperties: {
6117
+ ...SpendTxInput.type.modelProperties
6118
+ }
6119
+ }
6120
+ };
6121
+ export const NodeGetAccountByPubkeyExceptionHeaders = {
6122
+ type: {
6123
+ name: "Composite",
6124
+ className: "NodeGetAccountByPubkeyExceptionHeaders",
6125
+ modelProperties: {
6126
+ retryAfter: {
6127
+ constraints: {
6128
+ InclusiveMinimum: 0
6129
+ },
6130
+ serializedName: "retry-after",
6131
+ type: {
6132
+ name: "Number"
6133
+ }
6134
+ }
6135
+ }
6136
+ }
6137
+ };
6138
+ export const NodeGetAccountByPubkeyAndHashExceptionHeaders = {
6139
+ type: {
6140
+ name: "Composite",
6141
+ className: "NodeGetAccountByPubkeyAndHashExceptionHeaders",
6142
+ modelProperties: {
6143
+ retryAfter: {
6144
+ constraints: {
6145
+ InclusiveMinimum: 0
6146
+ },
6147
+ serializedName: "retry-after",
6148
+ type: {
6149
+ name: "Number"
6150
+ }
6151
+ }
6152
+ }
6153
+ }
6154
+ };
6155
+ export const NodeGetAccountByPubkeyAndHeightExceptionHeaders = {
6156
+ type: {
6157
+ name: "Composite",
6158
+ className: "NodeGetAccountByPubkeyAndHeightExceptionHeaders",
6159
+ modelProperties: {
6160
+ retryAfter: {
6161
+ constraints: {
6162
+ InclusiveMinimum: 0
6163
+ },
6164
+ serializedName: "retry-after",
6165
+ type: {
6166
+ name: "Number"
6167
+ }
6168
+ }
6169
+ }
6170
+ }
6171
+ };
6172
+ export const NodeGetAccountNextNonceExceptionHeaders = {
6173
+ type: {
6174
+ name: "Composite",
6175
+ className: "NodeGetAccountNextNonceExceptionHeaders",
6176
+ modelProperties: {
6177
+ retryAfter: {
6178
+ constraints: {
6179
+ InclusiveMinimum: 0
6180
+ },
6181
+ serializedName: "retry-after",
6182
+ type: {
6183
+ name: "Number"
6184
+ }
6185
+ }
6186
+ }
6187
+ }
6188
+ };
6189
+ export const NodeGetPendingAccountTransactionsByPubkeyExceptionHeaders = {
6190
+ type: {
6191
+ name: "Composite",
6192
+ className: "NodeGetPendingAccountTransactionsByPubkeyExceptionHeaders",
6193
+ modelProperties: {
6194
+ retryAfter: {
6195
+ constraints: {
6196
+ InclusiveMinimum: 0
6197
+ },
6198
+ serializedName: "retry-after",
6199
+ type: {
6200
+ name: "Number"
6201
+ }
6202
+ }
6203
+ }
6204
+ }
6205
+ };
6206
+ export const NodeGetAuctionEntryByNameExceptionHeaders = {
6207
+ type: {
6208
+ name: "Composite",
6209
+ className: "NodeGetAuctionEntryByNameExceptionHeaders",
6210
+ modelProperties: {
6211
+ retryAfter: {
6212
+ constraints: {
6213
+ InclusiveMinimum: 0
6214
+ },
6215
+ serializedName: "retry-after",
6216
+ type: {
6217
+ name: "Number"
6218
+ }
6219
+ }
6220
+ }
6221
+ }
6222
+ };
6223
+ export const NodeGetChannelByPubkeyExceptionHeaders = {
6224
+ type: {
6225
+ name: "Composite",
6226
+ className: "NodeGetChannelByPubkeyExceptionHeaders",
6227
+ modelProperties: {
6228
+ retryAfter: {
6229
+ constraints: {
6230
+ InclusiveMinimum: 0
6231
+ },
6232
+ serializedName: "retry-after",
6233
+ type: {
6234
+ name: "Number"
6235
+ }
6236
+ }
6237
+ }
6238
+ }
6239
+ };
6240
+ export const NodeGetContractExceptionHeaders = {
6241
+ type: {
6242
+ name: "Composite",
6243
+ className: "NodeGetContractExceptionHeaders",
6244
+ modelProperties: {
6245
+ retryAfter: {
6246
+ constraints: {
6247
+ InclusiveMinimum: 0
6248
+ },
6249
+ serializedName: "retry-after",
6250
+ type: {
6251
+ name: "Number"
6252
+ }
6253
+ }
6254
+ }
6255
+ }
6256
+ };
6257
+ export const NodeGetContractCodeExceptionHeaders = {
6258
+ type: {
6259
+ name: "Composite",
6260
+ className: "NodeGetContractCodeExceptionHeaders",
6261
+ modelProperties: {
6262
+ retryAfter: {
6263
+ constraints: {
6264
+ InclusiveMinimum: 0
6265
+ },
6266
+ serializedName: "retry-after",
6267
+ type: {
6268
+ name: "Number"
6269
+ }
6270
+ }
6271
+ }
6272
+ }
6273
+ };
6274
+ export const NodeGetContractPoIExceptionHeaders = {
6275
+ type: {
6276
+ name: "Composite",
6277
+ className: "NodeGetContractPoIExceptionHeaders",
6278
+ modelProperties: {
6279
+ retryAfter: {
6280
+ constraints: {
6281
+ InclusiveMinimum: 0
6282
+ },
6283
+ serializedName: "retry-after",
6284
+ type: {
6285
+ name: "Number"
6286
+ }
6287
+ }
6288
+ }
6289
+ }
6290
+ };
6291
+ export const NodeGetCurrencyExceptionHeaders = {
6292
+ type: {
6293
+ name: "Composite",
6294
+ className: "NodeGetCurrencyExceptionHeaders",
6295
+ modelProperties: {
6296
+ retryAfter: {
6297
+ constraints: {
6298
+ InclusiveMinimum: 0
6299
+ },
6300
+ serializedName: "retry-after",
6301
+ type: {
6302
+ name: "Number"
6303
+ }
6304
+ }
6305
+ }
6306
+ }
6307
+ };
6308
+ export const NodeProtectedDryRunTxsExceptionHeaders = {
6309
+ type: {
6310
+ name: "Composite",
6311
+ className: "NodeProtectedDryRunTxsExceptionHeaders",
6312
+ modelProperties: {
6313
+ retryAfter: {
6314
+ constraints: {
6315
+ InclusiveMinimum: 0
6316
+ },
6317
+ serializedName: "retry-after",
6318
+ type: {
6319
+ name: "Number"
6320
+ }
6321
+ }
6322
+ }
6323
+ }
6324
+ };
6325
+ export const NodeGetCurrentGenerationExceptionHeaders = {
6326
+ type: {
6327
+ name: "Composite",
6328
+ className: "NodeGetCurrentGenerationExceptionHeaders",
6329
+ modelProperties: {
6330
+ retryAfter: {
6331
+ constraints: {
6332
+ InclusiveMinimum: 0
6333
+ },
6334
+ serializedName: "retry-after",
6335
+ type: {
6336
+ name: "Number"
6337
+ }
6338
+ }
6339
+ }
6340
+ }
6341
+ };
6342
+ export const NodeGetGenerationByHashExceptionHeaders = {
6343
+ type: {
6344
+ name: "Composite",
6345
+ className: "NodeGetGenerationByHashExceptionHeaders",
6346
+ modelProperties: {
6347
+ retryAfter: {
6348
+ constraints: {
6349
+ InclusiveMinimum: 0
6350
+ },
6351
+ serializedName: "retry-after",
6352
+ type: {
6353
+ name: "Number"
6354
+ }
6355
+ }
6356
+ }
6357
+ }
6358
+ };
6359
+ export const NodeGetGenerationByHeightExceptionHeaders = {
6360
+ type: {
6361
+ name: "Composite",
6362
+ className: "NodeGetGenerationByHeightExceptionHeaders",
6363
+ modelProperties: {
6364
+ retryAfter: {
6365
+ constraints: {
6366
+ InclusiveMinimum: 0
6367
+ },
6368
+ serializedName: "retry-after",
6369
+ type: {
6370
+ name: "Number"
6371
+ }
6372
+ }
6373
+ }
6374
+ }
6375
+ };
6376
+ export const NodeGetTopHeaderExceptionHeaders = {
6377
+ type: {
6378
+ name: "Composite",
6379
+ className: "NodeGetTopHeaderExceptionHeaders",
6380
+ modelProperties: {
6381
+ retryAfter: {
6382
+ constraints: {
6383
+ InclusiveMinimum: 0
6384
+ },
6385
+ serializedName: "retry-after",
6386
+ type: {
6387
+ name: "Number"
6388
+ }
6389
+ }
6390
+ }
6391
+ }
6392
+ };
6393
+ export const NodeGetPinningTxExceptionHeaders = {
6394
+ type: {
6395
+ name: "Composite",
6396
+ className: "NodeGetPinningTxExceptionHeaders",
6397
+ modelProperties: {
6398
+ retryAfter: {
6399
+ constraints: {
6400
+ InclusiveMinimum: 0
6401
+ },
6402
+ serializedName: "retry-after",
6403
+ type: {
6404
+ name: "Number"
6405
+ }
6406
+ }
6407
+ }
6408
+ }
6409
+ };
6410
+ export const NodeGetHyperchainContractPubkeysExceptionHeaders = {
6411
+ type: {
6412
+ name: "Composite",
6413
+ className: "NodeGetHyperchainContractPubkeysExceptionHeaders",
6414
+ modelProperties: {
6415
+ retryAfter: {
6416
+ constraints: {
6417
+ InclusiveMinimum: 0
6418
+ },
6419
+ serializedName: "retry-after",
6420
+ type: {
6421
+ name: "Number"
6422
+ }
6423
+ }
6424
+ }
6425
+ }
6426
+ };
6427
+ export const NodeGetCurrentKeyBlockExceptionHeaders = {
6428
+ type: {
6429
+ name: "Composite",
6430
+ className: "NodeGetCurrentKeyBlockExceptionHeaders",
6431
+ modelProperties: {
6432
+ retryAfter: {
6433
+ constraints: {
6434
+ InclusiveMinimum: 0
6435
+ },
6436
+ serializedName: "retry-after",
6437
+ type: {
6438
+ name: "Number"
6439
+ }
6440
+ }
6441
+ }
6442
+ }
6443
+ };
6444
+ export const NodeGetCurrentKeyBlockHashExceptionHeaders = {
6445
+ type: {
6446
+ name: "Composite",
6447
+ className: "NodeGetCurrentKeyBlockHashExceptionHeaders",
6448
+ modelProperties: {
6449
+ retryAfter: {
6450
+ constraints: {
6451
+ InclusiveMinimum: 0
6452
+ },
6453
+ serializedName: "retry-after",
6454
+ type: {
6455
+ name: "Number"
6456
+ }
6457
+ }
6458
+ }
6459
+ }
6460
+ };
6461
+ export const NodeGetCurrentKeyBlockHeightExceptionHeaders = {
6462
+ type: {
6463
+ name: "Composite",
6464
+ className: "NodeGetCurrentKeyBlockHeightExceptionHeaders",
6465
+ modelProperties: {
6466
+ retryAfter: {
6467
+ constraints: {
6468
+ InclusiveMinimum: 0
6469
+ },
6470
+ serializedName: "retry-after",
6471
+ type: {
6472
+ name: "Number"
6473
+ }
6474
+ }
6475
+ }
6476
+ }
6477
+ };
6478
+ export const NodeGetKeyBlockByHashExceptionHeaders = {
6479
+ type: {
6480
+ name: "Composite",
6481
+ className: "NodeGetKeyBlockByHashExceptionHeaders",
6482
+ modelProperties: {
6483
+ retryAfter: {
6484
+ constraints: {
6485
+ InclusiveMinimum: 0
6486
+ },
6487
+ serializedName: "retry-after",
6488
+ type: {
6489
+ name: "Number"
6490
+ }
6491
+ }
6492
+ }
6493
+ }
6494
+ };
6495
+ export const NodeGetKeyBlockByHeightExceptionHeaders = {
6496
+ type: {
6497
+ name: "Composite",
6498
+ className: "NodeGetKeyBlockByHeightExceptionHeaders",
6499
+ modelProperties: {
6500
+ retryAfter: {
6501
+ constraints: {
6502
+ InclusiveMinimum: 0
6503
+ },
6504
+ serializedName: "retry-after",
6505
+ type: {
6506
+ name: "Number"
6507
+ }
6508
+ }
6509
+ }
6510
+ }
6511
+ };
6512
+ export const NodeGetPendingKeyBlockExceptionHeaders = {
6513
+ type: {
6514
+ name: "Composite",
6515
+ className: "NodeGetPendingKeyBlockExceptionHeaders",
6516
+ modelProperties: {
6517
+ retryAfter: {
6518
+ constraints: {
6519
+ InclusiveMinimum: 0
6520
+ },
6521
+ serializedName: "retry-after",
6522
+ type: {
6523
+ name: "Number"
6524
+ }
6525
+ }
6526
+ }
6527
+ }
6528
+ };
6529
+ export const NodeGetMicroBlockHeaderByHashExceptionHeaders = {
6530
+ type: {
6531
+ name: "Composite",
6532
+ className: "NodeGetMicroBlockHeaderByHashExceptionHeaders",
6533
+ modelProperties: {
6534
+ retryAfter: {
6535
+ constraints: {
6536
+ InclusiveMinimum: 0
6537
+ },
6538
+ serializedName: "retry-after",
6539
+ type: {
6540
+ name: "Number"
6541
+ }
6542
+ }
6543
+ }
6544
+ }
6545
+ };
6546
+ export const NodeGetMicroBlockTransactionsByHashExceptionHeaders = {
6547
+ type: {
6548
+ name: "Composite",
6549
+ className: "NodeGetMicroBlockTransactionsByHashExceptionHeaders",
6550
+ modelProperties: {
6551
+ retryAfter: {
6552
+ constraints: {
6553
+ InclusiveMinimum: 0
6554
+ },
6555
+ serializedName: "retry-after",
6556
+ type: {
6557
+ name: "Number"
6558
+ }
6559
+ }
6560
+ }
6561
+ }
6562
+ };
6563
+ export const NodeGetMicroBlockTransactionsCountByHashExceptionHeaders = {
6564
+ type: {
6565
+ name: "Composite",
6566
+ className: "NodeGetMicroBlockTransactionsCountByHashExceptionHeaders",
6567
+ modelProperties: {
6568
+ retryAfter: {
6569
+ constraints: {
6570
+ InclusiveMinimum: 0
6571
+ },
6572
+ serializedName: "retry-after",
6573
+ type: {
6574
+ name: "Number"
6575
+ }
6576
+ }
6577
+ }
6578
+ }
6579
+ };
6580
+ export const NodeGetMicroBlockTransactionByHashAndIndexExceptionHeaders = {
6581
+ type: {
6582
+ name: "Composite",
6583
+ className: "NodeGetMicroBlockTransactionByHashAndIndexExceptionHeaders",
6584
+ modelProperties: {
6585
+ retryAfter: {
6586
+ constraints: {
6587
+ InclusiveMinimum: 0
6588
+ },
6589
+ serializedName: "retry-after",
6590
+ type: {
6591
+ name: "Number"
6592
+ }
6593
+ }
6594
+ }
6595
+ }
6596
+ };
6597
+ export const NodeGetNameEntryByNameExceptionHeaders = {
6598
+ type: {
6599
+ name: "Composite",
6600
+ className: "NodeGetNameEntryByNameExceptionHeaders",
6601
+ modelProperties: {
6602
+ retryAfter: {
6603
+ constraints: {
6604
+ InclusiveMinimum: 0
6605
+ },
6606
+ serializedName: "retry-after",
6607
+ type: {
6608
+ name: "Number"
6609
+ }
6610
+ }
6611
+ }
6612
+ }
6613
+ };
6614
+ export const NodeGetNameEntryByNameHashExceptionHeaders = {
6615
+ type: {
6616
+ name: "Composite",
6617
+ className: "NodeGetNameEntryByNameHashExceptionHeaders",
6618
+ modelProperties: {
6619
+ retryAfter: {
6620
+ constraints: {
6621
+ InclusiveMinimum: 0
6622
+ },
6623
+ serializedName: "retry-after",
6624
+ type: {
6625
+ name: "Number"
6626
+ }
6627
+ }
6628
+ }
6629
+ }
6630
+ };
6631
+ export const NodeGetOracleByPubkeyExceptionHeaders = {
6632
+ type: {
6633
+ name: "Composite",
6634
+ className: "NodeGetOracleByPubkeyExceptionHeaders",
6635
+ modelProperties: {
6636
+ retryAfter: {
6637
+ constraints: {
6638
+ InclusiveMinimum: 0
6639
+ },
6640
+ serializedName: "retry-after",
6641
+ type: {
6642
+ name: "Number"
6643
+ }
6644
+ }
6645
+ }
6646
+ }
6647
+ };
6648
+ export const NodeGetOracleQueriesByPubkeyExceptionHeaders = {
6649
+ type: {
6650
+ name: "Composite",
6651
+ className: "NodeGetOracleQueriesByPubkeyExceptionHeaders",
6652
+ modelProperties: {
6653
+ retryAfter: {
6654
+ constraints: {
6655
+ InclusiveMinimum: 0
6656
+ },
6657
+ serializedName: "retry-after",
6658
+ type: {
6659
+ name: "Number"
6660
+ }
6661
+ }
6662
+ }
6663
+ }
6664
+ };
6665
+ export const NodeGetOracleQueryByPubkeyAndQueryIdExceptionHeaders = {
6666
+ type: {
6667
+ name: "Composite",
6668
+ className: "NodeGetOracleQueryByPubkeyAndQueryIdExceptionHeaders",
6669
+ modelProperties: {
6670
+ retryAfter: {
6671
+ constraints: {
6672
+ InclusiveMinimum: 0
6673
+ },
6674
+ serializedName: "retry-after",
6675
+ type: {
6676
+ name: "Number"
6677
+ }
6678
+ }
6679
+ }
6680
+ }
6681
+ };
6682
+ export const NodeGetPeerPubkeyExceptionHeaders = {
6683
+ type: {
6684
+ name: "Composite",
6685
+ className: "NodeGetPeerPubkeyExceptionHeaders",
6686
+ modelProperties: {
6687
+ retryAfter: {
6688
+ constraints: {
6689
+ InclusiveMinimum: 0
6690
+ },
6691
+ serializedName: "retry-after",
6692
+ type: {
6693
+ name: "Number"
6694
+ }
6695
+ }
6696
+ }
6697
+ }
6698
+ };
6699
+ export const NodeGetRecentGasPricesExceptionHeaders = {
6700
+ type: {
6701
+ name: "Composite",
6702
+ className: "NodeGetRecentGasPricesExceptionHeaders",
6703
+ modelProperties: {
6704
+ retryAfter: {
6705
+ constraints: {
6706
+ InclusiveMinimum: 0
6707
+ },
6708
+ serializedName: "retry-after",
6709
+ type: {
6710
+ name: "Number"
6711
+ }
6712
+ }
6713
+ }
6714
+ }
6715
+ };
6716
+ export const NodeGetNodeSettingsExceptionHeaders = {
6717
+ type: {
6718
+ name: "Composite",
6719
+ className: "NodeGetNodeSettingsExceptionHeaders",
6720
+ modelProperties: {
6721
+ retryAfter: {
6722
+ constraints: {
6723
+ InclusiveMinimum: 0
6724
+ },
6725
+ serializedName: "retry-after",
6726
+ type: {
6727
+ name: "Number"
6728
+ }
6729
+ }
6730
+ }
6731
+ }
6732
+ };
6733
+ export const NodeGetProtocolParametersExceptionHeaders = {
6734
+ type: {
6735
+ name: "Composite",
6736
+ className: "NodeGetProtocolParametersExceptionHeaders",
6737
+ modelProperties: {
6738
+ retryAfter: {
6739
+ constraints: {
6740
+ InclusiveMinimum: 0
6741
+ },
6742
+ serializedName: "retry-after",
6743
+ type: {
6744
+ name: "Number"
6745
+ }
6746
+ }
6747
+ }
6748
+ }
6749
+ };
6750
+ export const NodeGetStatusExceptionHeaders = {
6751
+ type: {
6752
+ name: "Composite",
6753
+ className: "NodeGetStatusExceptionHeaders",
6754
+ modelProperties: {
6755
+ retryAfter: {
6756
+ constraints: {
6757
+ InclusiveMinimum: 0
6758
+ },
6759
+ serializedName: "retry-after",
6760
+ type: {
6761
+ name: "Number"
6762
+ }
6763
+ }
6764
+ }
6765
+ }
6766
+ };
6767
+ export const NodeGetChainEndsExceptionHeaders = {
6768
+ type: {
6769
+ name: "Composite",
6770
+ className: "NodeGetChainEndsExceptionHeaders",
6771
+ modelProperties: {
6772
+ retryAfter: {
6773
+ constraints: {
6774
+ InclusiveMinimum: 0
6775
+ },
6776
+ serializedName: "retry-after",
6777
+ type: {
6778
+ name: "Number"
6779
+ }
6780
+ }
6781
+ }
6782
+ }
6783
+ };
6784
+ export const NodeGetSyncStatusExceptionHeaders = {
6785
+ type: {
6786
+ name: "Composite",
6787
+ className: "NodeGetSyncStatusExceptionHeaders",
6788
+ modelProperties: {
6789
+ retryAfter: {
6790
+ constraints: {
6791
+ InclusiveMinimum: 0
6792
+ },
6793
+ serializedName: "retry-after",
6794
+ type: {
6795
+ name: "Number"
6796
+ }
6797
+ }
6798
+ }
6799
+ }
6800
+ };
6801
+ export const NodePostTransactionExceptionHeaders = {
6802
+ type: {
6803
+ name: "Composite",
6804
+ className: "NodePostTransactionExceptionHeaders",
6805
+ modelProperties: {
6806
+ retryAfter: {
6807
+ constraints: {
6808
+ InclusiveMinimum: 0
6809
+ },
6810
+ serializedName: "retry-after",
6811
+ type: {
6812
+ name: "Number"
6813
+ }
6814
+ }
6815
+ }
6816
+ }
6817
+ };
6818
+ export const NodeGetTransactionByHashExceptionHeaders = {
6819
+ type: {
6820
+ name: "Composite",
6821
+ className: "NodeGetTransactionByHashExceptionHeaders",
6822
+ modelProperties: {
6823
+ retryAfter: {
6824
+ constraints: {
6825
+ InclusiveMinimum: 0
6826
+ },
6827
+ serializedName: "retry-after",
6828
+ type: {
6829
+ name: "Number"
6830
+ }
6831
+ }
6832
+ }
6833
+ }
6834
+ };
6835
+ export const NodeGetTransactionInfoByHashExceptionHeaders = {
6836
+ type: {
6837
+ name: "Composite",
6838
+ className: "NodeGetTransactionInfoByHashExceptionHeaders",
6839
+ modelProperties: {
6840
+ retryAfter: {
6841
+ constraints: {
6842
+ InclusiveMinimum: 0
6843
+ },
6844
+ serializedName: "retry-after",
6845
+ type: {
6846
+ name: "Number"
6847
+ }
6848
+ }
6849
+ }
6850
+ }
6851
+ };
5442
6852
  export let discriminators = {
5443
6853
  OffChainUpdate: OffChainUpdate,
5444
6854
  "OffChainUpdate.OffChainCallContract": OffChainCallContract,