everscale-client-ruby 1.1.62 → 1.1.65

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 2a2bab7f5d6d74b7d68602ecf6b77c0a999de5900dfa7ad4b02c812cd2eceb1e
4
- data.tar.gz: 47848c0c8c8cc1b44e8a6b24200f06fbf33bd91342448205a45c9cd9562bde0c
3
+ metadata.gz: 2a01155f4589eeb2c71affb8eec858a5e38e4db3928235bbe3b885107ba65adb
4
+ data.tar.gz: dd03f07a778fe45b1ae8a77bc96609d8cf43922f9b83a79e31a43122ebed4438
5
5
  SHA512:
6
- metadata.gz: 8b65048731697859466883fbd71fe0eefcabc812fb39464a14b9e403b04f6a94ad33fd42921c1d8a095a88f2f0780ef257cef119d70a7d189df3badced88c8c0
7
- data.tar.gz: 9125a9353c68f040e3e9122c69a6ebcbc6f0a21b06872439bfb776559e190b0b051e557164f481b0207ca55f63098c4a66031a00e07b546ae7ee05dd18355bd8
6
+ metadata.gz: a495fe2811159d00aced8aa7106814e9f4cad5c1759a8df230906921adc33d0754781f4a10986000cdaabbc7902addcd285d76bcc0d5957cc26fd6fc23371797
7
+ data.tar.gz: 65e70b107f6cb0063cb70eeef316e31c9dd7de841ee4f0a61893ba96f837c9e3330acdff4fbff3514ad08498342c790443b5d0b75c45770c85ca575bcd294f0c
@@ -1,5 +1,5 @@
1
1
  {
2
- "version": "1.39.0",
2
+ "version": "1.41.0",
3
3
  "modules": [
4
4
  {
5
5
  "name": "client",
@@ -254,6 +254,13 @@
254
254
  "value": "35",
255
255
  "summary": null,
256
256
  "description": null
257
+ },
258
+ {
259
+ "name": "InvalidData",
260
+ "type": "Number",
261
+ "value": "36",
262
+ "summary": null,
263
+ "description": null
257
264
  }
258
265
  ],
259
266
  "summary": null,
@@ -292,6 +299,16 @@
292
299
  "name": "ClientConfig",
293
300
  "type": "Struct",
294
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
+ },
295
312
  {
296
313
  "name": "network",
297
314
  "type": "Optional",
@@ -533,6 +550,17 @@
533
550
  "summary": "UNSTABLE.",
534
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)."
535
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
+ },
536
564
  {
537
565
  "name": "access_key",
538
566
  "type": "Optional",
@@ -546,6 +574,32 @@
546
574
  "summary": null,
547
575
  "description": null
548
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
+ },
549
603
  {
550
604
  "name": "NetworkQueriesProtocol",
551
605
  "type": "EnumOfConsts",
@@ -574,11 +628,10 @@
574
628
  "name": "mnemonic_dictionary",
575
629
  "type": "Optional",
576
630
  "optional_inner": {
577
- "type": "Number",
578
- "number_type": "UInt",
579
- "number_size": 8
631
+ "type": "Ref",
632
+ "ref_name": "crypto.MnemonicDictionary"
580
633
  },
581
- "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.",
582
635
  "description": null
583
636
  },
