crypto_apis 1.1.0 → 1.2.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (205) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +51 -15
  3. data/docs/BroadcastLocallySignedTransactionR.md +24 -0
  4. data/docs/BroadcastLocallySignedTransactionRB.md +20 -0
  5. data/docs/BroadcastLocallySignedTransactionRBData.md +18 -0
  6. data/docs/BroadcastLocallySignedTransactionRBDataItem.md +22 -0
  7. data/docs/BroadcastLocallySignedTransactionRData.md +18 -0
  8. data/docs/BroadcastLocallySignedTransactionRI.md +18 -0
  9. data/docs/BroadcastTransactionFail.md +24 -0
  10. data/docs/BroadcastTransactionFailData.md +22 -0
  11. data/docs/BroadcastTransactionFailDataItem.md +24 -0
  12. data/docs/BroadcastTransactionSuccess.md +24 -0
  13. data/docs/BroadcastTransactionSuccessData.md +22 -0
  14. data/docs/BroadcastTransactionSuccessDataItem.md +22 -0
  15. data/docs/CreateCoinsTransactionRequestFromAddressRBDataItem.md +6 -2
  16. data/docs/CreateCoinsTransactionRequestFromAddressRI.md +4 -0
  17. data/docs/CreateCoinsTransactionRequestFromWalletRBDataItem.md +7 -3
  18. data/docs/{CreateCoinsTransactionRequestFromWalletRBDataItemDestinations.md → CreateCoinsTransactionRequestFromWalletRBDataItemRecipients.md} +3 -3
  19. data/docs/CreateCoinsTransactionRequestFromWalletRI.md +4 -0
  20. data/docs/CreateTokensTransactionRequestFromAddressRBDataItem.md +6 -2
  21. data/docs/CreateTokensTransactionRequestFromAddressRI.md +4 -0
  22. data/docs/FeaturesApi.md +167 -0
  23. data/docs/{ListReceivingAddressesR.md → GenerateDepositAddressR.md} +3 -3
  24. data/docs/{GenerateReceivingAddressRB.md → GenerateDepositAddressRB.md} +3 -3
  25. data/docs/GenerateDepositAddressRBData.md +18 -0
  26. data/docs/{GenerateReceivingAddressRBDataItem.md → GenerateDepositAddressRBDataItem.md} +2 -2
  27. data/docs/GenerateDepositAddressRData.md +18 -0
  28. data/docs/{GenerateReceivingAddressRI.md → GenerateDepositAddressRI.md} +2 -2
  29. data/docs/GeneratingApi.md +16 -16
  30. data/docs/GetAddressDetailsRIConfirmedBalance.md +2 -2
  31. data/docs/GetAddressDetailsRITotalReceived.md +2 -2
  32. data/docs/GetAddressDetailsRITotalSpent.md +2 -2
  33. data/docs/GetBlockDetailsByBlockHashRIBS.md +2 -0
  34. data/docs/GetBlockDetailsByBlockHashRIBSBSC.md +36 -0
  35. data/docs/GetBlockDetailsByBlockHeightRIBS.md +2 -0
  36. data/docs/GetBlockDetailsByBlockHeightRIBSBSC.md +34 -0
  37. data/docs/GetLatestMinedBlockRIBS.md +2 -0
  38. data/docs/GetLatestMinedBlockRIBSBSC.md +34 -0
  39. data/docs/GetTransactionDetailsByTransactionIDRIBS.md +2 -0
  40. data/docs/GetTransactionDetailsByTransactionIDRIBSBSC.md +28 -0
  41. data/docs/GetTransactionDetailsByTransactionIDRIBSBSCGasPrice.md +20 -0
  42. data/docs/GetTransactionDetailsByTransactionIDRIFee.md +1 -1
  43. data/docs/InformativeApi.md +15 -15
  44. data/docs/{GenerateReceivingAddressR.md → ListDepositAddressesR.md} +3 -3
  45. data/docs/{ListReceivingAddressesRData.md → ListDepositAddressesRData.md} +3 -3
  46. data/docs/{ListReceivingAddressesRI.md → ListDepositAddressesRI.md} +2 -2
  47. data/docs/ListTransactionsByAddressRIBS.md +2 -0
  48. data/docs/ListTransactionsByAddressRIBSBSC.md +30 -0
  49. data/docs/ListTransactionsByBlockHashRIBS.md +2 -0
  50. data/docs/ListTransactionsByBlockHashRIBSBSC.md +30 -0
  51. data/docs/ListTransactionsByBlockHashRIFee.md +1 -1
  52. data/docs/ListTransactionsByBlockHeightRIBS.md +2 -0
  53. data/docs/ListTransactionsByBlockHeightRIBSBSC.md +28 -0
  54. data/docs/ListTransactionsByBlockHeightRIBSBSCGasPrice.md +20 -0
  55. data/docs/ListXRPRippleTransactionsByAddressRI.md +2 -4
  56. data/docs/TransactionRequestApproval.md +24 -0
  57. data/docs/TransactionRequestApprovalData.md +22 -0
  58. data/docs/TransactionRequestApprovalDataItem.md +28 -0
  59. data/docs/TransactionRequestBroadcasted.md +24 -0
  60. data/docs/TransactionRequestBroadcastedData.md +22 -0
  61. data/docs/TransactionRequestBroadcastedDataItem.md +30 -0
  62. data/docs/TransactionRequestFail.md +24 -0
  63. data/docs/TransactionRequestFailData.md +22 -0
  64. data/docs/TransactionRequestFailDataItem.md +30 -0
  65. data/docs/TransactionRequestMined.md +24 -0
  66. data/docs/TransactionRequestMinedData.md +22 -0
  67. data/docs/TransactionRequestRejection.md +24 -0
  68. data/docs/TransactionRequestRejectionData.md +22 -0
  69. data/docs/TransactionRequestRejectionDataItem.md +28 -0
  70. data/docs/TransactionsApi.md +10 -10
  71. data/docs/XRPRippleApi.md +3 -1
  72. data/lib/crypto_apis.rb +46 -11
  73. data/lib/crypto_apis/api/features_api.rb +194 -0
  74. data/lib/crypto_apis/api/generating_api.rb +17 -17
  75. data/lib/crypto_apis/api/informative_api.rb +18 -18
  76. data/lib/crypto_apis/api/transactions_api.rb +10 -10
  77. data/lib/crypto_apis/api/unified_endpoints_api.rb +7 -7
  78. data/lib/crypto_apis/api/xrp_ripple_api.rb +7 -0
  79. data/lib/crypto_apis/models/broadcast_locally_signed_transaction_r.rb +263 -0
  80. data/lib/crypto_apis/models/broadcast_locally_signed_transaction_r_data.rb +223 -0
  81. data/lib/crypto_apis/models/broadcast_locally_signed_transaction_rb.rb +233 -0
  82. data/lib/crypto_apis/models/broadcast_locally_signed_transaction_rb_data.rb +223 -0
  83. data/lib/crypto_apis/models/broadcast_locally_signed_transaction_rb_data_item.rb +249 -0
  84. data/lib/crypto_apis/models/broadcast_locally_signed_transaction_ri.rb +224 -0
  85. data/lib/crypto_apis/models/broadcast_transaction_fail.rb +268 -0
  86. data/lib/crypto_apis/models/broadcast_transaction_fail_data.rb +254 -0
  87. data/lib/crypto_apis/models/broadcast_transaction_fail_data_item.rb +270 -0
  88. data/lib/crypto_apis/models/broadcast_transaction_success.rb +268 -0
  89. data/lib/crypto_apis/models/broadcast_transaction_success_data.rb +254 -0
  90. data/lib/crypto_apis/models/broadcast_transaction_success_data_item.rb +255 -0
  91. data/lib/crypto_apis/models/create_coins_transaction_request_from_address_rb_data_item.rb +30 -10
  92. data/lib/crypto_apis/models/create_coins_transaction_request_from_address_ri.rb +21 -1
  93. data/lib/crypto_apis/models/create_coins_transaction_request_from_wallet_rb_data_item.rb +38 -18
  94. data/lib/crypto_apis/models/{create_coins_transaction_request_from_wallet_rb_data_item_destinations.rb → create_coins_transaction_request_from_wallet_rb_data_item_recipients.rb} +4 -4
  95. data/lib/crypto_apis/models/create_coins_transaction_request_from_wallet_ri.rb +21 -1
  96. data/lib/crypto_apis/models/create_tokens_transaction_request_from_address_rb_data_item.rb +30 -10
  97. data/lib/crypto_apis/models/create_tokens_transaction_request_from_address_ri.rb +31 -1
  98. data/lib/crypto_apis/models/{list_receiving_addresses_r.rb → generate_deposit_address_r.rb} +4 -4
  99. data/lib/crypto_apis/models/{generate_receiving_address_r_data.rb → generate_deposit_address_r_data.rb} +4 -4
  100. data/lib/crypto_apis/models/{generate_receiving_address_rb.rb → generate_deposit_address_rb.rb} +4 -4
  101. data/lib/crypto_apis/models/{generate_receiving_address_rb_data.rb → generate_deposit_address_rb_data.rb} +4 -4
  102. data/lib/crypto_apis/models/{generate_receiving_address_rb_data_item.rb → generate_deposit_address_rb_data_item.rb} +3 -3
  103. data/lib/crypto_apis/models/{list_receiving_addresses_ri.rb → generate_deposit_address_ri.rb} +3 -3
  104. data/lib/crypto_apis/models/get_address_details_ri_confirmed_balance.rb +0 -1
  105. data/lib/crypto_apis/models/get_address_details_ri_total_received.rb +0 -1
  106. data/lib/crypto_apis/models/get_address_details_ri_total_spent.rb +0 -1
  107. data/lib/crypto_apis/models/get_block_details_by_block_hash_ribs.rb +1 -0
  108. data/lib/crypto_apis/models/get_block_details_by_block_hash_ribsbsc.rb +361 -0
  109. data/lib/crypto_apis/models/get_block_details_by_block_height_ribs.rb +1 -0
  110. data/lib/crypto_apis/models/get_block_details_by_block_height_ribsbsc.rb +345 -0
  111. data/lib/crypto_apis/models/get_latest_mined_block_ribs.rb +1 -0
  112. data/lib/crypto_apis/models/get_latest_mined_block_ribsbsc.rb +345 -0
  113. data/lib/crypto_apis/models/get_transaction_details_by_transaction_idri_fee.rb +0 -1
  114. data/lib/crypto_apis/models/get_transaction_details_by_transaction_idribs.rb +1 -0
  115. data/lib/crypto_apis/models/get_transaction_details_by_transaction_idribsbsc.rb +299 -0
  116. data/lib/crypto_apis/models/get_transaction_details_by_transaction_idribsbsc_gas_price.rb +238 -0
  117. data/lib/crypto_apis/models/{generate_receiving_address_r.rb → list_deposit_addresses_r.rb} +4 -4
  118. data/lib/crypto_apis/models/{list_receiving_addresses_r_data.rb → list_deposit_addresses_r_data.rb} +4 -4
  119. data/lib/crypto_apis/models/{generate_receiving_address_ri.rb → list_deposit_addresses_ri.rb} +3 -3
  120. data/lib/crypto_apis/models/list_transactions_by_address_ribs.rb +1 -0
  121. data/lib/crypto_apis/models/list_transactions_by_address_ribsbsc.rb +314 -0
  122. data/lib/crypto_apis/models/list_transactions_by_block_hash_ri_fee.rb +0 -1
  123. data/lib/crypto_apis/models/list_transactions_by_block_hash_ribs.rb +1 -0
  124. data/lib/crypto_apis/models/list_transactions_by_block_hash_ribsbsc.rb +314 -0
  125. data/lib/crypto_apis/models/list_transactions_by_block_height_ribs.rb +1 -0
  126. data/lib/crypto_apis/models/list_transactions_by_block_height_ribsbsc.rb +299 -0
  127. data/lib/crypto_apis/models/list_transactions_by_block_height_ribsbsc_gas_price.rb +238 -0
  128. data/lib/crypto_apis/models/list_xrp_ripple_transactions_by_address_ri.rb +1 -16
  129. data/lib/crypto_apis/models/transaction_request_approval.rb +268 -0
  130. data/lib/crypto_apis/models/transaction_request_approval_data.rb +254 -0
  131. data/lib/crypto_apis/models/transaction_request_approval_data_item.rb +300 -0
  132. data/lib/crypto_apis/models/transaction_request_broadcasted.rb +268 -0
  133. data/lib/crypto_apis/models/transaction_request_broadcasted_data.rb +254 -0
  134. data/lib/crypto_apis/models/transaction_request_broadcasted_data_item.rb +315 -0
  135. data/lib/crypto_apis/models/transaction_request_fail.rb +268 -0
  136. data/lib/crypto_apis/models/transaction_request_fail_data.rb +254 -0
  137. data/lib/crypto_apis/models/transaction_request_fail_data_item.rb +315 -0
  138. data/lib/crypto_apis/models/transaction_request_mined.rb +268 -0
  139. data/lib/crypto_apis/models/transaction_request_mined_data.rb +254 -0
  140. data/lib/crypto_apis/models/transaction_request_rejection.rb +268 -0
  141. data/lib/crypto_apis/models/transaction_request_rejection_data.rb +254 -0
  142. data/lib/crypto_apis/models/transaction_request_rejection_data_item.rb +300 -0
  143. data/lib/crypto_apis/version.rb +1 -1
  144. data/spec/api/{validating_api_spec.rb → features_api_spec.rb} +21 -6
  145. data/spec/api/generating_api_spec.rb +5 -5
  146. data/spec/api/informative_api_spec.rb +5 -5
  147. data/spec/api/transactions_api_spec.rb +1 -1
  148. data/spec/api/xrp_ripple_api_spec.rb +1 -0
  149. data/spec/models/broadcast_locally_signed_transaction_r_data_spec.rb +34 -0
  150. data/spec/models/broadcast_locally_signed_transaction_r_spec.rb +52 -0
  151. data/spec/models/broadcast_locally_signed_transaction_rb_data_item_spec.rb +46 -0
  152. data/spec/models/broadcast_locally_signed_transaction_rb_data_spec.rb +34 -0
  153. data/spec/models/broadcast_locally_signed_transaction_rb_spec.rb +40 -0
  154. data/spec/models/broadcast_locally_signed_transaction_ri_spec.rb +34 -0
  155. data/spec/models/broadcast_transaction_fail_data_item_spec.rb +52 -0
  156. data/spec/models/broadcast_transaction_fail_data_spec.rb +46 -0
  157. data/spec/models/broadcast_transaction_fail_spec.rb +52 -0
  158. data/spec/models/broadcast_transaction_success_data_item_spec.rb +46 -0
  159. data/spec/models/broadcast_transaction_success_data_spec.rb +46 -0
  160. data/spec/models/broadcast_transaction_success_spec.rb +52 -0
  161. data/spec/models/create_coins_transaction_request_from_address_rb_data_item_spec.rb +13 -1
  162. data/spec/models/create_coins_transaction_request_from_address_ri_spec.rb +12 -0
  163. data/spec/models/{create_coins_transaction_request_from_wallet_rb_data_item_destinations_spec.rb → create_coins_transaction_request_from_wallet_rb_data_item_recipients_spec.rb} +6 -6
  164. data/spec/models/create_coins_transaction_request_from_wallet_rb_data_item_spec.rb +13 -1
  165. data/spec/models/create_coins_transaction_request_from_wallet_ri_spec.rb +12 -0
  166. data/spec/models/create_tokens_transaction_request_from_address_rb_data_item_spec.rb +13 -1
  167. data/spec/models/create_tokens_transaction_request_from_address_ri_spec.rb +12 -0
  168. data/spec/models/{generate_receiving_address_r_data_spec.rb → generate_deposit_address_r_data_spec.rb} +6 -6
  169. data/spec/models/{list_receiving_addresses_r_spec.rb → generate_deposit_address_r_spec.rb} +6 -6
  170. data/spec/models/{generate_receiving_address_rb_data_item_spec.rb → generate_deposit_address_rb_data_item_spec.rb} +6 -6
  171. data/spec/models/{generate_receiving_address_rb_data_spec.rb → generate_deposit_address_rb_data_spec.rb} +6 -6
  172. data/spec/models/{generate_receiving_address_rb_spec.rb → generate_deposit_address_rb_spec.rb} +6 -6
  173. data/spec/models/{list_receiving_addresses_ri_spec.rb → generate_deposit_address_ri_spec.rb} +6 -6
  174. data/spec/models/get_block_details_by_block_hash_ribsbsc_spec.rb +88 -0
  175. data/spec/models/get_block_details_by_block_height_ribsbsc_spec.rb +82 -0
  176. data/spec/models/get_latest_mined_block_ribsbsc_spec.rb +82 -0
  177. data/spec/models/get_transaction_details_by_transaction_idribsbsc_gas_price_spec.rb +40 -0
  178. data/spec/models/get_transaction_details_by_transaction_idribsbsc_spec.rb +64 -0
  179. data/spec/models/{list_receiving_addresses_r_data_spec.rb → list_deposit_addresses_r_data_spec.rb} +6 -6
  180. data/spec/models/{generate_receiving_address_r_spec.rb → list_deposit_addresses_r_spec.rb} +6 -6
  181. data/spec/models/{generate_receiving_address_ri_spec.rb → list_deposit_addresses_ri_spec.rb} +6 -6
  182. data/spec/models/list_transactions_by_address_ribsbsc_spec.rb +70 -0
  183. data/spec/models/list_transactions_by_block_hash_ribsbsc_spec.rb +70 -0
  184. data/spec/models/list_transactions_by_block_height_ribsbsc_gas_price_spec.rb +40 -0
  185. data/spec/models/list_transactions_by_block_height_ribsbsc_spec.rb +64 -0
  186. data/spec/models/list_xrp_ripple_transactions_by_address_ri_spec.rb +0 -6
  187. data/spec/models/transaction_request_approval_data_item_spec.rb +64 -0
  188. data/spec/models/transaction_request_approval_data_spec.rb +46 -0
  189. data/spec/models/transaction_request_approval_spec.rb +52 -0
  190. data/spec/models/transaction_request_broadcasted_data_item_spec.rb +70 -0
  191. data/spec/models/transaction_request_broadcasted_data_spec.rb +46 -0
  192. data/spec/models/transaction_request_broadcasted_spec.rb +52 -0
  193. data/spec/models/transaction_request_fail_data_item_spec.rb +70 -0
  194. data/spec/models/transaction_request_fail_data_spec.rb +46 -0
  195. data/spec/models/transaction_request_fail_spec.rb +52 -0
  196. data/spec/models/transaction_request_mined_data_spec.rb +46 -0
  197. data/spec/models/transaction_request_mined_spec.rb +52 -0
  198. data/spec/models/transaction_request_rejection_data_item_spec.rb +64 -0
  199. data/spec/models/transaction_request_rejection_data_spec.rb +46 -0
  200. data/spec/models/transaction_request_rejection_spec.rb +52 -0
  201. metadata +186 -46
  202. data/docs/GenerateReceivingAddressRBData.md +0 -18
  203. data/docs/GenerateReceivingAddressRData.md +0 -18
  204. data/docs/ValidatingApi.md +0 -87
  205. data/lib/crypto_apis/api/validating_api.rb +0 -108
