everscale-client-ruby 1.1.63 → 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: 9dbc26200488873fe31f2b24aa622bbd36f2204e9564e78606b6f9e0c41ffbd8
4
- data.tar.gz: 05db9abdd64c99d5fe4395550216229e6d64d3fa0bde339fa4a50e6f08a8fe9e
3
+ metadata.gz: 2a01155f4589eeb2c71affb8eec858a5e38e4db3928235bbe3b885107ba65adb
4
+ data.tar.gz: dd03f07a778fe45b1ae8a77bc96609d8cf43922f9b83a79e31a43122ebed4438
5
5
  SHA512:
6
- metadata.gz: 0b5f6eb1fc122801c939f0aaa0221b2249e9f55a3cd590ac8894108fa29e98ddd2e4a7a8772a9737987e4c615b81eee47484e4a533a4e789073779650a2c6198
7
- data.tar.gz: e26806049ad9ff4092c99625286ac1d5ee05a5ae4b0d6f4200514215056b605e362ba499a99fbbf3886131cb5281626996eeb1b8cef0c0297908320d3642fd7a
6
+ metadata.gz: a495fe2811159d00aced8aa7106814e9f4cad5c1759a8df230906921adc33d0754781f4a10986000cdaabbc7902addcd285d76bcc0d5957cc26fd6fc23371797
7
+ data.tar.gz: 65e70b107f6cb0063cb70eeef316e31c9dd7de841ee4f0a61893ba96f837c9e3330acdff4fbff3514ad08498342c790443b5d0b75c45770c85ca575bcd294f0c
@@ -1,5 +1,5 @@
1
1
  {
2
- "version": "1.40.0",
2
+ "version": "1.41.0",
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",
@@ -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",
@@ -10821,6 +11059,17 @@
10821
11059
  },
10822
11060
  "summary": "Overrides standard TVM behaviour. If set to `true` then CHKSIG always will return `true`.",
10823
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
10824
11073
  }
10825
11074
  ],
10826
11075
  "summary": null,
@@ -12502,6 +12751,25 @@
12502
12751
  ],
12503
12752
  "summary": null,
12504
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
12505
12773
  }
12506
12774
  ],
12507
12775
  "functions": [
@@ -13333,6 +13601,37 @@
13333
13601
  ]
13334
13602
  },
13335
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
13336
13635
  }
13337
13636
  ]
13338
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`.
@@ -305,9 +307,10 @@ module TonClient
305
307
  # INPUT: ParamsOfGetSignatureData
306
308
  # abi: Value - # # Contract ABI used to decode.
307
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
308
311
  # RESPONSE: ResultOfGetSignatureData
309
312
  # signature: String - # # Signature from the message in `hex`.
310
- # hash: String - # # Hash to verify the signature in `base64`.
313
+ # unsigned: String - # # Data to verify the signature in `base64`.
311
314
  # Async
312
315
  def get_signature_data(payload, &block)
313
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)
@@ -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.63"
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.63
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: 2023-02-06 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