584
637
  {
@@ -1540,9 +1593,8 @@
1540
1593
  "struct_fields": [
1541
1594
  {
1542
1595
  "name": "dictionary",
1543
- "type": "Number",
1544
- "number_type": "UInt",
1545
- "number_size": 8,
1596
+ "type": "Ref",
1597
+ "ref_name": "crypto.MnemonicDictionary",
1546
1598
  "summary": null,
1547
1599
  "description": null
1548
1600
  },
@@ -1570,9 +1622,8 @@
1570
1622
  },
1571
1623
  {
1572
1624
  "name": "dictionary",
1573
- "type": "Number",
1574
- "number_type": "UInt",
1575
- "number_size": 8,
1625
+ "type": "Ref",
1626
+ "ref_name": "crypto.MnemonicDictionary",
1576
1627
  "summary": null,
1577
1628
  "description": null
1578
1629
  },
@@ -1715,6 +1766,77 @@
1715
1766
  "summary": null,
1716
1767
  "description": null
1717
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
+ },
1718
1840
  {
1719
1841
  "name": "ParamsOfFactorize",
1720
1842
  "type": "Struct",
@@ -2365,9 +2487,8 @@
2365
2487
  "name": "dictionary",
2366
2488
  "type": "Optional",
2367
2489
  "optional_inner": {
2368
- "type": "Number",
2369
- "number_type": "UInt",
2370
- "number_size": 8
2490
+ "type": "Ref",
2491
+ "ref_name": "crypto.MnemonicDictionary"
2371
2492
  },
2372
2493
  "summary": "Dictionary identifier",
2373
2494
  "description": null
@@ -2398,9 +2519,8 @@
2398
2519
  "name": "dictionary",
2399
2520
  "type": "Optional",
2400
2521
  "optional_inner": {
2401
- "type": "Number",
2402
- "number_type": "UInt",
2403
- "number_size": 8
2522
+ "type": "Ref",
2523
+ "ref_name": "crypto.MnemonicDictionary"
2404
2524
  },
2405
2525
  "summary": "Dictionary identifier",
2406
2526
  "description": null
@@ -2448,9 +2568,8 @@
2448
2568
  "name": "dictionary",
2449
2569
  "type": "Optional",
2450
2570
  "optional_inner": {
2451
- "type": "Number",
2452
- "number_type": "UInt",
2453
- "number_size": 8
2571
+ "type": "Ref",
2572
+ "ref_name": "crypto.MnemonicDictionary"
2454
2573
  },
2455
2574
  "summary": "Dictionary identifier",
2456
2575
  "description": null
@@ -2498,9 +2617,8 @@
2498
2617
  "name": "dictionary",
2499
2618
  "type": "Optional",
2500
2619
  "optional_inner": {
2501
- "type": "Number",
2502
- "number_type": "UInt",
2503
- "number_size": 8
2620
+ "type": "Ref",
2621
+ "ref_name": "crypto.MnemonicDictionary"
2504
2622
  },
2505
2623
  "summary": "Dictionary identifier",
2506
2624
  "description": null
@@ -2557,9 +2675,8 @@
2557
2675
  "name": "dictionary",
2558
2676
  "type": "Optional",
2559
2677
  "optional_inner": {
2560
- "type": "Number",
2561
- "number_type": "UInt",
2562
- "number_size": 8
2678
+ "type": "Ref",
2679
+ "ref_name": "crypto.MnemonicDictionary"
2563
2680
  },
2564
2681
  "summary": "Dictionary identifier",
2565
2682
  "description": null
@@ -2593,9 +2710,8 @@
2593
2710
  "name": "dictionary",
2594
2711
  "type": "Optional",
2595
2712
  "optional_inner": {
2596
- "type": "Number",
2597
- "number_type": "UInt",
2598
- "number_size": 8
2713
+ "type": "Ref",
2714
+ "ref_name": "crypto.MnemonicDictionary"
2599
2715
  },
2600
2716
  "summary": "Dictionary identifier",
2601
2717
  "description": null
@@ -2913,9 +3029,8 @@
2913
3029
  },
2914
3030
  {
2915
3031
  "name": "dictionary",
2916
- "type": "Number",
2917
- "number_type": "UInt",
2918
- "number_size": 8,
3032
+ "type": "Ref",
3033
+ "ref_name": "crypto.MnemonicDictionary",
2919
3034
  "summary": null,
2920
3035
  "description": null
2921
3036
  },
@@ -6203,6 +6318,17 @@
6203
6318
  },
6204
6319
  "summary": "Destination address of the message",
6205
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
6206
6332
  }
6207
6333
  ],
6208
6334
  "summary": null,
@@ -6335,6 +6461,17 @@
6335
6461
  },
6336
6462
  "summary": "Processing try index.",
6337
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
6338
6475
  }
6339
6476
  ],
6340
6477
  "summary": null,
@@ -7126,6 +7263,58 @@
7126
7263
  ],
7127
7264
  "summary": null,
7128
7265
  "description": null
7266
+ },
7267
+ {
7268
+ "name": "ParamsOfGetSignatureData",
7269
+ "type": "Struct",
7270
+ "struct_fields": [
7271
+ {
7272
+ "name": "abi",
7273
+ "type": "Ref",
7274
+ "ref_name": "abi.Abi",
7275
+ "summary": "Contract ABI used to decode.",
7276
+ "description": null
7277
+ },
7278
+ {
7279
+ "name": "message",
7280
+ "type": "String",
7281
+ "summary": "Message BOC encoded in `base64`.",
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
7294
+ }
7295
+ ],
7296
+ "summary": null,
7297
+ "description": null
7298
+ },
7299
+ {
7300
+ "name": "ResultOfGetSignatureData",
7301
+ "type": "Struct",
7302
+ "struct_fields": [
7303
+ {
7304
+ "name": "signature",
7305
+ "type": "String",
7306
+ "summary": "Signature from the message in `hex`.",
7307
+ "description": null
7308
+ },
7309
+ {
7310
+ "name": "unsigned",
7311
+ "type": "String",
7312
+ "summary": "Data to verify the signature in `base64`.",
7313
+ "description": null
7314
+ }
7315
+ ],
7316
+ "summary": null,
7317
+ "description": null
7129
7318
  }
