everscale-client-ruby 1.1.63 → 1.1.67

Sign up to get free protection for your applications and to get access to all the features.
@@ -1,5 +1,5 @@
1
1
  {
2
- "version": "1.40.0",
2
+ "version": "1.42.1",
3
3
  "modules": [
4
4
  {
5
5
  "name": "client",
@@ -299,6 +299,16 @@
299
299
  "name": "ClientConfig",
300
300
  "type": "Struct",
301
301
  "struct_fields": [
302
+ {
303
+ "name": "binding",
304
+ "type": "Optional",
305
+ "optional_inner": {
306
+ "type": "Ref",
307
+ "ref_name": "client.BindingConfig"
308
+ },
309
+ "summary": null,
310
+ "description": null
311
+ },
302
312
  {
303
313
  "name": "network",
304
314
  "type": "Optional",
@@ -527,7 +537,7 @@
527
537
  "number_size": 32
528
538
  },
529
539
  "summary": "UNSTABLE.",
530
- "description": "First REMP status awaiting timeout. If no status received during the timeout than fallback transaction scenario is activated.\n\nMust be specified in milliseconds. Default is 1000 (1 sec)."
540
+ "description": "First REMP status awaiting timeout. If no status received during the timeout than fallback transaction scenario is activated.\n\nMust be specified in milliseconds. Default is 1 (1 ms) in order to start fallback scenario\ntogether with REMP statuses processing while REMP is not properly tuned yet."
531
541
  },
532
542
  {
533
543
  "name": "next_remp_status_timeout",
@@ -540,6 +550,17 @@
540
550
  "summary": "UNSTABLE.",
541
551
  "description": "Subsequent REMP status awaiting timeout. If no status received during the timeout than fallback transaction scenario is activated.\n\nMust be specified in milliseconds. Default is 5000 (5 sec)."
542
552
  },
553
+ {
554
+ "name": "signature_id",
555
+ "type": "Optional",
556
+ "optional_inner": {
557
+ "type": "Number",
558
+ "number_type": "Int",
559
+ "number_size": 32
560
+ },
561
+ "summary": "Network signature ID which is used by VM in signature verifying instructions if capability `CapSignatureWithId` is enabled in blockchain configuration parameters.",
562
+ "description": "This parameter should be set to `global_id` field from any blockchain block if network can\nnot be reachable at the moment of message encoding and the message is aimed to be sent into\nnetwork with `CapSignatureWithId` enabled. Otherwise signature ID is detected automatically\ninside message encoding functions"
563
+ },
543
564
  {
544
565
  "name": "access_key",
545
566
  "type": "Optional",
@@ -553,6 +574,32 @@
553
574
  "summary": null,
554
575
  "description": null
555
576
  },
577
+ {
578
+ "name": "BindingConfig",
579
+ "type": "Struct",
580
+ "struct_fields": [
581
+ {
582
+ "name": "library",
583
+ "type": "Optional",
584
+ "optional_inner": {
585
+ "type": "String"
586
+ },
587
+ "summary": null,
588
+ "description": null
589
+ },
590
+ {
591
+ "name": "version",
592
+ "type": "Optional",
593
+ "optional_inner": {
594
+ "type": "String"
595
+ },
596
+ "summary": null,
597
+ "description": null
598
+ }
599
+ ],
600
+ "summary": null,
601
+ "description": null
602
+ },
556
603
  {
557
604
  "name": "NetworkQueriesProtocol",
558
605
  "type": "EnumOfConsts",
@@ -581,11 +628,10 @@
581
628
  "name": "mnemonic_dictionary",
582
629
  "type": "Optional",
583
630
  "optional_inner": {
584
- "type": "Number",
585
- "number_type": "UInt",
586
- "number_size": 8
631
+ "type": "Ref",
632
+ "ref_name": "crypto.MnemonicDictionary"
587
633
  },
588
- "summary": "Mnemonic dictionary that will be used by default in crypto functions. If not specified, 1 dictionary will be used.",
634
+ "summary": "Mnemonic dictionary that will be used by default in crypto functions. If not specified, `English` dictionary will be used.",
589
635
  "description": null
590
636
  },
591
637
  {
@@ -1547,9 +1593,8 @@
1547
1593
  "struct_fields": [
1548
1594
  {
1549
1595
  "name": "dictionary",
1550
- "type": "Number",
1551
- "number_type": "UInt",
1552
- "number_size": 8,
1596
+ "type": "Ref",
1597
+ "ref_name": "crypto.MnemonicDictionary",
1553
1598
  "summary": null,
1554
1599
  "description": null
1555
1600
  },
@@ -1577,9 +1622,8 @@
1577
1622
  },
1578
1623
  {
1579
1624
  "name": "dictionary",
1580
- "type": "Number",
1581
- "number_type": "UInt",
1582
- "number_size": 8,
1625
+ "type": "Ref",
1626
+ "ref_name": "crypto.MnemonicDictionary",
1583
1627
  "summary": null,
1584
1628
  "description": null
1585
1629
  },
@@ -1722,6 +1766,77 @@
1722
1766
  "summary": null,
1723
1767
  "description": null
1724
1768
  },
1769
+ {
1770
+ "name": "MnemonicDictionary",
1771
+ "type": "EnumOfConsts",
1772
+ "enum_consts": [
1773
+ {
1774
+ "name": "Ton",
1775
+ "type": "Number",
1776
+ "value": "0",
1777
+ "summary": "TON compatible dictionary",
1778
+ "description": null
1779
+ },
1780
+ {
1781
+ "name": "English",
1782
+ "type": "Number",
1783
+ "value": "1",
1784
+ "summary": "English BIP-39 dictionary",
1785
+ "description": null
1786
+ },
1787
+ {
1788
+ "name": "ChineseSimplified",
1789
+ "type": "Number",
1790
+ "value": "2",
1791
+ "summary": "Chinese simplified BIP-39 dictionary",
1792
+ "description": null
1793
+ },
1794
+ {
1795
+ "name": "ChineseTraditional",
1796
+ "type": "Number",
1797
+ "value": "3",
1798
+ "summary": "Chinese traditional BIP-39 dictionary",
1799
+ "description": null
1800
+ },
1801
+ {
1802
+ "name": "French",
1803
+ "type": "Number",
1804
+ "value": "4",
1805
+ "summary": "French BIP-39 dictionary",
1806
+ "description": null
1807
+ },
1808
+ {
1809
+ "name": "Italian",
1810
+ "type": "Number",
1811
+ "value": "5",
1812
+ "summary": "Italian BIP-39 dictionary",
1813
+ "description": null
1814
+ },
1815
+ {
1816
+ "name": "Japanese",
1817
+ "type": "Number",
1818
+ "value": "6",
1819
+ "summary": "Japanese BIP-39 dictionary",
1820
+ "description": null
1821
+ },
1822
+ {
1823
+ "name": "Korean",
1824
+ "type": "Number",
1825
+ "value": "7",
1826
+ "summary": "Korean BIP-39 dictionary",
1827
+ "description": null
1828
+ },
1829
+ {
1830
+ "name": "Spanish",
1831
+ "type": "Number",
1832
+ "value": "8",
1833
+ "summary": "Spanish BIP-39 dictionary",
1834
+ "description": null
1835
+ }
1836
+ ],
1837
+ "summary": null,
1838
+ "description": null
1839
+ },
1725
1840
  {
1726
1841
  "name": "ParamsOfFactorize",
1727
1842
  "type": "Struct",
@@ -2372,9 +2487,8 @@
2372
2487
  "name": "dictionary",
2373
2488
  "type": "Optional",
2374
2489
  "optional_inner": {
2375
- "type": "Number",
2376
- "number_type": "UInt",
2377
- "number_size": 8
2490
+ "type": "Ref",
2491
+ "ref_name": "crypto.MnemonicDictionary"
2378
2492
  },
2379
2493
  "summary": "Dictionary identifier",
2380
2494
  "description": null
@@ -2405,9 +2519,8 @@
2405
2519
  "name": "dictionary",
2406
2520
  "type": "Optional",
2407
2521
  "optional_inner": {
2408
- "type": "Number",
2409
- "number_type": "UInt",
2410
- "number_size": 8
2522
+ "type": "Ref",
2523
+ "ref_name": "crypto.MnemonicDictionary"
2411
2524
  },
2412
2525
  "summary": "Dictionary identifier",
2413
2526
  "description": null
@@ -2455,9 +2568,8 @@
2455
2568
  "name": "dictionary",
2456
2569
  "type": "Optional",
2457
2570
  "optional_inner": {
2458
- "type": "Number",
2459
- "number_type": "UInt",
2460
- "number_size": 8
2571
+ "type": "Ref",
2572
+ "ref_name": "crypto.MnemonicDictionary"
2461
2573
  },
2462
2574
  "summary": "Dictionary identifier",
2463
2575
  "description": null
@@ -2505,9 +2617,8 @@
2505
2617
  "name": "dictionary",
2506
2618
  "type": "Optional",
2507
2619
  "optional_inner": {
2508
- "type": "Number",
2509
- "number_type": "UInt",
2510
- "number_size": 8
2620
+ "type": "Ref",
2621
+ "ref_name": "crypto.MnemonicDictionary"
2511
2622
  },
2512
2623
  "summary": "Dictionary identifier",
2513
2624
  "description": null
@@ -2564,9 +2675,8 @@
2564
2675
  "name": "dictionary",
2565
2676
  "type": "Optional",
2566
2677
  "optional_inner": {
2567
- "type": "Number",
2568
- "number_type": "UInt",
2569
- "number_size": 8
2678
+ "type": "Ref",
2679
+ "ref_name": "crypto.MnemonicDictionary"
2570
2680
  },
2571
2681
  "summary": "Dictionary identifier",
2572
2682
  "description": null
@@ -2600,9 +2710,8 @@
2600
2710
  "name": "dictionary",
2601
2711
  "type": "Optional",
2602
2712
  "optional_inner": {
2603
- "type": "Number",
2604
- "number_type": "UInt",
2605
- "number_size": 8
2713
+ "type": "Ref",
2714
+ "ref_name": "crypto.MnemonicDictionary"
2606
2715
  },
2607
2716
  "summary": "Dictionary identifier",
2608
2717
  "description": null
@@ -2920,9 +3029,8 @@
2920
3029
  },
2921
3030
  {
2922
3031
  "name": "dictionary",
2923
- "type": "Number",
2924
- "number_type": "UInt",
2925
- "number_size": 8,
3032
+ "type": "Ref",
3033
+ "ref_name": "crypto.MnemonicDictionary",
2926
3034
  "summary": null,
2927
3035
  "description": null
2928
3036
  },
@@ -6210,6 +6318,17 @@
6210
6318
  },
6211
6319
  "summary": "Destination address of the message",
6212
6320
  "description": "Since ABI version 2.3 destination address of external inbound message is used in message\nbody signature calculation. Should be provided when signed external inbound message body is\ncreated. Otherwise can be omitted."
6321
+ },
6322
+ {
6323
+ "name": "signature_id",
6324
+ "type": "Optional",
6325
+ "optional_inner": {
6326
+ "type": "Number",
6327
+ "number_type": "Int",
6328
+ "number_size": 32
6329
+ },
6330
+ "summary": "Signature ID to be used in data to sign preparing when CapSignatureWithId capability is enabled",
6331
+ "description": null
6213
6332
  }
6214
6333
  ],
