sky_api 0.26.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (141) hide show
  1. checksums.yaml +7 -0
  2. data/Gemfile +9 -0
  3. data/README.md +190 -0
  4. data/Rakefile +10 -0
  5. data/docs/Address.md +17 -0
  6. data/docs/ApiV1PendingTxsTransaction.md +29 -0
  7. data/docs/ApiV1PendingTxsTransactionOutputs.md +23 -0
  8. data/docs/BlockSchema.md +21 -0
  9. data/docs/BlockSchemaBody.md +17 -0
  10. data/docs/BlockVerboseSchema.md +21 -0
  11. data/docs/BlockVerboseSchemaBody.md +17 -0
  12. data/docs/BlockVerboseSchemaHeader.md +31 -0
  13. data/docs/DefaultApi.md +2767 -0
  14. data/docs/InlineResponse200.md +17 -0
  15. data/docs/InlineResponse2001.md +17 -0
  16. data/docs/InlineResponse20010.md +25 -0
  17. data/docs/InlineResponse2002.md +29 -0
  18. data/docs/InlineResponse2003.md +17 -0
  19. data/docs/InlineResponse2004.md +17 -0
  20. data/docs/InlineResponse2005.md +21 -0
  21. data/docs/InlineResponse2006.md +17 -0
  22. data/docs/InlineResponse2007.md +17 -0
  23. data/docs/InlineResponse2008.md +17 -0
  24. data/docs/InlineResponse2008Data.md +17 -0
  25. data/docs/InlineResponse2009.md +17 -0
  26. data/docs/InlineResponseDefault.md +19 -0
  27. data/docs/NetworkConnectionSchema.md +41 -0
  28. data/docs/NetworkConnectionSchemaUnconfirmedVerifyTransaction.md +21 -0
  29. data/docs/Transaction.md +21 -0
  30. data/docs/TransactionEncoded.md +25 -0
  31. data/docs/TransactionEncodedS.md +21 -0
  32. data/docs/TransactionStatus.md +23 -0
  33. data/docs/TransactionTxn.md +31 -0
  34. data/docs/TransactionV2ParamsAddress.md +17 -0
  35. data/docs/TransactionV2ParamsAddressHoursSelection.md +17 -0
  36. data/docs/TransactionV2ParamsUnspent.md +23 -0
  37. data/docs/TransactionV2ParamsUnspentHoursSelection.md +21 -0
  38. data/docs/TransactionV2ParamsUnspentTo.md +19 -0
  39. data/docs/TransactionVerbose.md +21 -0
  40. data/docs/TransactionVerboseTxn.md +35 -0
  41. data/docs/TransactionVerboseTxnInputs.md +25 -0
  42. data/docs/TransactionVerifyRequest.md +19 -0
  43. data/docs/WalletTransactionRequest.md +25 -0
  44. data/docs/WalletTransactionRequestHoursSelection.md +21 -0
  45. data/docs/WalletTransactionRequestWallet.md +23 -0
  46. data/docs/WalletTransactionSignRequest.md +23 -0
  47. data/git_push.sh +55 -0
  48. data/lib/sky_api.rb +81 -0
  49. data/lib/sky_api/api/default_api.rb +3371 -0
  50. data/lib/sky_api/api_client.rb +387 -0
  51. data/lib/sky_api/api_error.rb +57 -0
  52. data/lib/sky_api/configuration.rb +259 -0
  53. data/lib/sky_api/models/address.rb +201 -0
  54. data/lib/sky_api/models/api_v1_pending_txs_transaction.rb +256 -0
  55. data/lib/sky_api/models/api_v1_pending_txs_transaction_outputs.rb +223 -0
  56. data/lib/sky_api/models/block_schema.rb +214 -0
  57. data/lib/sky_api/models/block_schema_body.rb +198 -0
  58. data/lib/sky_api/models/block_verbose_schema.rb +214 -0
  59. data/lib/sky_api/models/block_verbose_schema_body.rb +198 -0
  60. data/lib/sky_api/models/block_verbose_schema_header.rb +259 -0
  61. data/lib/sky_api/models/inline_response200.rb +196 -0
  62. data/lib/sky_api/models/inline_response2001.rb +198 -0
  63. data/lib/sky_api/models/inline_response20010.rb +232 -0
  64. data/lib/sky_api/models/inline_response2002.rb +261 -0
  65. data/lib/sky_api/models/inline_response2003.rb +196 -0
  66. data/lib/sky_api/models/inline_response2004.rb +198 -0
  67. data/lib/sky_api/models/inline_response2005.rb +217 -0
  68. data/lib/sky_api/models/inline_response2006.rb +198 -0
  69. data/lib/sky_api/models/inline_response2007.rb +196 -0
  70. data/lib/sky_api/models/inline_response2008.rb +196 -0
  71. data/lib/sky_api/models/inline_response2008_data.rb +196 -0
  72. data/lib/sky_api/models/inline_response2009.rb +196 -0
  73. data/lib/sky_api/models/inline_response_default.rb +205 -0
  74. data/lib/sky_api/models/network_connection_schema.rb +338 -0
  75. data/lib/sky_api/models/network_connection_schema_unconfirmed_verify_transaction.rb +215 -0
  76. data/lib/sky_api/models/transaction.rb +214 -0
  77. data/lib/sky_api/models/transaction_encoded.rb +232 -0
  78. data/lib/sky_api/models/transaction_encoded_s.rb +214 -0
  79. data/lib/sky_api/models/transaction_status.rb +225 -0
  80. data/lib/sky_api/models/transaction_txn.rb +266 -0
  81. data/lib/sky_api/models/transaction_v2_params_address.rb +196 -0
  82. data/lib/sky_api/models/transaction_v2_params_address_hours_selection.rb +196 -0
  83. data/lib/sky_api/models/transaction_v2_params_unspent.rb +227 -0
  84. data/lib/sky_api/models/transaction_v2_params_unspent_hours_selection.rb +214 -0
  85. data/lib/sky_api/models/transaction_v2_params_unspent_to.rb +205 -0
  86. data/lib/sky_api/models/transaction_verbose.rb +214 -0
  87. data/lib/sky_api/models/transaction_verbose_txn.rb +284 -0
  88. data/lib/sky_api/models/transaction_verbose_txn_inputs.rb +232 -0
  89. data/lib/sky_api/models/transaction_verify_request.rb +205 -0
  90. data/lib/sky_api/models/wallet_transaction_request.rb +234 -0
  91. data/lib/sky_api/models/wallet_transaction_request_hours_selection.rb +214 -0
  92. data/lib/sky_api/models/wallet_transaction_request_wallet.rb +227 -0
  93. data/lib/sky_api/models/wallet_transaction_sign_request.rb +225 -0
  94. data/lib/sky_api/version.rb +15 -0
  95. data/sky_api.gemspec +45 -0
  96. data/spec/api/default_api_spec.rb +652 -0
  97. data/spec/api_client_spec.rb +226 -0
  98. data/spec/configuration_spec.rb +42 -0
  99. data/spec/models/address_spec.rb +41 -0
  100. data/spec/models/api_v1_pending_txs_transaction_outputs_spec.rb +59 -0
  101. data/spec/models/api_v1_pending_txs_transaction_spec.rb +77 -0
  102. data/spec/models/block_schema_body_spec.rb +41 -0
  103. data/spec/models/block_schema_spec.rb +53 -0
  104. data/spec/models/block_verbose_schema_body_spec.rb +41 -0
  105. data/spec/models/block_verbose_schema_header_spec.rb +83 -0
  106. data/spec/models/block_verbose_schema_spec.rb +53 -0
  107. data/spec/models/inline_response20010_spec.rb +65 -0
  108. data/spec/models/inline_response2001_spec.rb +41 -0
  109. data/spec/models/inline_response2002_spec.rb +77 -0
  110. data/spec/models/inline_response2003_spec.rb +41 -0
  111. data/spec/models/inline_response2004_spec.rb +41 -0
  112. data/spec/models/inline_response2005_spec.rb +53 -0
  113. data/spec/models/inline_response2006_spec.rb +41 -0
  114. data/spec/models/inline_response2007_spec.rb +41 -0
  115. data/spec/models/inline_response2008_data_spec.rb +41 -0
  116. data/spec/models/inline_response2008_spec.rb +41 -0
  117. data/spec/models/inline_response2009_spec.rb +41 -0
  118. data/spec/models/inline_response200_spec.rb +41 -0
  119. data/spec/models/inline_response_default_spec.rb +47 -0
  120. data/spec/models/network_connection_schema_spec.rb +117 -0
  121. data/spec/models/network_connection_schema_unconfirmed_verify_transaction_spec.rb +53 -0
  122. data/spec/models/transaction_encoded_s_spec.rb +53 -0
  123. data/spec/models/transaction_encoded_spec.rb +65 -0
  124. data/spec/models/transaction_spec.rb +53 -0
  125. data/spec/models/transaction_status_spec.rb +59 -0
  126. data/spec/models/transaction_txn_spec.rb +83 -0
  127. data/spec/models/transaction_v2_params_address_hours_selection_spec.rb +41 -0
  128. data/spec/models/transaction_v2_params_address_spec.rb +41 -0
  129. data/spec/models/transaction_v2_params_unspent_hours_selection_spec.rb +53 -0
  130. data/spec/models/transaction_v2_params_unspent_spec.rb +59 -0
  131. data/spec/models/transaction_v2_params_unspent_to_spec.rb +47 -0
  132. data/spec/models/transaction_verbose_spec.rb +53 -0
  133. data/spec/models/transaction_verbose_txn_inputs_spec.rb +65 -0
  134. data/spec/models/transaction_verbose_txn_spec.rb +95 -0
  135. data/spec/models/transaction_verify_request_spec.rb +47 -0
  136. data/spec/models/wallet_transaction_request_hours_selection_spec.rb +53 -0
  137. data/spec/models/wallet_transaction_request_spec.rb +65 -0
  138. data/spec/models/wallet_transaction_request_wallet_spec.rb +59 -0
  139. data/spec/models/wallet_transaction_sign_request_spec.rb +59 -0
  140. data/spec/spec_helper.rb +111 -0
  141. metadata +407 -0