7130
7319
  ],
7131
7320
  "functions": [
@@ -7698,6 +7887,44 @@
7698
7887
  ]
7699
7888
  },
7700
7889
  "errors": null
7890
+ },
7891
+ {
7892
+ "name": "get_signature_data",
7893
+ "summary": "Extracts signature from message body and calculates hash to verify the signature",
7894
+ "description": null,
7895
+ "params": [
7896
+ {
7897
+ "name": "context",
7898
+ "type": "Generic",
7899
+ "generic_name": "Arc",
7900
+ "generic_args": [
7901
+ {
7902
+ "type": "Ref",
7903
+ "ref_name": "ClientContext"
7904
+ }
7905
+ ],
7906
+ "summary": null,
7907
+ "description": null
7908
+ },
7909
+ {
7910
+ "name": "params",
7911
+ "type": "Ref",
7912
+ "ref_name": "abi.ParamsOfGetSignatureData",
7913
+ "summary": null,
7914
+ "description": null
7915
+ }
7916
+ ],
7917
+ "result": {
7918
+ "type": "Generic",
7919
+ "generic_name": "ClientResult",
7920
+ "generic_args": [
7921
+ {
7922
+ "type": "Ref",
7923
+ "ref_name": "abi.ResultOfGetSignatureData"
7924
+ }
7925
+ ]
7926
+ },
7927
+ "errors": null
7701
7928
  }
7702
7929
  ]
7703
7930
  },
@@ -9454,7 +9681,20 @@
9454
9681
  {
9455
9682
  "name": "WillFetchFirstBlock",
9456
9683
  "type": "Struct",
9457
- "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
+ ],
9458
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.",
9459
9699
  "description": "Fetched block will be used later in waiting phase."
9460
9700
  },
@@ -9468,6 +9708,18 @@
9468
9708
  "ref_name": "client.ClientError",
9469
9709
  "summary": null,
9470
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
9471
9723
  }
9472
9724
  ],
9473
9725
  "summary": "Notifies the app that the client has failed to fetch the account's current shard block.",
@@ -9489,6 +9741,12 @@
9489
9741
  "summary": null,
9490
9742
  "description": null
9491
9743
  },
9744
+ {
9745
+ "name": "message_dst",
9746
+ "type": "String",
9747
+ "summary": null,
9748
+ "description": null
9749
+ },
9492
9750
  {
9493
9751
  "name": "message",
9494
9752
  "type": "String",
@@ -9515,6 +9773,12 @@
9515
9773
  "summary": null,
9516
9774
  "description": null
9517
9775
  },
9776
+ {
9777
+ "name": "message_dst",
9778
+ "type": "String",
9779
+ "summary": null,
9780
+ "description": null
9781
+ },
9518
9782
  {
9519
9783
  "name": "message",
9520
9784
  "type": "String",
@@ -9541,6 +9805,12 @@
9541
9805
  "summary": null,
9542
9806
  "description": null
9543
9807
  },
9808
+ {
9809
+ "name": "message_dst",
9810
+ "type": "String",
9811
+ "summary": null,
9812
+ "description": null
9813
+ },
9544
9814
  {
9545
9815
  "name": "message",
9546
9816
  "type": "String",
@@ -9574,6 +9844,12 @@
9574
9844
  "summary": null,
9575
9845
  "description": null
9576
9846
  },
9847
+ {
9848
+ "name": "message_dst",
9849
+ "type": "String",
9850
+ "summary": null,
9851
+ "description": null
9852
+ },
9577
9853
  {
9578
9854
  "name": "message",
9579
9855
  "type": "String",
@@ -9600,6 +9876,12 @@
9600
9876
  "summary": null,
9601
9877
  "description": null
9602
9878
  },
9879
+ {
9880
+ "name": "message_dst",
9881
+ "type": "String",
9882
+ "summary": null,
9883
+ "description": null
9884
+ },
9603
9885
  {
9604
9886
  "name": "message",
9605
9887
  "type": "String",
@@ -9627,6 +9909,12 @@
9627
9909
  "summary": null,
9628
9910
  "description": null
9629
9911
  },
9912
+ {
9913
+ "name": "message_dst",
9914
+ "type": "String",
9915
+ "summary": null,
9916
+ "description": null
9917
+ },
9630
9918
  {
9631
9919
  "name": "message",
9632
9920
  "type": "String",
@@ -9654,6 +9942,12 @@
9654
9942
  "summary": null,
9655
9943
  "description": null
9656
9944
  },