6215
6334
  "summary": null,
@@ -6342,6 +6461,17 @@
6342
6461
  },
6343
6462
  "summary": "Processing try index.",
6344
6463
  "description": "Used in message processing with retries (if contract's ABI includes \"expire\" header).\n\nEncoder uses the provided try index to calculate message\nexpiration time. The 1st message expiration time is specified in\nClient config.\n\nExpiration timeouts will grow with every retry.\nRetry grow factor is set in Client config:\n<.....add config parameter with default value here>\n\nDefault value is 0."
6464
+ },
6465
+ {
6466
+ "name": "signature_id",
6467
+ "type": "Optional",
6468
+ "optional_inner": {
6469
+ "type": "Number",
6470
+ "number_type": "Int",
6471
+ "number_size": 32
6472
+ },
6473
+ "summary": "Signature ID to be used in data to sign preparing when CapSignatureWithId capability is enabled",
6474
+ "description": null
6345
6475
  }
6346
6476
  ],
6347
6477
  "summary": null,
@@ -7150,6 +7280,17 @@
7150
7280
  "type": "String",
7151
7281
  "summary": "Message BOC encoded in `base64`.",
7152
7282
  "description": null
7283
+ },
7284
+ {
7285
+ "name": "signature_id",
7286
+ "type": "Optional",
7287
+ "optional_inner": {
7288
+ "type": "Number",
7289
+ "number_type": "Int",
7290
+ "number_size": 32
7291
+ },
7292
+ "summary": "Signature ID to be used in unsigned data preparing when CapSignatureWithId capability is enabled",
7293
+ "description": null
7153
7294
  }
