sky_api 0.26.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/Gemfile +9 -0
- data/README.md +190 -0
- data/Rakefile +10 -0
- data/docs/Address.md +17 -0
- data/docs/ApiV1PendingTxsTransaction.md +29 -0
- data/docs/ApiV1PendingTxsTransactionOutputs.md +23 -0
- data/docs/BlockSchema.md +21 -0
- data/docs/BlockSchemaBody.md +17 -0
- data/docs/BlockVerboseSchema.md +21 -0
- data/docs/BlockVerboseSchemaBody.md +17 -0
- data/docs/BlockVerboseSchemaHeader.md +31 -0
- data/docs/DefaultApi.md +2767 -0
- data/docs/InlineResponse200.md +17 -0
- data/docs/InlineResponse2001.md +17 -0
- data/docs/InlineResponse20010.md +25 -0
- data/docs/InlineResponse2002.md +29 -0
- data/docs/InlineResponse2003.md +17 -0
- data/docs/InlineResponse2004.md +17 -0
- data/docs/InlineResponse2005.md +21 -0
- data/docs/InlineResponse2006.md +17 -0
- data/docs/InlineResponse2007.md +17 -0
- data/docs/InlineResponse2008.md +17 -0
- data/docs/InlineResponse2008Data.md +17 -0
- data/docs/InlineResponse2009.md +17 -0
- data/docs/InlineResponseDefault.md +19 -0
- data/docs/NetworkConnectionSchema.md +41 -0
- data/docs/NetworkConnectionSchemaUnconfirmedVerifyTransaction.md +21 -0
- data/docs/Transaction.md +21 -0
- data/docs/TransactionEncoded.md +25 -0
- data/docs/TransactionEncodedS.md +21 -0
- data/docs/TransactionStatus.md +23 -0
- data/docs/TransactionTxn.md +31 -0
- data/docs/TransactionV2ParamsAddress.md +17 -0
- data/docs/TransactionV2ParamsAddressHoursSelection.md +17 -0
- data/docs/TransactionV2ParamsUnspent.md +23 -0
- data/docs/TransactionV2ParamsUnspentHoursSelection.md +21 -0
- data/docs/TransactionV2ParamsUnspentTo.md +19 -0
- data/docs/TransactionVerbose.md +21 -0
- data/docs/TransactionVerboseTxn.md +35 -0
- data/docs/TransactionVerboseTxnInputs.md +25 -0
- data/docs/TransactionVerifyRequest.md +19 -0
- data/docs/WalletTransactionRequest.md +25 -0
- data/docs/WalletTransactionRequestHoursSelection.md +21 -0
- data/docs/WalletTransactionRequestWallet.md +23 -0
- data/docs/WalletTransactionSignRequest.md +23 -0
- data/git_push.sh +55 -0
- data/lib/sky_api.rb +81 -0
- data/lib/sky_api/api/default_api.rb +3371 -0
- data/lib/sky_api/api_client.rb +387 -0
- data/lib/sky_api/api_error.rb +57 -0
- data/lib/sky_api/configuration.rb +259 -0
- data/lib/sky_api/models/address.rb +201 -0
- data/lib/sky_api/models/api_v1_pending_txs_transaction.rb +256 -0
- data/lib/sky_api/models/api_v1_pending_txs_transaction_outputs.rb +223 -0
- data/lib/sky_api/models/block_schema.rb +214 -0
- data/lib/sky_api/models/block_schema_body.rb +198 -0
- data/lib/sky_api/models/block_verbose_schema.rb +214 -0
- data/lib/sky_api/models/block_verbose_schema_body.rb +198 -0
- data/lib/sky_api/models/block_verbose_schema_header.rb +259 -0
- data/lib/sky_api/models/inline_response200.rb +196 -0
- data/lib/sky_api/models/inline_response2001.rb +198 -0
- data/lib/sky_api/models/inline_response20010.rb +232 -0
- data/lib/sky_api/models/inline_response2002.rb +261 -0
- data/lib/sky_api/models/inline_response2003.rb +196 -0
- data/lib/sky_api/models/inline_response2004.rb +198 -0
- data/lib/sky_api/models/inline_response2005.rb +217 -0
- data/lib/sky_api/models/inline_response2006.rb +198 -0
- data/lib/sky_api/models/inline_response2007.rb +196 -0
- data/lib/sky_api/models/inline_response2008.rb +196 -0
- data/lib/sky_api/models/inline_response2008_data.rb +196 -0
- data/lib/sky_api/models/inline_response2009.rb +196 -0
- data/lib/sky_api/models/inline_response_default.rb +205 -0
- data/lib/sky_api/models/network_connection_schema.rb +338 -0
- data/lib/sky_api/models/network_connection_schema_unconfirmed_verify_transaction.rb +215 -0
- data/lib/sky_api/models/transaction.rb +214 -0
- data/lib/sky_api/models/transaction_encoded.rb +232 -0
- data/lib/sky_api/models/transaction_encoded_s.rb +214 -0
- data/lib/sky_api/models/transaction_status.rb +225 -0
- data/lib/sky_api/models/transaction_txn.rb +266 -0
- data/lib/sky_api/models/transaction_v2_params_address.rb +196 -0
- data/lib/sky_api/models/transaction_v2_params_address_hours_selection.rb +196 -0
- data/lib/sky_api/models/transaction_v2_params_unspent.rb +227 -0
- data/lib/sky_api/models/transaction_v2_params_unspent_hours_selection.rb +214 -0
- data/lib/sky_api/models/transaction_v2_params_unspent_to.rb +205 -0
- data/lib/sky_api/models/transaction_verbose.rb +214 -0
- data/lib/sky_api/models/transaction_verbose_txn.rb +284 -0
- data/lib/sky_api/models/transaction_verbose_txn_inputs.rb +232 -0
- data/lib/sky_api/models/transaction_verify_request.rb +205 -0
- data/lib/sky_api/models/wallet_transaction_request.rb +234 -0
- data/lib/sky_api/models/wallet_transaction_request_hours_selection.rb +214 -0
- data/lib/sky_api/models/wallet_transaction_request_wallet.rb +227 -0
- data/lib/sky_api/models/wallet_transaction_sign_request.rb +225 -0
- data/lib/sky_api/version.rb +15 -0
- data/sky_api.gemspec +45 -0
- data/spec/api/default_api_spec.rb +652 -0
- data/spec/api_client_spec.rb +226 -0
- data/spec/configuration_spec.rb +42 -0
- data/spec/models/address_spec.rb +41 -0
- data/spec/models/api_v1_pending_txs_transaction_outputs_spec.rb +59 -0
- data/spec/models/api_v1_pending_txs_transaction_spec.rb +77 -0
- data/spec/models/block_schema_body_spec.rb +41 -0
- data/spec/models/block_schema_spec.rb +53 -0
- data/spec/models/block_verbose_schema_body_spec.rb +41 -0
- data/spec/models/block_verbose_schema_header_spec.rb +83 -0
- data/spec/models/block_verbose_schema_spec.rb +53 -0
- data/spec/models/inline_response20010_spec.rb +65 -0
- data/spec/models/inline_response2001_spec.rb +41 -0
- data/spec/models/inline_response2002_spec.rb +77 -0
- data/spec/models/inline_response2003_spec.rb +41 -0
- data/spec/models/inline_response2004_spec.rb +41 -0
- data/spec/models/inline_response2005_spec.rb +53 -0
- data/spec/models/inline_response2006_spec.rb +41 -0
- data/spec/models/inline_response2007_spec.rb +41 -0
- data/spec/models/inline_response2008_data_spec.rb +41 -0
- data/spec/models/inline_response2008_spec.rb +41 -0
- data/spec/models/inline_response2009_spec.rb +41 -0
- data/spec/models/inline_response200_spec.rb +41 -0
- data/spec/models/inline_response_default_spec.rb +47 -0
- data/spec/models/network_connection_schema_spec.rb +117 -0
- data/spec/models/network_connection_schema_unconfirmed_verify_transaction_spec.rb +53 -0
- data/spec/models/transaction_encoded_s_spec.rb +53 -0
- data/spec/models/transaction_encoded_spec.rb +65 -0
- data/spec/models/transaction_spec.rb +53 -0
- data/spec/models/transaction_status_spec.rb +59 -0
- data/spec/models/transaction_txn_spec.rb +83 -0
- data/spec/models/transaction_v2_params_address_hours_selection_spec.rb +41 -0
- data/spec/models/transaction_v2_params_address_spec.rb +41 -0
- data/spec/models/transaction_v2_params_unspent_hours_selection_spec.rb +53 -0
- data/spec/models/transaction_v2_params_unspent_spec.rb +59 -0
- data/spec/models/transaction_v2_params_unspent_to_spec.rb +47 -0
- data/spec/models/transaction_verbose_spec.rb +53 -0
- data/spec/models/transaction_verbose_txn_inputs_spec.rb +65 -0
- data/spec/models/transaction_verbose_txn_spec.rb +95 -0
- data/spec/models/transaction_verify_request_spec.rb +47 -0
- data/spec/models/wallet_transaction_request_hours_selection_spec.rb +53 -0
- data/spec/models/wallet_transaction_request_spec.rb +65 -0
- data/spec/models/wallet_transaction_request_wallet_spec.rb +59 -0
- data/spec/models/wallet_transaction_sign_request_spec.rb +59 -0
- data/spec/spec_helper.rb +111 -0
- metadata +407 -0
@@ -0,0 +1,17 @@
|
|
1
|
+
# SkyApi::InlineResponse200
|
2
|
+
|
3
|
+
## Properties
|
4
|
+
|
5
|
+
Name | Type | Description | Notes
|
6
|
+
------------ | ------------- | ------------- | -------------
|
7
|
+
**count** | **Integer** | | [optional]
|
8
|
+
|
9
|
+
## Code Sample
|
10
|
+
|
11
|
+
```ruby
|
12
|
+
require 'SkyApi'
|
13
|
+
|
14
|
+
instance = SkyApi::InlineResponse200.new(count: null)
|
15
|
+
```
|
16
|
+
|
17
|
+
|
@@ -0,0 +1,17 @@
|
|
1
|
+
# SkyApi::InlineResponse2001
|
2
|
+
|
3
|
+
## Properties
|
4
|
+
|
5
|
+
Name | Type | Description | Notes
|
6
|
+
------------ | ------------- | ------------- | -------------
|
7
|
+
**blocks** | [**Array<BlockSchema>**](BlockSchema.md) | | [optional]
|
8
|
+
|
9
|
+
## Code Sample
|
10
|
+
|
11
|
+
```ruby
|
12
|
+
require 'SkyApi'
|
13
|
+
|
14
|
+
instance = SkyApi::InlineResponse2001.new(blocks: null)
|
15
|
+
```
|
16
|
+
|
17
|
+
|
@@ -0,0 +1,25 @@
|
|
1
|
+
# SkyApi::InlineResponse20010
|
2
|
+
|
3
|
+
## Properties
|
4
|
+
|
5
|
+
Name | Type | Description | Notes
|
6
|
+
------------ | ------------- | ------------- | -------------
|
7
|
+
**transaction** | [**ApiV1PendingTxsTransaction**](ApiV1PendingTxsTransaction.md) | | [optional]
|
8
|
+
**received** | **String** | | [optional]
|
9
|
+
**checked** | **String** | | [optional]
|
10
|
+
**announced** | **String** | | [optional]
|
11
|
+
**is_valid** | **Boolean** | | [optional]
|
12
|
+
|
13
|
+
## Code Sample
|
14
|
+
|
15
|
+
```ruby
|
16
|
+
require 'SkyApi'
|
17
|
+
|
18
|
+
instance = SkyApi::InlineResponse20010.new(transaction: null,
|
19
|
+
received: null,
|
20
|
+
checked: null,
|
21
|
+
announced: null,
|
22
|
+
is_valid: null)
|
23
|
+
```
|
24
|
+
|
25
|
+
|
@@ -0,0 +1,29 @@
|
|
1
|
+
# SkyApi::InlineResponse2002
|
2
|
+
|
3
|
+
## Properties
|
4
|
+
|
5
|
+
Name | Type | Description | Notes
|
6
|
+
------------ | ------------- | ------------- | -------------
|
7
|
+
**current_coinhour_supply** | **String** | CurrentCoinHourSupply is coins hours in non distribution addresses. | [optional]
|
8
|
+
**current_supply** | **String** | Coins distributed beyond the project. | [optional]
|
9
|
+
**locked_distribution_addresses** | **Array<String>** | Distribution addresses which are locked and do not count towards total supply. | [optional]
|
10
|
+
**max_supply** | **String** | MaxSupply is the maximum number of coins to be distributed ever. | [optional]
|
11
|
+
**total_coinhour_supply** | **String** | TotalCoinHourSupply is coin hours in all addresses including unlocked distribution addresses. | [optional]
|
12
|
+
**total_supply** | **String** | TotalSupply is CurrentSupply plus coins held by the distribution addresses that are spendable. | [optional]
|
13
|
+
**unlocked_distribution_addresses** | **Array<String>** | Distribution addresses which count towards total supply. | [optional]
|
14
|
+
|
15
|
+
## Code Sample
|
16
|
+
|
17
|
+
```ruby
|
18
|
+
require 'SkyApi'
|
19
|
+
|
20
|
+
instance = SkyApi::InlineResponse2002.new(current_coinhour_supply: null,
|
21
|
+
current_supply: null,
|
22
|
+
locked_distribution_addresses: null,
|
23
|
+
max_supply: null,
|
24
|
+
total_coinhour_supply: null,
|
25
|
+
total_supply: null,
|
26
|
+
unlocked_distribution_addresses: null)
|
27
|
+
```
|
28
|
+
|
29
|
+
|
@@ -0,0 +1,17 @@
|
|
1
|
+
# SkyApi::InlineResponse2003
|
2
|
+
|
3
|
+
## Properties
|
4
|
+
|
5
|
+
Name | Type | Description | Notes
|
6
|
+
------------ | ------------- | ------------- | -------------
|
7
|
+
**csrf_token** | **String** | | [optional]
|
8
|
+
|
9
|
+
## Code Sample
|
10
|
+
|
11
|
+
```ruby
|
12
|
+
require 'SkyApi'
|
13
|
+
|
14
|
+
instance = SkyApi::InlineResponse2003.new(csrf_token: null)
|
15
|
+
```
|
16
|
+
|
17
|
+
|
@@ -0,0 +1,17 @@
|
|
1
|
+
# SkyApi::InlineResponse2004
|
2
|
+
|
3
|
+
## Properties
|
4
|
+
|
5
|
+
Name | Type | Description | Notes
|
6
|
+
------------ | ------------- | ------------- | -------------
|
7
|
+
**connections** | [**Array<NetworkConnectionSchema>**](NetworkConnectionSchema.md) | | [optional]
|
8
|
+
|
9
|
+
## Code Sample
|
10
|
+
|
11
|
+
```ruby
|
12
|
+
require 'SkyApi'
|
13
|
+
|
14
|
+
instance = SkyApi::InlineResponse2004.new(connections: null)
|
15
|
+
```
|
16
|
+
|
17
|
+
|
@@ -0,0 +1,21 @@
|
|
1
|
+
# SkyApi::InlineResponse2005
|
2
|
+
|
3
|
+
## Properties
|
4
|
+
|
5
|
+
Name | Type | Description | Notes
|
6
|
+
------------ | ------------- | ------------- | -------------
|
7
|
+
**branch** | **String** | git branch name | [optional]
|
8
|
+
**commit** | **String** | git commit id | [optional]
|
9
|
+
**version** | **String** | version number | [optional]
|
10
|
+
|
11
|
+
## Code Sample
|
12
|
+
|
13
|
+
```ruby
|
14
|
+
require 'SkyApi'
|
15
|
+
|
16
|
+
instance = SkyApi::InlineResponse2005.new(branch: null,
|
17
|
+
commit: null,
|
18
|
+
version: null)
|
19
|
+
```
|
20
|
+
|
21
|
+
|
@@ -0,0 +1,17 @@
|
|
1
|
+
# SkyApi::InlineResponse2006
|
2
|
+
|
3
|
+
## Properties
|
4
|
+
|
5
|
+
Name | Type | Description | Notes
|
6
|
+
------------ | ------------- | ------------- | -------------
|
7
|
+
**transactions** | [**Array<TransactionEncoded>**](TransactionEncoded.md) | | [optional]
|
8
|
+
|
9
|
+
## Code Sample
|
10
|
+
|
11
|
+
```ruby
|
12
|
+
require 'SkyApi'
|
13
|
+
|
14
|
+
instance = SkyApi::InlineResponse2006.new(transactions: null)
|
15
|
+
```
|
16
|
+
|
17
|
+
|
@@ -0,0 +1,17 @@
|
|
1
|
+
# SkyApi::InlineResponse2007
|
2
|
+
|
3
|
+
## Properties
|
4
|
+
|
5
|
+
Name | Type | Description | Notes
|
6
|
+
------------ | ------------- | ------------- | -------------
|
7
|
+
**address** | **String** | | [optional]
|
8
|
+
|
9
|
+
## Code Sample
|
10
|
+
|
11
|
+
```ruby
|
12
|
+
require 'SkyApi'
|
13
|
+
|
14
|
+
instance = SkyApi::InlineResponse2007.new(address: null)
|
15
|
+
```
|
16
|
+
|
17
|
+
|
@@ -0,0 +1,17 @@
|
|
1
|
+
# SkyApi::InlineResponse2008
|
2
|
+
|
3
|
+
## Properties
|
4
|
+
|
5
|
+
Name | Type | Description | Notes
|
6
|
+
------------ | ------------- | ------------- | -------------
|
7
|
+
**data** | [**InlineResponse2008Data**](InlineResponse2008Data.md) | | [optional]
|
8
|
+
|
9
|
+
## Code Sample
|
10
|
+
|
11
|
+
```ruby
|
12
|
+
require 'SkyApi'
|
13
|
+
|
14
|
+
instance = SkyApi::InlineResponse2008.new(data: null)
|
15
|
+
```
|
16
|
+
|
17
|
+
|
@@ -0,0 +1,17 @@
|
|
1
|
+
# SkyApi::InlineResponse2008Data
|
2
|
+
|
3
|
+
## Properties
|
4
|
+
|
5
|
+
Name | Type | Description | Notes
|
6
|
+
------------ | ------------- | ------------- | -------------
|
7
|
+
**transaction** | [**Transaction**](Transaction.md) | | [optional]
|
8
|
+
|
9
|
+
## Code Sample
|
10
|
+
|
11
|
+
```ruby
|
12
|
+
require 'SkyApi'
|
13
|
+
|
14
|
+
instance = SkyApi::InlineResponse2008Data.new(transaction: null)
|
15
|
+
```
|
16
|
+
|
17
|
+
|
@@ -0,0 +1,17 @@
|
|
1
|
+
# SkyApi::InlineResponse2009
|
2
|
+
|
3
|
+
## Properties
|
4
|
+
|
5
|
+
Name | Type | Description | Notes
|
6
|
+
------------ | ------------- | ------------- | -------------
|
7
|
+
**data** | **Object** | | [optional]
|
8
|
+
|
9
|
+
## Code Sample
|
10
|
+
|
11
|
+
```ruby
|
12
|
+
require 'SkyApi'
|
13
|
+
|
14
|
+
instance = SkyApi::InlineResponse2009.new(data: null)
|
15
|
+
```
|
16
|
+
|
17
|
+
|
@@ -0,0 +1,19 @@
|
|
1
|
+
# SkyApi::InlineResponseDefault
|
2
|
+
|
3
|
+
## Properties
|
4
|
+
|
5
|
+
Name | Type | Description | Notes
|
6
|
+
------------ | ------------- | ------------- | -------------
|
7
|
+
**code** | **Integer** | | [optional]
|
8
|
+
**message** | **String** | | [optional]
|
9
|
+
|
10
|
+
## Code Sample
|
11
|
+
|
12
|
+
```ruby
|
13
|
+
require 'SkyApi'
|
14
|
+
|
15
|
+
instance = SkyApi::InlineResponseDefault.new(code: null,
|
16
|
+
message: null)
|
17
|
+
```
|
18
|
+
|
19
|
+
|
@@ -0,0 +1,41 @@
|
|
1
|
+
# SkyApi::NetworkConnectionSchema
|
2
|
+
|
3
|
+
## Properties
|
4
|
+
|
5
|
+
Name | Type | Description | Notes
|
6
|
+
------------ | ------------- | ------------- | -------------
|
7
|
+
**address** | **String** | | [optional]
|
8
|
+
**connected_at** | **Integer** | | [optional]
|
9
|
+
**height** | **Integer** | | [optional]
|
10
|
+
**id** | **Integer** | | [optional]
|
11
|
+
**is_trusted_peer** | **Boolean** | | [optional]
|
12
|
+
**last_received** | **Integer** | | [optional]
|
13
|
+
**last_sent** | **Integer** | | [optional]
|
14
|
+
**listen_port** | **Integer** | | [optional]
|
15
|
+
**mirror** | **Integer** | | [optional]
|
16
|
+
**outgoing** | **Boolean** | | [optional]
|
17
|
+
**state** | **String** | | [optional]
|
18
|
+
**unconfirmed_verify_transaction** | [**NetworkConnectionSchemaUnconfirmedVerifyTransaction**](NetworkConnectionSchemaUnconfirmedVerifyTransaction.md) | | [optional]
|
19
|
+
**user_agent** | **String** | | [optional]
|
20
|
+
|
21
|
+
## Code Sample
|
22
|
+
|
23
|
+
```ruby
|
24
|
+
require 'SkyApi'
|
25
|
+
|
26
|
+
instance = SkyApi::NetworkConnectionSchema.new(address: null,
|
27
|
+
connected_at: null,
|
28
|
+
height: null,
|
29
|
+
id: null,
|
30
|
+
is_trusted_peer: null,
|
31
|
+
last_received: null,
|
32
|
+
last_sent: null,
|
33
|
+
listen_port: null,
|
34
|
+
mirror: null,
|
35
|
+
outgoing: null,
|
36
|
+
state: null,
|
37
|
+
unconfirmed_verify_transaction: null,
|
38
|
+
user_agent: null)
|
39
|
+
```
|
40
|
+
|
41
|
+
|
@@ -0,0 +1,21 @@
|
|
1
|
+
# SkyApi::NetworkConnectionSchemaUnconfirmedVerifyTransaction
|
2
|
+
|
3
|
+
## Properties
|
4
|
+
|
5
|
+
Name | Type | Description | Notes
|
6
|
+
------------ | ------------- | ------------- | -------------
|
7
|
+
**burn_factor** | **Integer** | | [optional]
|
8
|
+
**max_decimals** | **Integer** | | [optional]
|
9
|
+
**max_transaction_size** | **Integer** | | [optional]
|
10
|
+
|
11
|
+
## Code Sample
|
12
|
+
|
13
|
+
```ruby
|
14
|
+
require 'SkyApi'
|
15
|
+
|
16
|
+
instance = SkyApi::NetworkConnectionSchemaUnconfirmedVerifyTransaction.new(burn_factor: null,
|
17
|
+
max_decimals: null,
|
18
|
+
max_transaction_size: null)
|
19
|
+
```
|
20
|
+
|
21
|
+
|
data/docs/Transaction.md
ADDED
@@ -0,0 +1,21 @@
|
|
1
|
+
# SkyApi::Transaction
|
2
|
+
|
3
|
+
## Properties
|
4
|
+
|
5
|
+
Name | Type | Description | Notes
|
6
|
+
------------ | ------------- | ------------- | -------------
|
7
|
+
**status** | [**TransactionStatus**](TransactionStatus.md) | | [optional]
|
8
|
+
**txn** | [**TransactionTxn**](TransactionTxn.md) | | [optional]
|
9
|
+
**time** | **Integer** | | [optional]
|
10
|
+
|
11
|
+
## Code Sample
|
12
|
+
|
13
|
+
```ruby
|
14
|
+
require 'SkyApi'
|
15
|
+
|
16
|
+
instance = SkyApi::Transaction.new(status: null,
|
17
|
+
txn: null,
|
18
|
+
time: null)
|
19
|
+
```
|
20
|
+
|
21
|
+
|
@@ -0,0 +1,25 @@
|
|
1
|
+
# SkyApi::TransactionEncoded
|
2
|
+
|
3
|
+
## Properties
|
4
|
+
|
5
|
+
Name | Type | Description | Notes
|
6
|
+
------------ | ------------- | ------------- | -------------
|
7
|
+
**transaction** | [**ApiV1PendingTxsTransaction**](ApiV1PendingTxsTransaction.md) | | [optional]
|
8
|
+
**received** | **String** | | [optional]
|
9
|
+
**checked** | **String** | | [optional]
|
10
|
+
**announced** | **String** | | [optional]
|
11
|
+
**is_valid** | **Boolean** | | [optional]
|
12
|
+
|
13
|
+
## Code Sample
|
14
|
+
|
15
|
+
```ruby
|
16
|
+
require 'SkyApi'
|
17
|
+
|
18
|
+
instance = SkyApi::TransactionEncoded.new(transaction: null,
|
19
|
+
received: null,
|
20
|
+
checked: null,
|
21
|
+
announced: null,
|
22
|
+
is_valid: null)
|
23
|
+
```
|
24
|
+
|
25
|
+
|
@@ -0,0 +1,21 @@
|
|
1
|
+
# SkyApi::TransactionEncodedS
|
2
|
+
|
3
|
+
## Properties
|
4
|
+
|
5
|
+
Name | Type | Description | Notes
|
6
|
+
------------ | ------------- | ------------- | -------------
|
7
|
+
**time** | **Integer** | | [optional]
|
8
|
+
**status** | [**TransactionStatus**](TransactionStatus.md) | | [optional]
|
9
|
+
**encoded_transaction** | **String** | | [optional]
|
10
|
+
|
11
|
+
## Code Sample
|
12
|
+
|
13
|
+
```ruby
|
14
|
+
require 'SkyApi'
|
15
|
+
|
16
|
+
instance = SkyApi::TransactionEncodedS.new(time: null,
|
17
|
+
status: null,
|
18
|
+
encoded_transaction: null)
|
19
|
+
```
|
20
|
+
|
21
|
+
|
@@ -0,0 +1,23 @@
|
|
1
|
+
# SkyApi::TransactionStatus
|
2
|
+
|
3
|
+
## Properties
|
4
|
+
|
5
|
+
Name | Type | Description | Notes
|
6
|
+
------------ | ------------- | ------------- | -------------
|
7
|
+
**block_seq** | **Integer** | If confirmed, the sequence of the block in which the transaction was executed | [optional]
|
8
|
+
**confirmed** | **Boolean** | | [optional]
|
9
|
+
**height** | **Integer** | If confirmed, how many blocks deep in the chain it is. Will be at least 1 if confirmed | [optional]
|
10
|
+
**unconfirmed** | **Boolean** | | [optional]
|
11
|
+
|
12
|
+
## Code Sample
|
13
|
+
|
14
|
+
```ruby
|
15
|
+
require 'SkyApi'
|
16
|
+
|
17
|
+
instance = SkyApi::TransactionStatus.new(block_seq: null,
|
18
|
+
confirmed: null,
|
19
|
+
height: null,
|
20
|
+
unconfirmed: null)
|
21
|
+
```
|
22
|
+
|
23
|
+
|
@@ -0,0 +1,31 @@
|
|
1
|
+
# SkyApi::TransactionTxn
|
2
|
+
|
3
|
+
## Properties
|
4
|
+
|
5
|
+
Name | Type | Description | Notes
|
6
|
+
------------ | ------------- | ------------- | -------------
|
7
|
+
**inner_hash** | **String** | | [optional]
|
8
|
+
**inputs** | **Array<String>** | | [optional]
|
9
|
+
**length** | **Integer** | | [optional]
|
10
|
+
**outputs** | **Array<Object>** | | [optional]
|
11
|
+
**sigs** | **Array<String>** | | [optional]
|
12
|
+
**timestamp** | **Integer** | | [optional]
|
13
|
+
**txid** | **String** | | [optional]
|
14
|
+
**type** | **Integer** | | [optional]
|
15
|
+
|
16
|
+
## Code Sample
|
17
|
+
|
18
|
+
```ruby
|
19
|
+
require 'SkyApi'
|
20
|
+
|
21
|
+
instance = SkyApi::TransactionTxn.new(inner_hash: null,
|
22
|
+
inputs: null,
|
23
|
+
length: null,
|
24
|
+
outputs: null,
|
25
|
+
sigs: null,
|
26
|
+
timestamp: null,
|
27
|
+
txid: null,
|
28
|
+
type: null)
|
29
|
+
```
|
30
|
+
|
31
|
+
|