9945
+ {
9946
+ "name": "message_dst",
9947
+ "type": "String",
9948
+ "summary": null,
9949
+ "description": null
9950
+ },
9657
9951
  {
9658
9952
  "name": "timestamp",
9659
9953
  "type": "BigInt",
@@ -9683,6 +9977,12 @@
9683
9977
  "summary": null,
9684
9978
  "description": null
9685
9979
  },
9980
+ {
9981
+ "name": "message_dst",
9982
+ "type": "String",
9983
+ "summary": null,
9984
+ "description": null
9985
+ },
9686
9986
  {
9687
9987
  "name": "timestamp",
9688
9988
  "type": "BigInt",
@@ -9712,6 +10012,12 @@
9712
10012
  "summary": null,
9713
10013
  "description": null
9714
10014
  },
10015
+ {
10016
+ "name": "message_dst",
10017
+ "type": "String",
10018
+ "summary": null,
10019
+ "description": null
10020
+ },
9715
10021
  {
9716
10022
  "name": "timestamp",
9717
10023
  "type": "BigInt",
@@ -9741,6 +10047,12 @@
9741
10047
  "summary": null,
9742
10048
  "description": null
9743
10049
  },
10050
+ {
10051
+ "name": "message_dst",
10052
+ "type": "String",
10053
+ "summary": null,
10054
+ "description": null
10055
+ },
9744
10056
  {
9745
10057
  "name": "timestamp",
9746
10058
  "type": "BigInt",
@@ -9764,6 +10076,18 @@
9764
10076
  "name": "RempError",
9765
10077
  "type": "Struct",
9766
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
+ },
9767
10091
  {
9768
10092
  "name": "error",
9769
10093
  "type": "Ref",
@@ -10735,6 +11059,17 @@
10735
11059
  },
10736
11060
  "summary": "Overrides standard TVM behaviour. If set to `true` then CHKSIG always will return `true`.",
10737
11061
  "description": null
11062
+ },
11063
+ {
11064
+ "name": "signature_id",
11065
+ "type": "Optional",
11066
+ "optional_inner": {
11067
+ "type": "Number",
11068
+ "number_type": "Int",
11069
+ "number_size": 32
11070
+ },
11071
+ "summary": "Signature ID to be used in signature verifying instructions when CapSignatureWithId capability is enabled",
11072
+ "description": null
10738
11073
  }
10739
11074
  ],
10740
11075
  "summary": null,
@@ -12416,6 +12751,25 @@
12416
12751
  ],
12417
12752
  "summary": null,
12418
12753
  "description": null
12754
+ },
12755
+ {
12756
+ "name": "ResultOfGetSignatureId",
12757
+ "type": "Struct",
12758
+ "struct_fields": [
12759
+ {
12760
+ "name": "signature_id",
12761
+ "type": "Optional",
12762
+ "optional_inner": {
12763
+ "type": "Number",
12764
+ "number_type": "Int",
12765
+ "number_size": 32
12766
+ },
12767
+ "summary": "Signature ID for configured network if it should be used in messages signature",
12768
+ "description": null
12769
+ }
12770
+ ],
12771
+ "summary": null,
12772
+ "description": null
12419
12773
  }
12420
12774
  ],
12421
12775
  "functions": [
@@ -13247,6 +13601,37 @@
13247
13601
  ]
13248
13602
  },
13249
13603
  "errors": null
13604
+ },
13605
+ {
13606
+ "name": "get_signature_id",
13607
+ "summary": "Returns signature ID for configured network if it should be used in messages signature",
13608
+ "description": null,
13609
+ "params": [
13610
+ {
13611
+ "name": "context",
13612
+ "type": "Generic",
13613
+ "generic_name": "Arc",
13614
+ "generic_args": [
13615
+ {
13616
+ "type": "Ref",
13617
+ "ref_name": "ClientContext"
13618
+ }
13619
+ ],
13620
+ "summary": null,
13621
+ "description": null
13622
+ }
13623
+ ],
13624
+ "result": {
13625
+ "type": "Generic",
13626
+ "generic_name": "ClientResult",
13627
+ "generic_args": [
13628
+ {
13629
+ "type": "Ref",
13630
+ "ref_name": "net.ResultOfGetSignatureId"
13631
+ }
13632
+ ]
13633
+ },
13634
+ "errors": null
13250
13635
  }
13251
13636
  ]
13252
13637
  },