7154
7295
  ],
7155
7296
  "summary": null,
@@ -7166,9 +7307,9 @@
7166
7307
  "description": null
7167
7308
  },
7168
7309
  {
7169
- "name": "hash",
7310
+ "name": "unsigned",
7170
7311
  "type": "String",
7171
- "summary": "Hash to verify the signature in `base64`.",
7312
+ "summary": "Data to verify the signature in `base64`.",
7172
7313
  "description": null
7173
7314
  }
7174
7315
  ],
@@ -9540,7 +9681,20 @@
9540
9681
  {
9541
9682
  "name": "WillFetchFirstBlock",
9542
9683
  "type": "Struct",
9543
- "struct_fields": [],
9684
+ "struct_fields": [
9685
+ {
9686
+ "name": "message_id",
9687
+ "type": "String",
9688
+ "summary": null,
9689
+ "description": null
9690
+ },
9691
+ {
9692
+ "name": "message_dst",
9693
+ "type": "String",
9694
+ "summary": null,
9695
+ "description": null
9696
+ }
9697
+ ],
9544
9698
  "summary": "Notifies the application that the account's current shard block will be fetched from the network. This step is performed before the message sending so that sdk knows starting from which block it will search for the transaction.",
9545
9699
  "description": "Fetched block will be used later in waiting phase."
9546
9700
  },
@@ -9554,6 +9708,18 @@
9554
9708
  "ref_name": "client.ClientError",
9555
9709
  "summary": null,
9556
9710
  "description": null
9711
+ },
9712
+ {
9713
+ "name": "message_id",
9714
+ "type": "String",
9715
+ "summary": null,
9716
+ "description": null
9717
+ },
9718
+ {
9719
+ "name": "message_dst",
9720
+ "type": "String",
9721
+ "summary": null,
9722
+ "description": null
9557
9723
  }
9558
9724
  ],
9559
9725
  "summary": "Notifies the app that the client has failed to fetch the account's current shard block.",
@@ -9575,6 +9741,12 @@
9575
9741
  "summary": null,
9576
9742
  "description": null
9577
9743
  },
9744
+ {
9745
+ "name": "message_dst",
9746
+ "type": "String",
9747
+ "summary": null,
9748
+ "description": null
9749
+ },
9578
9750
  {
9579
9751
  "name": "message",
9580
9752
  "type": "String",
@@ -9601,6 +9773,12 @@
9601
9773
  "summary": null,
9602
9774
  "description": null
9603
9775
  },
9776
+ {
9777
+ "name": "message_dst",
9778
+ "type": "String",
9779
+ "summary": null,
9780
+ "description": null
9781
+ },
9604
9782
  {
9605
9783
  "name": "message",
9606
9784
  "type": "String",
@@ -9627,6 +9805,12 @@
9627
9805
  "summary": null,
9628
9806
  "description": null
9629
9807
  },
9808
+ {
9809
+ "name": "message_dst",
9810
+ "type": "String",
9811
+ "summary": null,
9812
+ "description": null
9813
+ },
9630
9814
  {
9631
9815
  "name": "message",
9632
9816
  "type": "String",
@@ -9660,6 +9844,12 @@
9660
9844
  "summary": null,
9661
9845
  "description": null
9662
9846
  },
9847
+ {
9848
+ "name": "message_dst",
9849
+ "type": "String",
9850
+ "summary": null,
9851
+ "description": null
9852
+ },
9663
9853
  {
9664
9854
  "name": "message",
9665
9855
  "type": "String",
@@ -9686,6 +9876,12 @@
9686
9876
  "summary": null,
9687
9877
  "description": null
9688
9878
  },