@@ -4,14 +4,14 @@ All URIs are relative to *https://rest.cryptoapis.io/v2*
4
4
 
5
5
  | Method | HTTP request | Description |
6
6
  | ------ | ------------ | ----------- |
7
- | [**generate_receiving_address**](GeneratingApi.md#generate_receiving_address) | **POST** /wallet-as-a-service/wallets/{walletId}/{blockchain}/{network}/addresses | Generate Receiving Address |
7
+ | [**generate_deposit_address**](GeneratingApi.md#generate_deposit_address) | **POST** /wallet-as-a-service/wallets/{walletId}/{blockchain}/{network}/addresses | Generate Deposit Address |
8
8
 
9
9
 
10
- ## generate_receiving_address
10
+ ## generate_deposit_address
11
11
 
12
- > <GenerateReceivingAddressR> generate_receiving_address(blockchain, network, wallet_id, opts)
12
+ > <GenerateDepositAddressR> generate_deposit_address(blockchain, network, wallet_id, opts)
13
13
 
14
- Generate Receiving Address
14
+ Generate Deposit Address
15
15
 
16
16
  Through this endpoint customers can generate a new Receiving/Deposit Addresses into their Wallet.
17
17
 
@@ -34,33 +34,33 @@ network = 'mainnet' # String | Represents the name of the blockchain network use
34
34
  wallet_id = '60c9d9921c38030006675ff6' # String | Represents the unique ID of the specific Wallet.
35
35
  opts = {
36
36
  context: 'context_example', # String | In batch situations the user can use the context to correlate responses with requests. This property is present regardless of whether the response was successful or returned as an error. `context` is specified by the user.
37
- generate_receiving_address_rb: CryptoApis::GenerateReceivingAddressRB.new({data: CryptoApis::GenerateReceivingAddressRBData.new({item: CryptoApis::GenerateReceivingAddressRBDataItem.new({label: 'yourLabelStringHere'})})}) # GenerateReceivingAddressRB |
37
+ generate_deposit_address_rb: CryptoApis::GenerateDepositAddressRB.new({data: CryptoApis::GenerateDepositAddressRBData.new({item: CryptoApis::GenerateDepositAddressRBDataItem.new({label: 'yourLabelStringHere'})})}) # GenerateDepositAddressRB |
38
38
  }
39
39
 
40
40
  begin
41
- # Generate Receiving Address
42
- result = api_instance.generate_receiving_address(blockchain, network, wallet_id, opts)
41
+ # Generate Deposit Address
42
+ result = api_instance.generate_deposit_address(blockchain, network, wallet_id, opts)
43
43
  p result
44
44
  rescue CryptoApis::ApiError => e
45
- puts "Error when calling GeneratingApi->generate_receiving_address: #{e}"
45
+ puts "Error when calling GeneratingApi->generate_deposit_address: #{e}"
46
46
  end
47
47
  ```
48
48
 
49
- #### Using the generate_receiving_address_with_http_info variant
49
+ #### Using the generate_deposit_address_with_http_info variant
50
50
 
51
51
  This returns an Array which contains the response data, status code and headers.
52
52
 
53
- > <Array(<GenerateReceivingAddressR>, Integer, Hash)> generate_receiving_address_with_http_info(blockchain, network, wallet_id, opts)
53
+ > <Array(<GenerateDepositAddressR>, Integer, Hash)> generate_deposit_address_with_http_info(blockchain, network, wallet_id, opts)
54
54
 
55
55
  ```ruby
56
56
  begin
57
- # Generate Receiving Address
58
- data, status_code, headers = api_instance.generate_receiving_address_with_http_info(blockchain, network, wallet_id, opts)
57
+ # Generate Deposit Address
58
+ data, status_code, headers = api_instance.generate_deposit_address_with_http_info(blockchain, network, wallet_id, opts)
59
59
  p status_code # => 2xx
60
60
  p headers # => { ... }
61
- p data # => <GenerateReceivingAddressR>
61
+ p data # => <GenerateDepositAddressR>
62
62
  rescue CryptoApis::ApiError => e
63
- puts "Error when calling GeneratingApi->generate_receiving_address_with_http_info: #{e}"
63
+ puts "Error when calling GeneratingApi->generate_deposit_address_with_http_info: #{e}"
64
64
  end
65
65
  ```
66
66
 
@@ -72,11 +72,11 @@ end
72
72
  | **network** | **String** | Represents the name of the blockchain network used; blockchain networks are usually identical as technology and software, but they differ in data, e.g. - \&quot;mainnet\&quot; is the live network with actual data while networks like \&quot;testnet\&quot;, \&quot;ropsten\&quot;, \&quot;rinkeby\&quot; are test networks. | |
73
73
  | **wallet_id** | **String** | Represents the unique ID of the specific Wallet. | |
74
74
  | **context** | **String** | In batch situations the user can use the context to correlate responses with requests. This property is present regardless of whether the response was successful or returned as an error. &#x60;context&#x60; is specified by the user. | [optional] |
75
- | **generate_receiving_address_rb** | [**GenerateReceivingAddressRB**](GenerateReceivingAddressRB.md) | | [optional] |
75
+ | **generate_deposit_address_rb** | [**GenerateDepositAddressRB**](GenerateDepositAddressRB.md) | | [optional] |
76
76
 
77
77
  ### Return type
78
78
 
79
- [**GenerateReceivingAddressR**](GenerateReceivingAddressR.md)
79
+ [**GenerateDepositAddressR**](GenerateDepositAddressR.md)
80
80
 
81
81
  ### Authorization
82
82
 
@@ -5,7 +5,7 @@
5
5
  | Name | Type | Description | Notes |
6
6
  | ---- | ---- | ----------- | ----- |
7
7
  | **amount** | **String** | Defines the total balance of the address that is confirmed. It doesn&#39;t include unconfirmed transactions. | |
8
- | **unit** | **String** | Defines the unit of the confirmed balance amount, e.g. BTC, ETH, XRP. | |
8
+ | **unit** | **String** | | |
9
9
 
10
10
  ## Example
11
11
 
@@ -14,7 +14,7 @@ require 'crypto_apis'
14
14
 
15
15
  instance = CryptoApis::GetAddressDetailsRIConfirmedBalance.new(
16
16
  amount: 3.5,
17
- unit: BTC
17
+ unit: null
18
18
  )
19
19
  ```
20
20
 
@@ -5,7 +5,7 @@
5
5
  | Name | Type | Description | Notes |
6
6
  | ---- | ---- | ----------- | ----- |
7
7
  | **amount** | **String** | Defines the total amount of all coins received to the address, based on confirmed transactions. | |
8
- | **unit** | **String** | Defines the unit of the received amount, e.g. BTC, ETH, XRP. | |
8
+ | **unit** | **String** | | |
9
9
 
10
10
  ## Example
11
11
 
@@ -14,7 +14,7 @@ require 'crypto_apis'
14
14
 
15
15
  instance = CryptoApis::GetAddressDetailsRITotalReceived.new(
16
16
  amount: 5.6,
17
- unit: BTC
17
+ unit: null
18
18
  )
19
19
  ```
20
20
 
@@ -5,7 +5,7 @@
5
5
  | Name | Type | Description | Notes |
6
6
  | ---- | ---- | ----------- | ----- |
7
7
  | **amount** | **String** | Defines the total amount of all spent by this address coins, based on confirmed transactions. | |
8
- | **unit** | **String** | Defines the unit of the spent amount, e.g. BTC, ETH, XRP. | |
8
+ | **unit** | **String** | | |
9
9
 
10
10
  ## Example
11
11
 
@@ -14,7 +14,7 @@ require 'crypto_apis'
14
14
 
15
15
  instance = CryptoApis::GetAddressDetailsRITotalSpent.new(
16
16
  amount: 2.1,
17
- unit: BTC
17
+ unit: null
18
18
  )
19
19
  ```
20
20
 
@@ -16,6 +16,7 @@ CryptoApis::GetBlockDetailsByBlockHashRIBS.openapi_one_of
16
16
  # [
17
17
  # :'GetBlockDetailsByBlockHashRIBSB',
18
18
  # :'GetBlockDetailsByBlockHashRIBSBC',
19
+ # :'GetBlockDetailsByBlockHashRIBSBSC',
19
20
  # :'GetBlockDetailsByBlockHashRIBSD',
20
21
  # :'GetBlockDetailsByBlockHashRIBSD2',
21
22
  # :'GetBlockDetailsByBlockHashRIBSE',
@@ -50,6 +51,7 @@ CryptoApis::GetBlockDetailsByBlockHashRIBS.build(data_that_doesnt_match)
50
51
 
51
52
  - `GetBlockDetailsByBlockHashRIBSB`
52
53
  - `GetBlockDetailsByBlockHashRIBSBC`
54
+ - `GetBlockDetailsByBlockHashRIBSBSC`
53
55
  - `GetBlockDetailsByBlockHashRIBSD`
54
56
  - `GetBlockDetailsByBlockHashRIBSD2`
55
57
  - `GetBlockDetailsByBlockHashRIBSE`
@@ -0,0 +1,36 @@
1
+ # CryptoApis::GetBlockDetailsByBlockHashRIBSBSC
2
+
3
+ ## Properties
4
+
5
+ | Name | Type | Description | Notes |
6
+ | ---- | ---- | ----------- | ----- |
7
+ | **difficulty** | **String** | Represents a mathematical value of how hard it is to find a valid hash for this block. | |
8
+ | **nonce** | **Integer** | Represents a random value that can be adjusted to satisfy the Proof of Work. | |
9
+ | **size** | **Integer** | Represents the total size of the block in Bytes. | |
10
+ | **extra_data** | **String** | Numeric representation of the block extra data | |
11
+ | **gas_limit** | **String** | Numeric representation of the block gas limit | |
12
+ | **gas_used** | **String** | Numeric representation of the block gas used | |
13
+ | **mined_in_seconds** | **Integer** | Numeric representation of the block gas limit | |
14
+ | **sha3_uncles** | **String** | Numeric representation of the block sha3 uncles | |
15
+ | **total_difficulty** | **String** | Numeric representation of the block total difficulty | |
16
+ | **uncles** | **Array&lt;String&gt;** | | |
17
+
18
+ ## Example
19
+
20
+ ```ruby
21
+ require 'crypto_apis'
22
+
23
+ instance = CryptoApis::GetBlockDetailsByBlockHashRIBSBSC.new(
24
+ difficulty: 209515044.4071968,
25
+ nonce: 1535290446,
26
+ size: 53598,
27
+ extra_data: null,
28
+ gas_limit: null,
29
+ gas_used: null,
30
+ mined_in_seconds: null,
31
+ sha3_uncles: null,
32
+ total_difficulty: null,
33
+ uncles: null
34
+ )
35
+ ```
36
+
@@ -16,6 +16,7 @@ CryptoApis::GetBlockDetailsByBlockHeightRIBS.openapi_one_of
16
16
  # [
17
17
  # :'GetBlockDetailsByBlockHeightRIBSB',
18
18
  # :'GetBlockDetailsByBlockHeightRIBSBC',
19
+ # :'GetBlockDetailsByBlockHeightRIBSBSC',
19
20
  # :'GetBlockDetailsByBlockHeightRIBSD',
20
21
  # :'GetBlockDetailsByBlockHeightRIBSD2',
21
22
  # :'GetBlockDetailsByBlockHeightRIBSE',
@@ -50,6 +51,7 @@ CryptoApis::GetBlockDetailsByBlockHeightRIBS.build(data_that_doesnt_match)
50
51
 
51
52
  - `GetBlockDetailsByBlockHeightRIBSB`
52
53
  - `GetBlockDetailsByBlockHeightRIBSBC`
54
+ - `GetBlockDetailsByBlockHeightRIBSBSC`
53
55
  - `GetBlockDetailsByBlockHeightRIBSD`
54
56
  - `GetBlockDetailsByBlockHeightRIBSD2`
55
57
  - `GetBlockDetailsByBlockHeightRIBSE`
@@ -0,0 +1,34 @@
1
+ # CryptoApis::GetBlockDetailsByBlockHeightRIBSBSC
2
+
3
+ ## Properties
4
+
5
+ | Name | Type | Description | Notes |
6
+ | ---- | ---- | ----------- | ----- |
7
+ | **difficulty** | **String** | Represents a mathematical value of how hard it is to find a valid hash for this block. | |
8
+ | **nonce** | **Integer** | Represents a random value that can be adjusted to satisfy the Proof of Work | |
9
+ | **size** | **Integer** | Represents the total size of the block in Bytes. | |
10
+ | **extra_data** | **String** | Numeric representation of the block extra data | |
11
+ | **gas_limit** | **String** | Numeric representation of the block gas limit | |
12
+ | **gas_used** | **String** | Numeric representation of the block gas used | |
13
+ | **mined_in_seconds** | **String** | Numeric representation of the block gas limit | |
14
+ | **sha3_uncles** | **String** | Numeric representation of the block sha3 uncles | |
15
+ | **total_difficulty** | **String** | Numeric representation of the block total difficulty | |
16
+
17
+ ## Example
18
+
19
+ ```ruby
20
+ require 'crypto_apis'
21
+
22
+ instance = CryptoApis::GetBlockDetailsByBlockHeightRIBSBSC.new(
23
+ difficulty: 209515044.4071968,
24
+ nonce: 1535290446,
25
+ size: 3892,
26
+ extra_data: null,
27
+ gas_limit: null,
28
+ gas_used: null,
29
+ mined_in_seconds: null,
30
+ sha3_uncles: null,
31
+ total_difficulty: null
32
+ )
33
+ ```
34
+
@@ -16,6 +16,7 @@ CryptoApis::GetLatestMinedBlockRIBS.openapi_one_of
16
16
  # [
17
17
  # :'GetLatestMinedBlockRIBSB',
18
18
  # :'GetLatestMinedBlockRIBSBC',
19
+ # :'GetLatestMinedBlockRIBSBSC',
19
20
  # :'GetLatestMinedBlockRIBSD',
20
21
  # :'GetLatestMinedBlockRIBSD2',
21
22
  # :'GetLatestMinedBlockRIBSE',
@@ -50,6 +51,7 @@ CryptoApis::GetLatestMinedBlockRIBS.build(data_that_doesnt_match)
50
51
 
51
52
  - `GetLatestMinedBlockRIBSB`
52
53
  - `GetLatestMinedBlockRIBSBC`
54
+ - `GetLatestMinedBlockRIBSBSC`
53
55
  - `GetLatestMinedBlockRIBSD`
54
56
  - `GetLatestMinedBlockRIBSD2`
55
57
  - `GetLatestMinedBlockRIBSE`
@@ -0,0 +1,34 @@
1
+ # CryptoApis::GetLatestMinedBlockRIBSBSC
2
+
3
+ ## Properties
4
+
5
+ | Name | Type | Description | Notes |
6
+ | ---- | ---- | ----------- | ----- |
7
+ | **difficulty** | **String** | Represents a mathematical value of how hard it is to find a valid hash for this block. | |
8
+ | **nonce** | **Integer** | Represents a random value that can be adjusted to satisfy the proof of work | |
9
+ | **size** | **Integer** | Represents the total size of the block in Bytes. | |
10
+ | **extra_data** | **String** | Numeric representation of the block extra data | |
11
+ | **gas_limit** | **String** | Numeric representation of the block gas limit | |
12
+ | **gas_used** | **String** | Numeric representation of the block gas used | |
13
+ | **mined_in_seconds** | **Integer** | Numeric representation of the block gas limit | |
14
+ | **sha3_uncles** | **String** | Numeric representation of the block sha3 uncles | |
15
+ | **total_difficulty** | **String** | Numeric representation of the block total difficulty | |
16
+
17
+ ## Example
18
+
19
+ ```ruby
20
+ require 'crypto_apis'
21
+
22
+ instance = CryptoApis::GetLatestMinedBlockRIBSBSC.new(
23
+ difficulty: 21448277761059.71,
24
+ nonce: 2113101077,
25
+ size: 1408113,
26
+ extra_data: 0xd883010001846765746888676f312e31342e34856c696e757800000000000000eb8c4ee17a97af3c7d18e6cfb87d25bf9a483933d393b4fce778c9a7d64eab76471a8ab92c3a7d131c0f9cfbbd9a54b438c80b491c7a579da0e37db6ca823eda01,
27
+ gas_limit: 30000000,
28
+ gas_used: 686304,
29
+ mined_in_seconds: 3,
30
+ sha3_uncles: 0x1dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347,
31
+ total_difficulty: 2437536
32
+ )
33
+ ```
34
+
@@ -16,6 +16,7 @@ CryptoApis::GetTransactionDetailsByTransactionIDRIBS.openapi_one_of
16
16
  # [
17
17
  # :'GetTransactionDetailsByTransactionIDRIBSB',
18
18
  # :'GetTransactionDetailsByTransactionIDRIBSBC',
19
+ # :'GetTransactionDetailsByTransactionIDRIBSBSC',
19
20
  # :'GetTransactionDetailsByTransactionIDRIBSD',
20
21
  # :'GetTransactionDetailsByTransactionIDRIBSD2',
21
22
  # :'GetTransactionDetailsByTransactionIDRIBSE',
@@ -50,6 +51,7 @@ CryptoApis::GetTransactionDetailsByTransactionIDRIBS.build(data_that_doesnt_matc
50
51
 
51
52
  - `GetTransactionDetailsByTransactionIDRIBSB`
52
53
  - `GetTransactionDetailsByTransactionIDRIBSBC`
54
+ - `GetTransactionDetailsByTransactionIDRIBSBSC`
53
55
  - `GetTransactionDetailsByTransactionIDRIBSD`
54
56
  - `GetTransactionDetailsByTransactionIDRIBSD2`
55
57
  - `GetTransactionDetailsByTransactionIDRIBSE`
@@ -0,0 +1,28 @@
1
+ # CryptoApis::GetTransactionDetailsByTransactionIDRIBSBSC
2
+
3
+ ## Properties
4
+
5
+ | Name | Type | Description | Notes |
6
+ | ---- | ---- | ----------- | ----- |
7
+ | **contract** | **String** | Numeric representation of the transaction contract | |
8
+ | **gas_limit** | **String** | String representation of the transaction gas | |
9
+ | **gas_price** | [**GetTransactionDetailsByTransactionIDRIBSBSCGasPrice**](GetTransactionDetailsByTransactionIDRIBSBSCGasPrice.md) | | |
10
+ | **gas_used** | **String** | Numeric representation of the transaction gas used | |
11
+ | **input_data** | **String** | Numeric representation of the transaction input | |
12
+ | **nonce** | **String** | Numeric representation of the transaction nonce | |
13
+
14
+ ## Example
15
+
16
+ ```ruby
17
+ require 'crypto_apis'
18
+
19
+ instance = CryptoApis::GetTransactionDetailsByTransactionIDRIBSBSC.new(
20
+ contract: null,
21
+ gas_limit: null,
22
+ gas_price: null,
23
+ gas_used: null,
24
+ input_data: null,
25
+ nonce: null
26
+ )
27
+ ```
28
+
@@ -0,0 +1,20 @@
1
+ # CryptoApis::GetTransactionDetailsByTransactionIDRIBSBSCGasPrice
2
+
3
+ ## Properties
4
+
5
+ | Name | Type | Description | Notes |
6
+ | ---- | ---- | ----------- | ----- |
7
+ | **amount** | **String** | Numeric representation of the transaction gas price | |
8
+ | **unit** | **String** | | |
9
+
10
+ ## Example
11
+
12
+ ```ruby
13
+ require 'crypto_apis'
14
+
15
+ instance = CryptoApis::GetTransactionDetailsByTransactionIDRIBSBSCGasPrice.new(
16
+ amount: null,
17
+ unit: BNB
18
+ )
19
+ ```
20
+
@@ -5,7 +5,7 @@
5
5
  | Name | Type | Description | Notes |
6
6
  | ---- | ---- | ----------- | ----- |
7
7
  | **amount** | **String** | Defines the amount of the transaction fee. | |
8
- | **unit** | **String** | Defines the unit of the fee amount, e.g. BTC, ETH, XRP. | |
8
+ | **unit** | **String** | | |
9
9
 
10
10
  ## Example
11
11
 
@@ -5,7 +5,7 @@ All URIs are relative to *https://rest.cryptoapis.io/v2*
5
5
  | Method | HTTP request | Description |
6
6
  | ------ | ------------ | ----------- |
7
7
  | [**get_wallet_asset_details**](InformativeApi.md#get_wallet_asset_details) | **GET** /wallet-as-a-service/wallets/{walletId}/{blockchain}/{network} | Get Wallet Asset Details |
8
- | [**list_receiving_addresses**](InformativeApi.md#list_receiving_addresses) | **GET** /wallet-as-a-service/wallets/{walletId}/{blockchain}/{network}/addresses | List Receiving Addresses |
8
+ | [**list_deposit_addresses**](InformativeApi.md#list_deposit_addresses) | **GET** /wallet-as-a-service/wallets/{walletId}/{blockchain}/{network}/addresses | List Deposit Addresses |
9
9
  | [**list_supported_tokens**](InformativeApi.md#list_supported_tokens) | **GET** /wallet-as-a-service/info/{blockchain}/{network}/supported-tokens | List Supported Tokens |
10
10
 
11
11
 
@@ -88,13 +88,13 @@ end
88
88
  - **Accept**: application/json
89
89
 
90
90
 
91
- ## list_receiving_addresses
91
+ ## list_deposit_addresses
92
92
 
93
- > <ListReceivingAddressesR> list_receiving_addresses(blockchain, network, wallet_id, opts)
93
+ > <ListDepositAddressesR> list_deposit_addresses(blockchain, network, wallet_id, opts)
94
94
 
95
- List Receiving Addresses
95
+ List Deposit Addresses
96
96
 
97
- Through this endpoint customers can pull a list of Deposit Addresses they have already generated. Deposit addresses are listed with their specific details such as unique ID. {note}Please note that listing data from the same type will apply pagination on the results.{/note}
97
+ Through this endpoint customers can pull a list of Deposit/Receiving Addresses they have already generated. {note}Please note that listing data from the same type will apply pagination on the results.{/note}
98
98
 
99
99
  ### Examples
100
100
 
@@ -118,29 +118,29 @@ opts = {
118
118
  }
119
119
 
120
120
  begin
121
- # List Receiving Addresses
122
- result = api_instance.list_receiving_addresses(blockchain, network, wallet_id, opts)
121
+ # List Deposit Addresses
122
+ result = api_instance.list_deposit_addresses(blockchain, network, wallet_id, opts)
123
123
  p result
124
124
  rescue CryptoApis::ApiError => e
125
- puts "Error when calling InformativeApi->list_receiving_addresses: #{e}"
125
+ puts "Error when calling InformativeApi->list_deposit_addresses: #{e}"
126
126
  end
127
127
  ```
128
128
 
129
- #### Using the list_receiving_addresses_with_http_info variant
129
+ #### Using the list_deposit_addresses_with_http_info variant
130
130
 
131
131
  This returns an Array which contains the response data, status code and headers.
132
132
 
133
- > <Array(<ListReceivingAddressesR>, Integer, Hash)> list_receiving_addresses_with_http_info(blockchain, network, wallet_id, opts)
133
+ > <Array(<ListDepositAddressesR>, Integer, Hash)> list_deposit_addresses_with_http_info(blockchain, network, wallet_id, opts)
134
134
 
135
135
  ```ruby
136
136
  begin
137
- # List Receiving Addresses
138
- data, status_code, headers = api_instance.list_receiving_addresses_with_http_info(blockchain, network, wallet_id, opts)
137
+ # List Deposit Addresses
138
+ data, status_code, headers = api_instance.list_deposit_addresses_with_http_info(blockchain, network, wallet_id, opts)
139
139
  p status_code # => 2xx
140
140
  p headers # => { ... }
141
- p data # => <ListReceivingAddressesR>
141
+ p data # => <ListDepositAddressesR>
142
142
  rescue CryptoApis::ApiError => e
143
- puts "Error when calling InformativeApi->list_receiving_addresses_with_http_info: #{e}"
143
+ puts "Error when calling InformativeApi->list_deposit_addresses_with_http_info: #{e}"
144
144
  end
145
145
  ```
146
146
 
@@ -155,7 +155,7 @@ end
155
155
 
156
156
  ### Return type
157
157
 
158
- [**ListReceivingAddressesR**](ListReceivingAddressesR.md)
158
+ [**ListDepositAddressesR**](ListDepositAddressesR.md)
159
159
 
160
160
  ### Authorization
161
161
 
@@ -1,4 +1,4 @@
1
- # CryptoApis::GenerateReceivingAddressR
1
+ # CryptoApis::ListDepositAddressesR
2
2
 
3
3
  ## Properties
4
4
 
@@ -7,14 +7,14 @@
7
7
  | **api_version** | **String** | Specifies the version of the API that incorporates this endpoint. | |
8
8
  | **request_id** | **String** | Defines the ID of the request. The &#x60;requestId&#x60; is generated by Crypto APIs and it&#39;s unique for every request. | |
9
9
  | **context** | **String** | In batch situations the user can use the context to correlate responses with requests. This property is present regardless of whether the response was successful or returned as an error. &#x60;context&#x60; is specified by the user. | [optional] |
10
- | **data** | [**GenerateReceivingAddressRData**](GenerateReceivingAddressRData.md) | | |
10
+ | **data** | [**ListDepositAddressesRData**](ListDepositAddressesRData.md) | | |
11
11
 
12
12
  ## Example
13
13
 
14
14
  ```ruby
15
15
  require 'crypto_apis'
16
16
 
17
- instance = CryptoApis::GenerateReceivingAddressR.new(
17
+ instance = CryptoApis::ListDepositAddressesR.new(
18
18
  api_version: 2.0,
19
19
  request_id: 601c1710034ed6d407996b30,
20
20
  context: You can add any text here,