@@ -24,6 +24,7 @@ module TonClient
24
24
  # Expiration timeouts will grow with every retry.
25
25
  # Default value is 0.
26
26
  # address: String<Optional> - # # Destination address of the message # # Since ABI version 2.3 destination address of external inbound message is used in messagebody signature calculation. Should be provided when signed external inbound message body iscreated. Otherwise can be omitted.
27
+ # signature_id: Number<Optional> - # # Signature ID to be used in data to sign preparing when CapSignatureWithId capability is enabled
27
28
  # RESPONSE: ResultOfEncodeMessageBody
28
29
  # body: String - # # Message body BOC encoded with `base64`.
29
30
  # data_to_sign: String<Optional> - # # Optional data to sign. # # Encoded with `base64`.
@@ -67,6 +68,7 @@ module TonClient
67
68
  # Expiration timeouts will grow with every retry.
68
69
  # Retry grow factor is set in Client config:
69
70
  # <.....add config parameter with default value here>Default value is 0.
71
+ # signature_id: Number<Optional> - # # Signature ID to be used in data to sign preparing when CapSignatureWithId capability is enabled
70
72
  # RESPONSE: ResultOfEncodeMessage
71
73
  # message: String - # # Message BOC encoded with `base64`.
72
74
  # data_to_sign: String<Optional> - # # Optional data to be signed encoded in `base64`. # # Returned in case of `Signer::External`. Can be used for externalmessage signing. Is this case you need to use this data to create signature andthen produce signed message using `abi.attach_signature`.
@@ -302,6 +304,23 @@ module TonClient
302
304
  TonBinding.send_request_sync(context: context, method_name: full_method_name(MODULE, __method__.to_s).sub(/_sync$/, ''), payload: payload)
303
305
  end
304
306
 
307
+ # INPUT: ParamsOfGetSignatureData
308
+ # abi: Value - # # Contract ABI used to decode.
309
+ # message: String - # # Message BOC encoded in `base64`.
310
+ # signature_id: Number<Optional> - # # Signature ID to be used in unsigned data preparing when CapSignatureWithId capability is enabled
311
+ # RESPONSE: ResultOfGetSignatureData
312
+ # signature: String - # # Signature from the message in `hex`.
313
+ # unsigned: String - # # Data to verify the signature in `base64`.
314
+ # Async
315
+ def get_signature_data(payload, &block)
316
+ TonBinding.requestLibrary(context: context, request_id: request_id, requests: requests, monitor: monitor, method_name: full_method_name(MODULE, __method__.to_s), payload: payload, &block)
317
+ end
318
+
319
+ # Sync
320
+ def get_signature_data_sync(payload)
321
+ TonBinding.send_request_sync(context: context, method_name: full_method_name(MODULE, __method__.to_s).sub(/_sync$/, ''), payload: payload)
322
+ end
323
+
305
324
  end
306
325
  end
307
326
 
@@ -88,6 +88,7 @@ module TonClient
88
88
  end
89
89
 
90
90
  # RESPONSE: ClientConfig
91
+ # binding: BindingConfig<Optional> -
91
92
  # network: NetworkConfig<Optional> -
92
93
  # crypto: CryptoConfig<Optional> -
93
94
  # abi: Value -
@@ -368,6 +368,18 @@ module TonClient
368
368
  TonBinding.send_request_sync(context: context, method_name: full_method_name(MODULE, __method__.to_s).sub(/_sync$/, ''), payload: payload)
369
369
  end
370
370
 
371
+ # RESPONSE: ResultOfGetSignatureId
372
+ # signature_id: Number<Optional> - # # Signature ID for configured network if it should be used in messages signature
373
+ # Async
374
+ def get_signature_id(&block)
375
+ TonBinding.requestLibrary(context: context, request_id: request_id, requests: requests, monitor: monitor, method_name: full_method_name(MODULE, __method__.to_s), payload: {}, &block)
376
+ end
377
+
378
+ # Sync
379
+ def get_signature_id_sync()
380
+ TonBinding.send_request_sync(context: context, method_name: full_method_name(MODULE, __method__.to_s).sub(/_sync$/, ''), payload: {})
381
+ end
382
+
371
383
  end
372
384
  end
373
385
 
@@ -1,4 +1,4 @@
1
1
  module TonClient
2
- VERSION = "1.1.62"
2
+ VERSION = "1.1.65"
3
3
  end
4
4
 
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: everscale-client-ruby
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.1.62
4
+ version: 1.1.65
5
5
  platform: ruby
6
6
  authors:
7
7
  - nerzh
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2022-12-09 00:00:00.000000000 Z
11
+ date: 2023-02-21 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: ffi