9879
+ {
9880
+ "name": "message_dst",
9881
+ "type": "String",
9882
+ "summary": null,
9883
+ "description": null
9884
+ },
9689
9885
  {
9690
9886
  "name": "message",
9691
9887
  "type": "String",
@@ -9713,6 +9909,12 @@
9713
9909
  "summary": null,
9714
9910
  "description": null
9715
9911
  },
9912
+ {
9913
+ "name": "message_dst",
9914
+ "type": "String",
9915
+ "summary": null,
9916
+ "description": null
9917
+ },
9716
9918
  {
9717
9919
  "name": "message",
9718
9920
  "type": "String",
@@ -9740,6 +9942,12 @@
9740
9942
  "summary": null,
9741
9943
  "description": null
9742
9944
  },
9945
+ {
9946
+ "name": "message_dst",
9947
+ "type": "String",
9948
+ "summary": null,
9949
+ "description": null
9950
+ },
9743
9951
  {
9744
9952
  "name": "timestamp",
9745
9953
  "type": "BigInt",
@@ -9769,6 +9977,12 @@
9769
9977
  "summary": null,
9770
9978
  "description": null
9771
9979
  },
9980
+ {
9981
+ "name": "message_dst",
9982
+ "type": "String",
9983
+ "summary": null,
9984
+ "description": null
9985
+ },
9772
9986
  {
9773
9987
  "name": "timestamp",
9774
9988
  "type": "BigInt",
@@ -9798,6 +10012,12 @@
9798
10012
  "summary": null,
9799
10013
  "description": null
9800
10014
  },
10015
+ {
10016
+ "name": "message_dst",
10017
+ "type": "String",
10018
+ "summary": null,
10019
+ "description": null
10020
+ },
9801
10021
  {
9802
10022
  "name": "timestamp",
9803
10023
  "type": "BigInt",
@@ -9827,6 +10047,12 @@
9827
10047
  "summary": null,
9828
10048
  "description": null
9829
10049
  },