@@ -0,0 +1,15 @@
1
+ =begin
2
+ #Skycoin REST API.
3
+
4
+ #Skycoin is a next-generation cryptocurrency.
5
+
6
+ The version of the OpenAPI document: 0.26.0
7
+ Contact: contact@skycoin.net
8
+ Generated by: https://openapi-generator.tech
9
+ OpenAPI Generator version: 4.0.1
10
+
11
+ =end
12
+
13
+ module SkyApi
14
+ VERSION = '0.26.0'
15
+ end
@@ -0,0 +1,45 @@
1
+ # -*- encoding: utf-8 -*-
2
+
3
+ =begin
4
+ #Skycoin REST API.
5
+
6
+ #Skycoin is a next-generation cryptocurrency.
7
+
8
+ The version of the OpenAPI document: 0.26.0
9
+ Contact: contact@skycoin.net
10
+ Generated by: https://openapi-generator.tech
11
+ OpenAPI Generator version: 4.0.1
12
+
13
+ =end
14
+
15
+ $:.push File.expand_path("../lib", __FILE__)
16
+ require "sky_api/version"
17
+
18
+ Gem::Specification.new do |s|
19
+ s.name = "sky_api"
20
+ s.version = SkyApi::VERSION
21
+ s.platform = Gem::Platform::RUBY
22
+ s.authors = ["OpenAPI-Generator"]
23
+ s.email = ["contact@skycoin.net"]
24
+ s.homepage = "https://openapi-generator.tech"
25
+ s.summary = "Skycoin REST API. Ruby Gem"
26
+ s.description = "Skycoin is a next-generation cryptocurrency."
27
+ s.license = "Unlicense"
28
+ s.required_ruby_version = ">= 1.9"
29
+
30
+ s.add_runtime_dependency 'typhoeus', '~> 1.0', '>= 1.0.1'
31
+ s.add_runtime_dependency 'json', '~> 2.1', '>= 2.1.0'
32
+
33
+ s.add_development_dependency 'rspec', '~> 3.6', '>= 3.6.0'
34
+ s.add_development_dependency 'vcr', '~> 3.0', '>= 3.0.1'
35
+ s.add_development_dependency 'webmock', '~> 1.24', '>= 1.24.3'
36
+ s.add_development_dependency 'autotest', '~> 4.4', '>= 4.4.6'
37
+ s.add_development_dependency 'autotest-rails-pure', '~> 4.1', '>= 4.1.2'
38
+ s.add_development_dependency 'autotest-growl', '~> 0.2', '>= 0.2.16'
39
+ s.add_development_dependency 'autotest-fsevent', '~> 0.2', '>= 0.2.12'
40
+
41
+ s.files = `find *`.split("\n").uniq.sort.select { |f| !f.empty? }
42
+ s.test_files = `find spec/*`.split("\n")
43
+ s.executables = []
44
+ s.require_paths = ["lib"]
45
+ end
@@ -0,0 +1,652 @@
1
+ =begin
2
+ #Skycoin REST API.
3
+
4
+ #Skycoin is a next-generation cryptocurrency.
5
+
6
+ The version of the OpenAPI document: 0.26.0
7
+ Contact: contact@skycoin.net
8
+ Generated by: https://openapi-generator.tech
9
+ OpenAPI Generator version: 4.0.1
10
+
11
+ =end
12
+
13
+ require 'spec_helper'
14
+ require 'json'
15
+
16
+ # Unit tests for SkyApi::DefaultApi
17
+ # Automatically generated by openapi-generator (https://openapi-generator.tech)
18
+ # Please update as you see appropriate
19
+ describe 'DefaultApi' do
20
+ before do
21
+ # run before each test
22
+ @api_instance = SkyApi::DefaultApi.new
23
+ end
24
+
25
+ after do
26
+ # run after each test
27
+ end
28
+
29
+ describe 'test an instance of DefaultApi' do
30
+ it 'should create an instance of DefaultApi' do
31
+ expect(@api_instance).to be_instance_of(SkyApi::DefaultApi)
32
+ end
33
+ end
34
+
35
+ # unit tests for address_count
36
+ # Returns the total number of unique address that have coins.
37
+ # @param [Hash] opts the optional parameters
38
+ # @return [InlineResponse200]
39
+ describe 'address_count test' do
40
+ it 'should work' do
41
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
42
+ end
43
+ end
44
+
45
+ # unit tests for address_uxouts
46
+ # Returns the historical, spent outputs associated with an address
47
+ # @param address address to filter by
48
+ # @param [Hash] opts the optional parameters
49
+ # @return [Array<Object>]
50
+ describe 'address_uxouts test' do
51
+ it 'should work' do
52
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
53
+ end
54
+ end
55
+
56
+ # unit tests for api_v1_rawtx_get
57
+ # @param [Hash] opts the optional parameters
58
+ # @return [String]
59
+ describe 'api_v1_rawtx_get test' do
60
+ it 'should work' do
61
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
62
+ end
63
+ end
64
+
65
+ # unit tests for api_v2_metrics_get
66
+ # @param [Hash] opts the optional parameters
67
+ # @return [String]
68
+ describe 'api_v2_metrics_get test' do
69
+ it 'should work' do
70
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
71
+ end
72
+ end
73
+
74
+ # unit tests for balance_get
75
+ # Returns the balance of one or more addresses, both confirmed and predicted. The predicted balance is the confirmed balance minus the pending spends.
76
+ # @param addrs command separated list of addresses
77
+ # @param [Hash] opts the optional parameters
78
+ # @return [Object]
79
+ describe 'balance_get test' do
80
+ it 'should work' do
81
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
82
+ end
83
+ end
84
+
85
+ # unit tests for balance_post
86
+ # Returns the balance of one or more addresses, both confirmed and predicted. The predicted balance is the confirmed balance minus the pending spends.
87
+ # @param addrs command separated list of addresses
88
+ # @param [Hash] opts the optional parameters
89
+ # @return [Object]
90
+ describe 'balance_post test' do
91
+ it 'should work' do
92
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
93
+ end
94
+ end
95
+
96
+ # unit tests for block
97
+ # Returns the balance of one or more addresses, both confirmed and predicted. The predicted balance is the confirmed balance minus the pending spends.
98
+ # @param [Hash] opts the optional parameters
99
+ # @option opts [String] :hash get block by hash
100
+ # @option opts [Integer] :seq get block by sequence number
101
+ # @return [Array<BlockSchema>]
102
+ describe 'block test' do
103
+ it 'should work' do
104
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
105
+ end
106
+ end
107
+
108
+ # unit tests for blockchain_metadata
109
+ # Returns the blockchain metadata.
110
+ # @param [Hash] opts the optional parameters
111
+ # @return [Object]
112
+ describe 'blockchain_metadata test' do
113
+ it 'should work' do
114
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
115
+ end
116
+ end
117
+
118
+ # unit tests for blockchain_progress
119
+ # Returns the blockchain sync progress.
120
+ # @param [Hash] opts the optional parameters
121
+ # @return [Object]
122
+ describe 'blockchain_progress test' do
123
+ it 'should work' do
124
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
125
+ end
126
+ end
127
+
128
+ # unit tests for blocks
129
+ # Returns the balance of one or more addresses, both confirmed and predicted. The predicted balance is the confirmed balance minus the pending spends.
130
+ # @param [Hash] opts the optional parameters
131
+ # @option opts [Integer] :start start seq
132
+ # @option opts [Integer] :_end end seq
133
+ # @option opts [Array<Integer>] :seq comma-separated list of block seqs
134
+ # @return [InlineResponse2001]
135
+ describe 'blocks test' do
136
+ it 'should work' do
137
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
138
+ end
139
+ end
140
+
141
+ # unit tests for coin_supply
142
+ # coinSupplyHandler returns coin distribution supply stats
143
+ # @param [Hash] opts the optional parameters
144
+ # @return [InlineResponse2002]
145
+ describe 'coin_supply test' do
146
+ it 'should work' do
147
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
148
+ end
149
+ end
150
+
151
+ # unit tests for csrf
152
+ # Creates a new CSRF token. Previous CSRF tokens are invalidated by this call.
153
+ # @param [Hash] opts the optional parameters
154
+ # @return [InlineResponse2003]
155
+ describe 'csrf test' do
156
+ it 'should work' do
157
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
158
+ end
159
+ end
160
+
161
+ # unit tests for data_delete
162
+ # @param [Hash] opts the optional parameters
163
+ # @option opts [String] :type storage type.
164
+ # @option opts [String] :key key of the specific value to get.
165
+ # @return [nil]
166
+ describe 'data_delete test' do
167
+ it 'should work' do
168
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
169
+ end
170
+ end
171
+
172
+ # unit tests for data_get
173
+ # @param [Hash] opts the optional parameters
174
+ # @option opts [String] :type storage type.
175
+ # @option opts [String] :key key of the specific value to get.
176
+ # @return [Object]
177
+ describe 'data_get test' do
178
+ it 'should work' do
179
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
180
+ end
181
+ end
182
+
183
+ # unit tests for data_post
184
+ # @param [Hash] opts the optional parameters
185
+ # @option opts [String] :type storage type.
186
+ # @option opts [String] :key key of the specific value to get.
187
+ # @option opts [String] :val additional value.
188
+ # @return [nil]
189
+ describe 'data_post test' do
190
+ it 'should work' do
191
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
192
+ end
193
+ end
194
+
195
+ # unit tests for default_connections
196
+ # defaultConnectionsHandler returns the list of default hardcoded bootstrap addresses.\\n They are not necessarily connected to.
197
+ # @param [Hash] opts the optional parameters
198
+ # @return [Array<String>]
199
+ describe 'default_connections test' do
200
+ it 'should work' do
201
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
202
+ end
203
+ end
204
+
205
+ # unit tests for health
206
+ # Returns node health data.
207
+ # @param [Hash] opts the optional parameters
208
+ # @return [Object]
209
+ describe 'health test' do
210
+ it 'should work' do
211
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
212
+ end
213
+ end
214
+
215
+ # unit tests for last_blocks
216
+ # Returns the most recent N blocks on the blockchain
217
+ # @param num Num of blockss
218
+ # @param [Hash] opts the optional parameters
219
+ # @return [Object]
220
+ describe 'last_blocks test' do
221
+ it 'should work' do
222
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
223
+ end
224
+ end
225
+
226
+ # unit tests for network_connection
227
+ # This endpoint returns a specific connection.
228
+ # @param addr Address port
229
+ # @param [Hash] opts the optional parameters
230
+ # @return [NetworkConnectionSchema]
231
+ describe 'network_connection test' do
232
+ it 'should work' do
233
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
234
+ end
235
+ end
236
+
237
+ # unit tests for network_connections
238
+ # This endpoint returns all outgoings connections.
239
+ # @param [Hash] opts the optional parameters
240
+ # @option opts [String] :states Connection status.
241
+ # @option opts [String] :direction Direction of the connection.
242
+ # @return [InlineResponse2004]
243
+ describe 'network_connections test' do
244
+ it 'should work' do
245
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
246
+ end
247
+ end
248
+
249
+ # unit tests for network_connections_disconnect
250
+ # This endpoint disconnects a connection by ID or address
251
+ # @param id Address id.
252
+ # @param [Hash] opts the optional parameters
253
+ # @return [nil]
254
+ describe 'network_connections_disconnect test' do
255
+ it 'should work' do
256
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
257
+ end
258
+ end
259
+
260
+ # unit tests for network_connections_exchange
261
+ # This endpoint returns all connections found through peer exchange
262
+ # @param [Hash] opts the optional parameters
263
+ # @return [Array<String>]
264
+ describe 'network_connections_exchange test' do
265
+ it 'should work' do
266
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
267
+ end
268
+ end
269
+
270
+ # unit tests for network_connections_trust
271
+ # trustConnectionsHandler returns all trusted connections.\\n They are not necessarily connected to. In the default configuration, these will be a subset of the default hardcoded bootstrap addresses.
272
+ # @param [Hash] opts the optional parameters
273
+ # @return [Array<String>]
274
+ describe 'network_connections_trust test' do
275
+ it 'should work' do
276
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
277
+ end
278
+ end
279
+
280
+ # unit tests for outputs_get
281
+ # If neither addrs nor hashes are specificed, return all unspent outputs. If only one filter is specified, then return outputs match the filter. Both filters cannot be specified.
282
+ # @param [Hash] opts the optional parameters
283
+ # @option opts [Array<String>] :address
284
+ # @option opts [Array<String>] :hash
285
+ # @return [Object]
286
+ describe 'outputs_get test' do
287
+ it 'should work' do
288
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
289
+ end
290
+ end
291
+
292
+ # unit tests for outputs_post
293
+ # If neither addrs nor hashes are specificed, return all unspent outputs. If only one filter is specified, then return outputs match the filter. Both filters cannot be specified.
294
+ # @param [Hash] opts the optional parameters
295
+ # @option opts [String] :address
296
+ # @option opts [String] :hash
297
+ # @return [Object]
298
+ describe 'outputs_post test' do
299
+ it 'should work' do
300
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
301
+ end
302
+ end
303
+
304
+ # unit tests for pending_txs
305
+ # @param [Hash] opts the optional parameters
306
+ # @return [Array<InlineResponse20010>]
307
+ describe 'pending_txs test' do
308
+ it 'should work' do
309
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
310
+ end
311
+ end
312
+
313
+ # unit tests for resend_unconfirmed_txns
314
+ # Broadcasts all unconfirmed transactions from the unconfirmed transaction pool
315
+ # @param [Hash] opts the optional parameters
316
+ # @return [Object]
317
+ describe 'resend_unconfirmed_txns test' do
318
+ it 'should work' do
319
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
320
+ end
321
+ end
322
+
323
+ # unit tests for richlist
324
+ # Returns the top skycoin holders.
325
+ # @param [Hash] opts the optional parameters
326
+ # @option opts [Boolean] :include_distribution include distribution addresses or not, default value false
327
+ # @option opts [String] :n include distribution addresses or not, default value false
328
+ # @return [Object]
329
+ describe 'richlist test' do
330
+ it 'should work' do
331
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
332
+ end
333
+ end
334
+
335
+ # unit tests for transaction
336
+ # Returns a transaction identified by its txid hash with just id
337
+ # @param txid transaction Id
338
+ # @param [Hash] opts the optional parameters
339
+ # @return [Transaction]
340
+ describe 'transaction test' do
341
+ it 'should work' do
342
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
343
+ end
344
+ end
345
+
346
+ # unit tests for transaction_inject
347
+ # Broadcast a hex-encoded, serialized transaction to the network.
348
+ # @param rawtx hex-encoded serialized transaction string.
349
+ # @param [Hash] opts the optional parameters
350
+ # @return [String]
351
+ describe 'transaction_inject test' do
352
+ it 'should work' do
353
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
354
+ end
355
+ end
356
+
357
+ # unit tests for transaction_post
358
+ # @param [Hash] opts the optional parameters
359
+ # @option opts [TransactionV2ParamsAddress] :transaction_v2_params_address
360
+ # @return [InlineResponse2008]
361
+ describe 'transaction_post test' do
362
+ it 'should work' do
363
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
364
+ end
365
+ end
366
+
367
+ # unit tests for transaction_post_unspent
368
+ # @param transaction_v2_params_unspent Unspent parameters
369
+ # @param [Hash] opts the optional parameters
370
+ # @return [InlineResponse2008]
371
+ describe 'transaction_post_unspent test' do
372
+ it 'should work' do
373
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
374
+ end
375
+ end
376
+
377
+ # unit tests for transaction_raw
378
+ # Returns the hex-encoded byte serialization of a transaction. The transaction may be confirmed or unconfirmed.
379
+ # @param [Hash] opts the optional parameters
380
+ # @option opts [String] :txid Transaction id hash
381
+ # @return [Object]
382
+ describe 'transaction_raw test' do
383
+ it 'should work' do
384
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
385
+ end
386
+ end
387
+
388
+ # unit tests for transaction_verify
389
+ # Decode and verify an encoded transaction
390
+ # @param transaction_verify_request
391
+ # @param [Hash] opts the optional parameters
392
+ # @return [Object]
393
+ describe 'transaction_verify test' do
394
+ it 'should work' do
395
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
396
+ end
397
+ end
398
+
399
+ # unit tests for transactions_get
400
+ # Returns transactions that match the filters.
401
+ # @param [Hash] opts the optional parameters
402
+ # @option opts [String] :addrs command separated list of addresses
403
+ # @option opts [String] :confirmed Whether the transactions should be confirmed [optional, must be 0 or 1; if not provided, returns all]
404
+ # @return [Object]
405
+ describe 'transactions_get test' do
406
+ it 'should work' do
407
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
408
+ end
409
+ end
410
+
411
+ # unit tests for transactions_post
412
+ # Returns transactions that match the filters.
413
+ # @param [Hash] opts the optional parameters
414
+ # @option opts [String] :addrs command separated list of addresses
415
+ # @option opts [String] :confirmed Whether the transactions should be confirmed [optional, must be 0 or 1; if not provided, returns all]
416
+ # @return [Object]
417
+ describe 'transactions_post test' do
418
+ it 'should work' do
419
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
420
+ end
421
+ end
422
+
423
+ # unit tests for uxout
424
+ # Returns an unspent output by ID.
425
+ # @param [Hash] opts the optional parameters
426
+ # @option opts [String] :uxid uxid to filter by
427
+ # @return [Object]
428
+ describe 'uxout test' do
429
+ it 'should work' do
430
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
431
+ end
432
+ end
433
+
434
+ # unit tests for verify_address
435
+ # Verifies a Skycoin address.
436
+ # @param address Address id.
437
+ # @param [Hash] opts the optional parameters
438
+ # @return [Object]
439
+ describe 'verify_address test' do
440
+ it 'should work' do
441
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
442
+ end
443
+ end
444
+
445
+ # unit tests for version
446
+ # versionHandler returns the application version info
447
+ # @param [Hash] opts the optional parameters
448
+ # @return [InlineResponse2005]
449
+ describe 'version test' do
450
+ it 'should work' do
451
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
452
+ end
453
+ end
454
+
455
+ # unit tests for wallet
456
+ # Returns a wallet by id.
457
+ # @param id tags to filter by
458
+ # @param [Hash] opts the optional parameters
459
+ # @return [Object]
460
+ describe 'wallet test' do
461
+ it 'should work' do
462
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
463
+ end
464
+ end
465
+
466
+ # unit tests for wallet_balance
467
+ # Returns the wallet&#39;s balance, both confirmed and predicted. The predicted balance is the confirmed balance minus the pending spends.
468
+ # @param id tags to filter by
469
+ # @param [Hash] opts the optional parameters
470
+ # @return [Object]
471
+ describe 'wallet_balance test' do
472
+ it 'should work' do
473
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
474
+ end
475
+ end
476
+
477
+ # unit tests for wallet_create
478
+ # Loads wallet from seed, will scan ahead N address and load addresses till the last one that have coins.
479
+ # @param seed Wallet seed.
480
+ # @param label Wallet label.
481
+ # @param [Hash] opts the optional parameters
482
+ # @option opts [Integer] :scan The number of addresses to scan ahead for balances.
483
+ # @option opts [Boolean] :encrypt Encrypt wallet.
484
+ # @option opts [String] :password Wallet Password
485
+ # @return [Object]
486
+ describe 'wallet_create test' do
487
+ it 'should work' do
488
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
489
+ end
490
+ end
491
+
492
+ # unit tests for wallet_decrypt
493
+ # Decrypts wallet.
494
+ # @param id Wallet id.
495
+ # @param password Wallet password.
496
+ # @param [Hash] opts the optional parameters
497
+ # @return [Object]
498
+ describe 'wallet_decrypt test' do
499
+ it 'should work' do
500
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
501
+ end
502
+ end
503
+
504
+ # unit tests for wallet_encrypt
505
+ # Encrypt wallet.
506
+ # @param id Wallet id.
507
+ # @param password Wallet password.
508
+ # @param [Hash] opts the optional parameters
509
+ # @return [Object]
510
+ describe 'wallet_encrypt test' do
511
+ it 'should work' do
512
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
513
+ end
514
+ end
515
+
516
+ # unit tests for wallet_folder
517
+ # Returns the wallet directory path
518
+ # @param addr Address port
519
+ # @param [Hash] opts the optional parameters
520
+ # @return [InlineResponse2007]
521
+ describe 'wallet_folder test' do
522
+ it 'should work' do
523
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
524
+ end
525
+ end
526
+
527
+ # unit tests for wallet_new_address
528
+ # Generates new addresses
529
+ # @param id Wallet Id
530
+ # @param [Hash] opts the optional parameters
531
+ # @option opts [String] :num The number you want to generate
532
+ # @option opts [String] :password Wallet Password
533
+ # @return [Object]
534
+ describe 'wallet_new_address test' do
535
+ it 'should work' do
536
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
537
+ end
538
+ end
539
+
540
+ # unit tests for wallet_new_seed
541
+ # Returns the wallet directory path
542
+ # @param [Hash] opts the optional parameters
543
+ # @option opts [String] :entropy Entropy bitSize.
544
+ # @return [Object]
545
+ describe 'wallet_new_seed test' do
546
+ it 'should work' do
547
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
548
+ end
549
+ end
550
+
551
+ # unit tests for wallet_recover
552
+ # Recovers an encrypted wallet by providing the seed. The first address will be generated from seed and compared to the first address of the specified wallet. If they match, the wallet will be regenerated with an optional password. If the wallet is not encrypted, an error is returned.
553
+ # @param id Wallet id.
554
+ # @param seed Wallet seed.
555
+ # @param [Hash] opts the optional parameters
556
+ # @option opts [String] :password Wallet password.
557
+ # @return [Object]
558
+ describe 'wallet_recover test' do
559
+ it 'should work' do
560
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
561
+ end
562
+ end
563
+
564
+ # unit tests for wallet_seed
565
+ # This endpoint only works for encrypted wallets. If the wallet is unencrypted, The seed will be not returned.
566
+ # @param id Wallet Id.
567
+ # @param password Wallet password.
568
+ # @param [Hash] opts the optional parameters
569
+ # @return [Object]
570
+ describe 'wallet_seed test' do
571
+ it 'should work' do
572
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
573
+ end
574
+ end
575
+
576
+ # unit tests for wallet_seed_verify
577
+ # Verifies a wallet seed.
578
+ # @param [Hash] opts the optional parameters
579
+ # @option opts [String] :seed Seed to be verified.
580
+ # @return [Object]
581
+ describe 'wallet_seed_verify test' do
582
+ it 'should work' do
583
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
584
+ end
585
+ end
586
+
587
+ # unit tests for wallet_transaction
588
+ # Creates a signed transaction
589
+ # @param wallet_transaction_request
590
+ # @param [Hash] opts the optional parameters
591
+ # @return [Object]
592
+ describe 'wallet_transaction test' do
593
+ it 'should work' do
594
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
595
+ end
596
+ end
597
+
598
+ # unit tests for wallet_transaction_sign
599
+ # Creates a signed transaction
600
+ # @param wallet_transaction_sign_request
601
+ # @param [Hash] opts the optional parameters
602
+ # @return [InlineResponse2009]
603
+ describe 'wallet_transaction_sign test' do
604
+ it 'should work' do
605
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
606
+ end
607
+ end
608
+
609
+ # unit tests for wallet_transactions
610
+ # @param id Wallet Id.
611
+ # @param [Hash] opts the optional parameters
612
+ # @return [InlineResponse2006]
613
+ describe 'wallet_transactions test' do
614
+ it 'should work' do
615
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
616
+ end
617
+ end
618
+
619
+ # unit tests for wallet_unload
620
+ # Unloads wallet from the wallet service.
621
+ # @param id Wallet Id.
622
+ # @param [Hash] opts the optional parameters
623
+ # @return [nil]
624
+ describe 'wallet_unload test' do
625
+ it 'should work' do
626
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
627
+ end
628
+ end
629
+
630
+ # unit tests for wallet_update
631
+ # Update the wallet.
632
+ # @param id Wallet Id.
633
+ # @param label The label the wallet will be updated to.
634
+ # @param [Hash] opts the optional parameters
635
+ # @return [String]
636
+ describe 'wallet_update test' do
637
+ it 'should work' do
638
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
639
+ end
640
+ end
641
+
642
+ # unit tests for wallets
643
+ # Returns all loaded wallets
644
+ # @param [Hash] opts the optional parameters
645
+ # @return [Array<Object>]
646
+ describe 'wallets test' do
647
+ it 'should work' do
648
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
649
+ end
650
+ end
651
+
652
+ end