10050
+ {
10051
+ "name": "message_dst",
10052
+ "type": "String",
10053
+ "summary": null,
10054
+ "description": null
10055
+ },
9830
10056
  {
9831
10057
  "name": "timestamp",
9832
10058
  "type": "BigInt",
@@ -9850,6 +10076,18 @@
9850
10076
  "name": "RempError",
9851
10077
  "type": "Struct",
9852
10078
  "struct_fields": [
10079
+ {
10080
+ "name": "message_id",
10081
+ "type": "String",
10082
+ "summary": null,
10083
+ "description": null
10084
+ },
10085
+ {
10086
+ "name": "message_dst",
10087
+ "type": "String",
10088
+ "summary": null,
10089
+ "description": null
10090
+ },
9853
10091
  {
9854
10092
  "name": "error",
9855
10093
  "type": "Ref",
@@ -9938,13 +10176,434 @@
9938
10176
  "description": null
9939
10177
  },
9940
10178
  {
9941
- "name": "ParamsOfSendMessage",
10179
+ "name": "MessageMonitoringTransactionCompute",
9942
10180
  "type": "Struct",
9943
10181
  "struct_fields": [
9944
10182
  {
9945
- "name": "message",
9946
- "type": "String",
9947
- "summary": "Message BOC.",
10183
+ "name": "exit_code",
10184
+ "type": "Number",
10185
+ "number_type": "Int",
10186
+ "number_size": 32,
10187
+ "summary": "Compute phase exit code.",
10188
+ "description": null
10189
+ }
10190
+ ],
10191
+ "summary": null,
10192
+ "description": null
10193
+ },
10194
+ {
10195
+ "name": "MessageMonitoringTransaction",
10196
+ "type": "Struct",
10197
+ "struct_fields": [
10198
+ {
10199
+ "name": "hash",
10200
+ "type": "Optional",
10201
+ "optional_inner": {
10202
+ "type": "String"
10203
+ },
10204
+ "summary": "Hash of the transaction. Present if transaction was included into the blocks. When then transaction was emulated this field will be missing.",
10205
+ "description": null
10206
+ },
10207
+ {
10208
+ "name": "aborted",
10209
+ "type": "Boolean",
10210
+ "summary": "Aborted field of the transaction.",
10211
+ "description": null
10212
+ },
10213
+ {
10214
+ "name": "compute",
10215
+ "type": "Optional",
10216
+ "optional_inner": {
10217
+ "type": "Ref",
10218
+ "ref_name": "processing.MessageMonitoringTransactionCompute"
10219
+ },
10220
+ "summary": "Optional information about the compute phase of the transaction.",
10221
+ "description": null
10222
+ }
10223
+ ],
10224
+ "summary": null,
10225
+ "description": null
10226
+ },
10227
+ {
10228
+ "name": "MessageMonitoringParams",
10229
+ "type": "Struct",
10230
+ "struct_fields": [
10231
+ {
10232
+ "name": "message",
10233
+ "type": "Ref",
10234
+ "ref_name": "processing.MonitoredMessage",
10235
+ "summary": "Monitored message identification. Can be provided as a message's BOC or (hash, address) pair. BOC is a preferable way because it helps to determine possible error reason (using TVM execution of the message).",
10236
+ "description": null
10237
+ },
10238
+ {
10239
+ "name": "wait_until",
10240
+ "type": "Number",
10241
+ "number_type": "UInt",
10242
+ "number_size": 32,
10243
+ "summary": "Block time Must be specified as a UNIX timestamp in seconds",
10244
+ "description": null
10245
+ },
10246
+ {
10247
+ "name": "user_data",
10248
+ "type": "Optional",
10249
+ "optional_inner": {
10250
+ "type": "Ref",
10251
+ "ref_name": "Value"
10252
+ },
10253
+ "summary": "User defined data associated with this message. Helps to identify this message when user received `MessageMonitoringResult`.",
10254
+ "description": null
10255
+ }
10256
+ ],
10257
+ "summary": null,
10258
+ "description": null
10259
+ },
10260
+ {
10261
+ "name": "MessageMonitoringResult",
10262
+ "type": "Struct",
10263
+ "struct_fields": [
10264
+ {
10265
+ "name": "hash",
10266
+ "type": "String",
10267
+ "summary": "Hash of the message.",
10268
+ "description": null
10269
+ },
10270
+ {
10271
+ "name": "status",
10272
+ "type": "Ref",
10273
+ "ref_name": "processing.MessageMonitoringStatus",
10274
+ "summary": "Processing status.",
10275
+ "description": null
10276
+ },
10277
+ {
10278
+ "name": "transaction",
10279
+ "type": "Optional",
10280
+ "optional_inner": {
10281
+ "type": "Ref",
10282
+ "ref_name": "processing.MessageMonitoringTransaction"
10283
+ },
10284
+ "summary": "In case of `Finalized` the transaction is extracted from the block. In case of `Timeout` the transaction is emulated using the last known account state.",
10285
+ "description": null
10286
+ },
10287
+ {
10288
+ "name": "error",
10289
+ "type": "Optional",
10290
+ "optional_inner": {
10291
+ "type": "String"
10292
+ },
10293
+ "summary": "In case of `Timeout` contains possible error reason.",
10294
+ "description": null
10295
+ },
10296
+ {
10297
+ "name": "user_data",
10298
+ "type": "Optional",
10299
+ "optional_inner": {
10300
+ "type": "Ref",
10301
+ "ref_name": "Value"
10302
+ },
10303
+ "summary": "User defined data related to this message. This is the same value as passed before with `MessageMonitoringParams` or `SendMessageParams`.",
10304
+ "description": null
10305
+ }
10306
+ ],
10307
+ "summary": null,
10308
+ "description": null
10309
+ },
10310
+ {
10311
+ "name": "MonitorFetchWaitMode",
10312
+ "type": "EnumOfConsts",
10313
+ "enum_consts": [
10314
+ {
10315
+ "name": "AtLeastOne",
10316
+ "type": "None",
10317
+ "summary": "If there are no resolved results yet, then monitor awaits for the next resolved result.",
10318
+ "description": null
10319
+ },
10320
+ {
10321
+ "name": "All",
10322
+ "type": "None",
10323
+ "summary": "Monitor waits until all unresolved messages will be resolved. If there are no unresolved messages then monitor will wait.",
10324
+ "description": null
10325
+ },
10326
+ {
10327
+ "name": "NoWait",
10328
+ "type": "None",
10329
+ "summary": null,
10330
+ "description": null
10331
+ }
10332
+ ],
10333
+ "summary": null,
10334
+ "description": null
10335
+ },
10336
+ {
10337
+ "name": "MonitoredMessage",
10338
+ "type": "EnumOfTypes",
10339
+ "enum_types": [
10340
+ {
10341
+ "name": "Boc",
10342
+ "type": "Struct",
10343
+ "struct_fields": [
10344
+ {
10345
+ "name": "boc",
10346
+ "type": "String",
10347
+ "summary": null,
10348
+ "description": null
10349
+ }
10350
+ ],
10351
+ "summary": "BOC of the message.",
10352
+ "description": null
10353
+ },
10354
+ {
10355
+ "name": "HashAddress",
10356
+ "type": "Struct",
10357
+ "struct_fields": [
10358
+ {
10359
+ "name": "hash",
10360
+ "type": "String",
10361
+ "summary": "Hash of the message.",
10362
+ "description": null
10363
+ },
10364
+ {
10365
+ "name": "address",
10366
+ "type": "String",
10367
+ "summary": "Destination address of the message.",
10368
+ "description": null
10369
+ }
10370
+ ],
10371
+ "summary": "Message's hash and destination address.",
10372
+ "description": null
10373
+ }
10374
+ ],
10375
+ "summary": null,
10376
+ "description": null
10377
+ },
10378
+ {
10379
+ "name": "MessageMonitoringStatus",
10380
+ "type": "EnumOfConsts",
10381
+ "enum_consts": [
10382
+ {
10383
+ "name": "Finalized",
10384
+ "type": "None",
10385
+ "summary": "Returned when the messages was processed and included into finalized block before `wait_until` block time.",
10386
+ "description": null
10387
+ },
10388
+ {
10389
+ "name": "Timeout",
10390
+ "type": "None",
10391
+ "summary": "Returned when the message was not processed until `wait_until` block time.",
10392
+ "description": null
10393
+ },
10394
+ {
10395
+ "name": "Reserved",
10396
+ "type": "None",
10397
+ "summary": "Reserved for future statuses.",
10398
+ "description": "Is never returned. Application should wait for one of the `Finalized` or `Timeout` statuses.\nAll other statuses are intermediate."
10399
+ }
10400
+ ],
10401
+ "summary": null,
10402
+ "description": null
10403
+ },
10404
+ {
10405
+ "name": "MessageSendingParams",
10406
+ "type": "Struct",
10407
+ "struct_fields": [
10408
+ {
10409
+ "name": "boc",
10410
+ "type": "String",
10411
+ "summary": "BOC of the message, that must be sent to the blockchain.",
10412
+ "description": null
10413
+ },
10414
+ {
10415
+ "name": "wait_until",
10416
+ "type": "Number",
10417
+ "number_type": "UInt",
10418
+ "number_size": 32,
10419
+ "summary": "Expiration time of the message. Must be specified as a UNIX timestamp in seconds.",
10420
+ "description": null
10421
+ },
10422
+ {
10423
+ "name": "user_data",
10424
+ "type": "Optional",
10425
+ "optional_inner": {
10426
+ "type": "Ref",
10427
+ "ref_name": "Value"
10428
+ },
10429
+ "summary": "User defined data associated with this message. Helps to identify this message when user received `MessageMonitoringResult`.",
10430
+ "description": null
10431
+ }
10432
+ ],
10433
+ "summary": null,
10434
+ "description": null
10435
+ },
10436
+ {
10437
+ "name": "ParamsOfMonitorMessages",
10438
+ "type": "Struct",
10439
+ "struct_fields": [
10440
+ {
10441
+ "name": "queue",
10442
+ "type": "String",
10443
+ "summary": "Name of the monitoring queue.",
10444
+ "description": null
10445
+ },
10446
+ {
10447
+ "name": "messages",
10448
+ "type": "Array",
10449
+ "array_item": {
10450
+ "type": "Ref",
10451
+ "ref_name": "processing.MessageMonitoringParams"
10452
+ },
10453
+ "summary": "Messages to start monitoring for.",
10454
+ "description": null
10455
+ }
10456
+ ],
10457
+ "summary": null,
10458
+ "description": null
10459
+ },
10460
+ {
10461
+ "name": "ParamsOfGetMonitorInfo",
10462
+ "type": "Struct",
10463
+ "struct_fields": [
10464
+ {
10465
+ "name": "queue",
10466
+ "type": "String",
10467
+ "summary": "Name of the monitoring queue.",
10468
+ "description": null
10469
+ }
10470
+ ],
10471
+ "summary": null,
10472
+ "description": null
10473
+ },
10474
+ {
10475
+ "name": "MonitoringQueueInfo",
10476
+ "type": "Struct",
10477
+ "struct_fields": [
10478
+ {
10479
+ "name": "unresolved",
10480
+ "type": "Number",
10481
+ "number_type": "UInt",
10482
+ "number_size": 32,
10483
+ "summary": "Count of the unresolved messages.",
10484
+ "description": null
10485
+ },
10486
+ {
10487
+ "name": "resolved",
10488
+ "type": "Number",
10489
+ "number_type": "UInt",
10490
+ "number_size": 32,
10491
+ "summary": "Count of resolved results.",
10492
+ "description": null
10493
+ }
10494
+ ],
10495
+ "summary": null,
10496
+ "description": null
10497
+ },
10498
+ {
10499
+ "name": "ParamsOfFetchNextMonitorResults",
10500
+ "type": "Struct",
10501
+ "struct_fields": [
10502
+ {
10503
+ "name": "queue",
10504
+ "type": "String",
10505
+ "summary": "Name of the monitoring queue.",
10506
+ "description": null
10507
+ },
10508
+ {
10509
+ "name": "wait_mode",
10510
+ "type": "Optional",
10511
+ "optional_inner": {
10512
+ "type": "Ref",
10513
+ "ref_name": "processing.MonitorFetchWaitMode"
10514
+ },
10515
+ "summary": "Wait mode.",
10516
+ "description": "Default is `NO_WAIT`."
10517
+ }
10518
+ ],
10519
+ "summary": null,
10520
+ "description": null
10521
+ },
10522
+ {
10523
+ "name": "ResultOfFetchNextMonitorResults",
10524
+ "type": "Struct",
10525
+ "struct_fields": [
10526
+ {
10527
+ "name": "results",
10528
+ "type": "Array",
10529
+ "array_item": {
10530
+ "type": "Ref",
10531
+ "ref_name": "processing.MessageMonitoringResult"
10532
+ },
10533
+ "summary": "List of the resolved results.",
10534
+ "description": null
10535
+ }
10536
+ ],
10537
+ "summary": null,
10538
+ "description": null
10539
+ },
10540
+ {
10541
+ "name": "ParamsOfCancelMonitor",
10542
+ "type": "Struct",
10543
+ "struct_fields": [
10544
+ {
10545
+ "name": "queue",
10546
+ "type": "String",
10547
+ "summary": "Name of the monitoring queue.",
10548
+ "description": null
10549
+ }
10550
+ ],
10551
+ "summary": null,
10552
+ "description": null
10553
+ },
10554
+ {
10555
+ "name": "ParamsOfSendMessages",
10556
+ "type": "Struct",
10557
+ "struct_fields": [
10558
+ {
10559
+ "name": "messages",
10560
+ "type": "Array",
10561
+ "array_item": {
10562
+ "type": "Ref",
10563
+ "ref_name": "processing.MessageSendingParams"
10564
+ },
10565
+ "summary": "Messages that must be sent to the blockchain.",
10566
+ "description": null
10567
+ },
10568
+ {
10569
+ "name": "monitor_queue",
10570
+ "type": "Optional",
10571
+ "optional_inner": {
10572
+ "type": "String"
10573
+ },
10574
+ "summary": "Optional message monitor queue that starts monitoring for the processing results for sent messages.",
10575
+ "description": null
10576
+ }
10577
+ ],
10578
+ "summary": null,
10579
+ "description": null
10580
+ },
10581
+ {
10582
+ "name": "ResultOfSendMessages",
10583
+ "type": "Struct",
10584
+ "struct_fields": [
10585
+ {
10586
+ "name": "messages",
10587
+ "type": "Array",
10588
+ "array_item": {
10589
+ "type": "Ref",
10590
+ "ref_name": "processing.MessageMonitoringParams"
10591
+ },
10592
+ "summary": "Messages that was sent to the blockchain for execution.",
10593
+ "description": null
10594
+ }
10595
+ ],
10596
+ "summary": null,
10597
+ "description": null
10598
+ },
10599
+ {
10600
+ "name": "ParamsOfSendMessage",
10601
+ "type": "Struct",
10602
+ "struct_fields": [
10603
+ {
10604
+ "name": "message",
10605
+ "type": "String",
10606
+ "summary": "Message BOC.",
9948
10607
  "description": null
9949
10608
  },
9950
10609
  {
@@ -10061,6 +10720,194 @@
10061
10720
  }
10062
10721
  ],
10063
10722
  "functions": [
10723
+ {
10724
+ "name": "monitor_messages",
10725
+ "summary": "Starts monitoring for the processing results of the specified messages.",
10726
+ "description": "Message monitor performs background monitoring for a message processing results\nfor the specified set of messages.\n\nMessage monitor can serve several isolated monitoring queues.\nEach monitor queue has a unique application defined identifier (or name) used\nto separate several queue's.\n\nThere are two important lists inside of the monitoring queue:\n\n- unresolved messages: contains messages requested by the application for monitoring\n and not yet resolved;\n\n- resolved results: contains resolved processing results for monitored messages.\n\nEach monitoring queue tracks own unresolved and resolved lists.\nApplication can add more messages to the monitoring queue at any time.\n\nMessage monitor accumulates resolved results.\nApplication should fetch this results with `fetchNextMonitorResults` function.\n\nWhen both unresolved and resolved lists becomes empty, monitor stops any background activity\nand frees all allocated internal memory.\n\nIf monitoring queue with specified name already exists then messages will be added\nto the unresolved list.\n\nIf monitoring queue with specified name does not exist then monitoring queue will be created\nwith specified unresolved messages.",
10727
+ "params": [
10728
+ {
10729
+ "name": "context",
10730
+ "type": "Generic",
10731
+ "generic_name": "Arc",
10732
+ "generic_args": [
10733
+ {
10734
+ "type": "Ref",
10735
+ "ref_name": "ClientContext"
10736
+ }
10737
+ ],
10738
+ "summary": null,
10739
+ "description": null
10740
+ },
10741
+ {
10742
+ "name": "params",
10743
+ "type": "Ref",
10744
+ "ref_name": "processing.ParamsOfMonitorMessages",
10745
+ "summary": null,
10746
+ "description": null
10747
+ }
10748
+ ],
10749
+ "result": {
10750
+ "type": "Generic",
10751
+ "generic_name": "ClientResult",
10752
+ "generic_args": [
10753
+ {
10754
+ "type": "None"
10755
+ }
10756
+ ]
10757
+ },
10758
+ "errors": null
10759
+ },
10760
+ {
10761
+ "name": "get_monitor_info",
10762
+ "summary": "Returns summary information about current state of the specified monitoring queue.",
10763
+ "description": null,
10764
+ "params": [
10765
+ {
10766
+ "name": "context",
10767
+ "type": "Generic",
10768
+ "generic_name": "Arc",
10769
+ "generic_args": [
10770
+ {
10771
+ "type": "Ref",
10772
+ "ref_name": "ClientContext"
10773
+ }
10774
+ ],
10775
+ "summary": null,
10776
+ "description": null
10777
+ },
10778
+ {
10779
+ "name": "params",
10780
+ "type": "Ref",
10781
+ "ref_name": "processing.ParamsOfGetMonitorInfo",
10782
+ "summary": null,
10783
+ "description": null
10784
+ }
10785
+ ],
10786
+ "result": {
10787
+ "type": "Generic",
10788
+ "generic_name": "ClientResult",
10789
+ "generic_args": [
10790
+ {
10791
+ "type": "Ref",
10792
+ "ref_name": "processing.MonitoringQueueInfo"
10793
+ }
10794
+ ]
10795
+ },
10796
+ "errors": null
10797
+ },
10798
+ {
10799
+ "name": "fetch_next_monitor_results",
10800
+ "summary": "Fetches next resolved results from the specified monitoring queue.",
10801
+ "description": "Results and waiting options are depends on the `wait` parameter.\nAll returned results will be removed from the queue's resolved list.",
10802
+ "params": [
10803
+ {
10804
+ "name": "context",
10805
+ "type": "Generic",
10806
+ "generic_name": "Arc",
10807
+ "generic_args": [
10808
+ {
10809
+ "type": "Ref",
10810
+ "ref_name": "ClientContext"
10811
+ }
10812
+ ],
10813
+ "summary": null,
10814
+ "description": null
10815
+ },
10816
+ {
10817
+ "name": "params",
10818
+ "type": "Ref",
10819
+ "ref_name": "processing.ParamsOfFetchNextMonitorResults",
10820
+ "summary": null,
10821
+ "description": null
10822
+ }
10823
+ ],
10824
+ "result": {
10825
+ "type": "Generic",
10826
+ "generic_name": "ClientResult",
10827
+ "generic_args": [
10828
+ {
10829
+ "type": "Ref",
10830
+ "ref_name": "processing.ResultOfFetchNextMonitorResults"
10831
+ }
10832
+ ]
10833
+ },
10834
+ "errors": null
10835
+ },
10836
+ {
10837
+ "name": "cancel_monitor",
10838
+ "summary": "Cancels all background activity and releases all allocated system resources for the specified monitoring queue.",
10839
+ "description": null,
10840
+ "params": [
10841
+ {
10842
+ "name": "context",
10843
+ "type": "Generic",
10844
+ "generic_name": "Arc",
10845
+ "generic_args": [
10846
+ {
10847
+ "type": "Ref",
10848
+ "ref_name": "ClientContext"
10849
+ }
10850
+ ],
10851
+ "summary": null,
10852
+ "description": null
10853
+ },
10854
+ {
10855
+ "name": "params",
10856
+ "type": "Ref",
10857
+ "ref_name": "processing.ParamsOfCancelMonitor",
10858
+ "summary": null,
10859
+ "description": null
10860
+ }
10861
+ ],
10862
+ "result": {
10863
+ "type": "Generic",
10864
+ "generic_name": "ClientResult",
10865
+ "generic_args": [
10866
+ {
10867
+ "type": "None"
10868
+ }
10869
+ ]
10870
+ },
10871
+ "errors": null
10872
+ },
10873
+ {
10874
+ "name": "send_messages",
10875
+ "summary": "Sends specified messages to the blockchain.",
10876
+ "description": null,
10877
+ "params": [
10878
+ {
10879
+ "name": "context",
10880
+ "type": "Generic",
10881
+ "generic_name": "Arc",
10882
+ "generic_args": [
10883
+ {
10884
+ "type": "Ref",
10885
+ "ref_name": "ClientContext"
10886
+ }
10887
+ ],
10888
+ "summary": null,
10889
+ "description": null
10890
+ },
10891
+ {
10892
+ "name": "params",
10893
+ "type": "Ref",
10894
+ "ref_name": "processing.ParamsOfSendMessages",
10895
+ "summary": null,
10896
+ "description": null
10897
+ }
10898
+ ],
10899
+ "result": {
10900
+ "type": "Generic",
10901
+ "generic_name": "ClientResult",
10902
+ "generic_args": [
10903
+ {
10904
+ "type": "Ref",
10905
+ "ref_name": "processing.ResultOfSendMessages"
10906
+ }
10907
+ ]
10908
+ },
10909
+ "errors": null
10910
+ },
10064
10911
  {
10065
10912
  "name": "send_message",
10066
10913
  "summary": "Sends message to the network",
@@ -10821,6 +11668,17 @@
10821
11668
  },
10822
11669
  "summary": "Overrides standard TVM behaviour. If set to `true` then CHKSIG always will return `true`.",
10823
11670
  "description": null
11671
+ },
11672
+ {
11673
+ "name": "signature_id",
11674
+ "type": "Optional",
11675
+ "optional_inner": {
11676
+ "type": "Number",
11677
+ "number_type": "Int",
11678
+ "number_size": 32
11679
+ },
11680
+ "summary": "Signature ID to be used in signature verifying instructions when CapSignatureWithId capability is enabled",
11681
+ "description": null
10824
11682
  }
10825
11683
  ],
10826
11684
  "summary": null,
@@ -11468,6 +12326,13 @@
11468
12326
  "value": "617",
11469
12327
  "summary": null,
11470
12328
  "description": null
12329
+ },
12330
+ {
12331
+ "name": "WrongWebscoketProtocolSequence",
12332
+ "type": "Number",
12333
+ "value": "618",
12334
+ "summary": null,
12335
+ "description": null
11471
12336
  }
11472
12337
  ],
11473
12338
  "summary": null,
@@ -12502,6 +13367,25 @@
12502
13367
  ],
12503
13368
  "summary": null,
12504
13369
  "description": null
13370
+ },
13371
+ {
13372
+ "name": "ResultOfGetSignatureId",
13373
+ "type": "Struct",
13374
+ "struct_fields": [
13375
+ {
13376
+ "name": "signature_id",
13377
+ "type": "Optional",
13378
+ "optional_inner": {
13379
+ "type": "Number",
13380
+ "number_type": "Int",
13381
+ "number_size": 32
13382
+ },
13383
+ "summary": "Signature ID for configured network if it should be used in messages signature",
13384
+ "description": null
13385
+ }
13386
+ ],
13387
+ "summary": null,
13388
+ "description": null
12505
13389
  }
12506
13390
  ],
12507
13391
  "functions": [
@@ -13333,6 +14217,37 @@
13333
14217
  ]
13334
14218
  },
13335
14219
  "errors": null
14220
+ },
14221
+ {
14222
+ "name": "get_signature_id",
14223
+ "summary": "Returns signature ID for configured network if it should be used in messages signature",
14224
+ "description": null,
14225
+ "params": [
14226
+ {
14227
+ "name": "context",
14228
+ "type": "Generic",
14229
+ "generic_name": "Arc",
14230
+ "generic_args": [
14231
+ {
14232
+ "type": "Ref",
14233
+ "ref_name": "ClientContext"
14234
+ }
14235
+ ],
14236
+ "summary": null,
14237
+ "description": null
14238
+ }
14239
+ ],
14240
+ "result": {
14241
+ "type": "Generic",
14242
+ "generic_name": "ClientResult",
14243
+ "generic_args": [
14244
+ {
14245
+ "type": "Ref",
14246
+ "ref_name": "net.ResultOfGetSignatureId"
14247
+ }
14248
+ ]
14249
+ },
14250
+ "errors": null
13336
14251
  }
13337
14252
  ]
13338
14253
  },