crypto_apis 1.2.0 → 1.2.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +1 -10
- data/docs/AssetsApi.md +1 -1
- data/docs/AutomaticCoinsForwardingApi.md +1 -1
- data/docs/AutomaticTokensForwardingApi.md +1 -1
- data/docs/GetBlockDetailsByBlockHashRIBS.md +0 -2
- data/docs/GetBlockDetailsByBlockHeightRIBS.md +0 -2
- data/docs/GetLatestMinedBlockRIBS.md +0 -2
- data/docs/GetTransactionDetailsByTransactionIDRIBS.md +0 -2
- data/docs/InformativeApi.md +1 -1
- data/docs/InternalApi.md +1 -1
- data/docs/ListTransactionsByAddressRIBS.md +0 -2
- data/docs/ListTransactionsByBlockHashRIBS.md +0 -2
- data/docs/ListTransactionsByBlockHeightRIBS.md +0 -2
- data/docs/ManageSubscriptionsApi.md +1 -1
- data/docs/MetadataApi.md +1 -1
- data/docs/OmniLayerApi.md +6 -6
- data/docs/TokensApi.md +3 -3
- data/docs/UTXOBasedApi.md +1 -1
- data/docs/UnifiedEndpointsApi.md +3 -3
- data/docs/XRPRippleApi.md +3 -3
- data/docs/ZilliqaApi.md +3 -3
- data/lib/crypto_apis.rb +0 -9
- data/lib/crypto_apis/api/assets_api.rb +2 -2
- data/lib/crypto_apis/api/automatic_coins_forwarding_api.rb +2 -2
- data/lib/crypto_apis/api/automatic_tokens_forwarding_api.rb +2 -2
- data/lib/crypto_apis/api/create_subscriptions_for_api.rb +8 -8
- data/lib/crypto_apis/api/informative_api.rb +2 -2
- data/lib/crypto_apis/api/internal_api.rb +2 -2
- data/lib/crypto_apis/api/manage_subscriptions_api.rb +2 -2
- data/lib/crypto_apis/api/metadata_api.rb +2 -2
- data/lib/crypto_apis/api/omni_layer_api.rb +12 -12
- data/lib/crypto_apis/api/tokens_api.rb +6 -6
- data/lib/crypto_apis/api/unified_endpoints_api.rb +14 -14
- data/lib/crypto_apis/api/utxo_based_api.rb +2 -2
- data/lib/crypto_apis/api/xrp_ripple_api.rb +6 -6
- data/lib/crypto_apis/api/zilliqa_api.rb +6 -6
- data/lib/crypto_apis/models/get_block_details_by_block_hash_ribs.rb +0 -1
- data/lib/crypto_apis/models/get_block_details_by_block_height_ribs.rb +0 -1
- data/lib/crypto_apis/models/get_latest_mined_block_ribs.rb +0 -1
- data/lib/crypto_apis/models/get_transaction_details_by_transaction_idribs.rb +0 -1
- data/lib/crypto_apis/models/list_transactions_by_address_ribs.rb +0 -1
- data/lib/crypto_apis/models/list_transactions_by_block_hash_ribs.rb +0 -1
- data/lib/crypto_apis/models/list_transactions_by_block_height_ribs.rb +0 -1
- data/lib/crypto_apis/version.rb +1 -1
- data/spec/api/assets_api_spec.rb +1 -1
- data/spec/api/automatic_coins_forwarding_api_spec.rb +1 -1
- data/spec/api/automatic_tokens_forwarding_api_spec.rb +1 -1
- data/spec/api/informative_api_spec.rb +1 -1
- data/spec/api/internal_api_spec.rb +1 -1
- data/spec/api/manage_subscriptions_api_spec.rb +1 -1
- data/spec/api/metadata_api_spec.rb +1 -1
- data/spec/api/omni_layer_api_spec.rb +6 -6
- data/spec/api/tokens_api_spec.rb +3 -3
- data/spec/api/unified_endpoints_api_spec.rb +3 -3
- data/spec/api/utxo_based_api_spec.rb +1 -1
- data/spec/api/xrp_ripple_api_spec.rb +3 -3
- data/spec/api/zilliqa_api_spec.rb +3 -3
- metadata +2 -38
- data/docs/GetBlockDetailsByBlockHashRIBSBSC.md +0 -36
- data/docs/GetBlockDetailsByBlockHeightRIBSBSC.md +0 -34
- data/docs/GetLatestMinedBlockRIBSBSC.md +0 -34
- data/docs/GetTransactionDetailsByTransactionIDRIBSBSC.md +0 -28
- data/docs/GetTransactionDetailsByTransactionIDRIBSBSCGasPrice.md +0 -20
- data/docs/ListTransactionsByAddressRIBSBSC.md +0 -30
- data/docs/ListTransactionsByBlockHashRIBSBSC.md +0 -30
- data/docs/ListTransactionsByBlockHeightRIBSBSC.md +0 -28
- data/docs/ListTransactionsByBlockHeightRIBSBSCGasPrice.md +0 -20
- data/lib/crypto_apis/models/get_block_details_by_block_hash_ribsbsc.rb +0 -361
- data/lib/crypto_apis/models/get_block_details_by_block_height_ribsbsc.rb +0 -345
- data/lib/crypto_apis/models/get_latest_mined_block_ribsbsc.rb +0 -345
- data/lib/crypto_apis/models/get_transaction_details_by_transaction_idribsbsc.rb +0 -299
- data/lib/crypto_apis/models/get_transaction_details_by_transaction_idribsbsc_gas_price.rb +0 -238
- data/lib/crypto_apis/models/list_transactions_by_address_ribsbsc.rb +0 -314
- data/lib/crypto_apis/models/list_transactions_by_block_hash_ribsbsc.rb +0 -314
- data/lib/crypto_apis/models/list_transactions_by_block_height_ribsbsc.rb +0 -299
- data/lib/crypto_apis/models/list_transactions_by_block_height_ribsbsc_gas_price.rb +0 -238
- data/spec/models/get_block_details_by_block_hash_ribsbsc_spec.rb +0 -88
- data/spec/models/get_block_details_by_block_height_ribsbsc_spec.rb +0 -82
- data/spec/models/get_latest_mined_block_ribsbsc_spec.rb +0 -82
- data/spec/models/get_transaction_details_by_transaction_idribsbsc_gas_price_spec.rb +0 -40
- data/spec/models/get_transaction_details_by_transaction_idribsbsc_spec.rb +0 -64
- data/spec/models/list_transactions_by_address_ribsbsc_spec.rb +0 -70
- data/spec/models/list_transactions_by_block_hash_ribsbsc_spec.rb +0 -70
- data/spec/models/list_transactions_by_block_height_ribsbsc_gas_price_spec.rb +0 -40
- data/spec/models/list_transactions_by_block_height_ribsbsc_spec.rb +0 -64
@@ -20,7 +20,7 @@ module CryptoApis
|
|
20
20
|
@api_client = api_client
|
21
21
|
end
|
22
22
|
# List Assets Details
|
23
|
-
# This endpoint will return details on a requested asset. The asset could be a cryptocurrency or FIAT asset that we support. Each asset has a unique identifier - `assetId` and a unique symbol in the form of a string, e.g. \"BTC\". The details returned could include information on the latest rate and rate fluctuation of different periods of time - 24 hours, a week, one hour, the encoding of the logo, and more.
|
23
|
+
# This endpoint will return details on a requested asset. The asset could be a cryptocurrency or FIAT asset that we support. Each asset has a unique identifier - `assetId` and a unique symbol in the form of a string, e.g. \"BTC\". The details returned could include information on the latest rate and rate fluctuation of different periods of time - 24 hours, a week, one hour, the encoding of the logo, and more.
|
24
24
|
# @param [Hash] opts the optional parameters
|
25
25
|
# @option opts [String] :context 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.
|
26
26
|
# @option opts [String] :asset_type Defines the type of the supported asset. This could be either \"crypto\" or \"fiat\".
|
@@ -35,7 +35,7 @@ module CryptoApis
|
|
35
35
|
end
|
36
36
|
|
37
37
|
# List Assets Details
|
38
|
-
# This endpoint will return details on a requested asset. The asset could be a cryptocurrency or FIAT asset that we support. Each asset has a unique identifier - `assetId` and a unique symbol in the form of a string, e.g. \"BTC\". The details returned could include information on the latest rate and rate fluctuation of different periods of time - 24 hours, a week, one hour, the encoding of the logo, and more.
|
38
|
+
# This endpoint will return details on a requested asset. The asset could be a cryptocurrency or FIAT asset that we support. Each asset has a unique identifier - `assetId` and a unique symbol in the form of a string, e.g. \"BTC\". The details returned could include information on the latest rate and rate fluctuation of different periods of time - 24 hours, a week, one hour, the encoding of the logo, and more.
|
39
39
|
# @param [Hash] opts the optional parameters
|
40
40
|
# @option opts [String] :context 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.
|
41
41
|
# @option opts [String] :asset_type Defines the type of the supported asset. This could be either \"crypto\" or \"fiat\".
|
@@ -194,7 +194,7 @@ module CryptoApis
|
|
194
194
|
end
|
195
195
|
|
196
196
|
# List Coins Forwarding Automations
|
197
|
-
# Through this endpoint customers can list all of their **coins** forwarding automations (**not** tokens). Customers can set up automatic forwarding functions for coins by setting a `fromAddress` and a `toAddress`, and specifying the amount that can be transferred between addresses. A `feePriority` will be returned which represents the fee priority of the automation whether it is \"SLOW\", \"STANDARD\" OR \"FAST\". {warning}The subscription will work for all
|
197
|
+
# Through this endpoint customers can list all of their **coins** forwarding automations (**not** tokens). Customers can set up automatic forwarding functions for coins by setting a `fromAddress` and a `toAddress`, and specifying the amount that can be transferred between addresses. A `feePriority` will be returned which represents the fee priority of the automation whether it is \"SLOW\", \"STANDARD\" OR \"FAST\". {warning}The subscription will work for all transactions until it is deleted. There is no need to do that for every transaction.{/warning}
|
198
198
|
# @param blockchain [String] Represents the specific blockchain protocol name, e.g. Ethereum, Bitcoin, etc.
|
199
199
|
# @param 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. - \"mainnet\" is the live network with actual data while networks like \"testnet\", \"ropsten\", \"rinkeby\" are test networks.
|
200
200
|
# @param [Hash] opts the optional parameters
|
@@ -208,7 +208,7 @@ module CryptoApis
|
|
208
208
|
end
|
209
209
|
|
210
210
|
# List Coins Forwarding Automations
|
211
|
-
# Through this endpoint customers can list all of their **coins** forwarding automations (**not** tokens). Customers can set up automatic forwarding functions for coins by setting a `fromAddress` and a `toAddress`, and specifying the amount that can be transferred between addresses. A `feePriority` will be returned which represents the fee priority of the automation whether it is \"SLOW\", \"STANDARD\" OR \"FAST\". {warning}The subscription will work for all
|
211
|
+
# Through this endpoint customers can list all of their **coins** forwarding automations (**not** tokens). Customers can set up automatic forwarding functions for coins by setting a `fromAddress` and a `toAddress`, and specifying the amount that can be transferred between addresses. A `feePriority` will be returned which represents the fee priority of the automation whether it is \"SLOW\", \"STANDARD\" OR \"FAST\". {warning}The subscription will work for all transactions until it is deleted. There is no need to do that for every transaction.{/warning}
|
212
212
|
# @param blockchain [String] Represents the specific blockchain protocol name, e.g. Ethereum, Bitcoin, etc.
|
213
213
|
# @param 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. - \"mainnet\" is the live network with actual data while networks like \"testnet\", \"ropsten\", \"rinkeby\" are test networks.
|
214
214
|
# @param [Hash] opts the optional parameters
|
@@ -362,7 +362,7 @@ module CryptoApis
|
|
362
362
|
end
|
363
363
|
|
364
364
|
# List Tokens Forwarding Automations
|
365
|
-
# Through this endpoint customers can list all of their **tokens** forwarding automations (**not** coins). Customers can set up automatic forwarding functions for tokens by setting a `fromAddress` and a `toAddress`, and specifying the amount that can be transferred between addresses. A `feePriority` will be returned which represents the fee priority of the automation whether it is \"SLOW\", \"STANDARD\" OR \"FAST\". {warning}The subscription will work for all
|
365
|
+
# Through this endpoint customers can list all of their **tokens** forwarding automations (**not** coins). Customers can set up automatic forwarding functions for tokens by setting a `fromAddress` and a `toAddress`, and specifying the amount that can be transferred between addresses. A `feePriority` will be returned which represents the fee priority of the automation whether it is \"SLOW\", \"STANDARD\" OR \"FAST\". {warning}The subscription will work for all transactions until it is deleted. There is no need to do that for every transaction.{/warning}
|
366
366
|
# @param blockchain [String] Represents the specific blockchain protocol name, e.g. Ethereum, Bitcoin, etc.
|
367
367
|
# @param 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. - \"mainnet\" is the live network with actual data while networks like \"testnet\", \"ropsten\", \"rinkeby\" are test networks.
|
368
368
|
# @param [Hash] opts the optional parameters
|
@@ -376,7 +376,7 @@ module CryptoApis
|
|
376
376
|
end
|
377
377
|
|
378
378
|
# List Tokens Forwarding Automations
|
379
|
-
# Through this endpoint customers can list all of their **tokens** forwarding automations (**not** coins). Customers can set up automatic forwarding functions for tokens by setting a `fromAddress` and a `toAddress`, and specifying the amount that can be transferred between addresses. A `feePriority` will be returned which represents the fee priority of the automation whether it is \"SLOW\", \"STANDARD\" OR \"FAST\". {warning}The subscription will work for all
|
379
|
+
# Through this endpoint customers can list all of their **tokens** forwarding automations (**not** coins). Customers can set up automatic forwarding functions for tokens by setting a `fromAddress` and a `toAddress`, and specifying the amount that can be transferred between addresses. A `feePriority` will be returned which represents the fee priority of the automation whether it is \"SLOW\", \"STANDARD\" OR \"FAST\". {warning}The subscription will work for all transactions until it is deleted. There is no need to do that for every transaction.{/warning}
|
380
380
|
# @param blockchain [String] Represents the specific blockchain protocol name, e.g. Ethereum, Bitcoin, etc.
|
381
381
|
# @param 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. - \"mainnet\" is the live network with actual data while networks like \"testnet\", \"ropsten\", \"rinkeby\" are test networks.
|
382
382
|
# @param [Hash] opts the optional parameters
|
@@ -565,7 +565,7 @@ module CryptoApis
|
|
565
565
|
fail ArgumentError, "Missing the required parameter 'blockchain' when calling CreateSubscriptionsForApi.new_confirmed_tokens_transactions"
|
566
566
|
end
|
567
567
|
# verify enum value
|
568
|
-
allowable_values = ["bitcoin", "
|
568
|
+
allowable_values = ["bitcoin", "ethereum"]
|
569
569
|
if @api_client.config.client_side_validation && !allowable_values.include?(blockchain)
|
570
570
|
fail ArgumentError, "invalid value for \"blockchain\", must be one of #{allowable_values}"
|
571
571
|
end
|
@@ -574,7 +574,7 @@ module CryptoApis
|
|
574
574
|
fail ArgumentError, "Missing the required parameter 'network' when calling CreateSubscriptionsForApi.new_confirmed_tokens_transactions"
|
575
575
|
end
|
576
576
|
# verify enum value
|
577
|
-
allowable_values = ["mainnet", "testnet", "ropsten", "rinkeby"
|
577
|
+
allowable_values = ["mainnet", "testnet", "ropsten", "rinkeby"]
|
578
578
|
if @api_client.config.client_side_validation && !allowable_values.include?(network)
|
579
579
|
fail ArgumentError, "invalid value for \"network\", must be one of #{allowable_values}"
|
580
580
|
end
|
@@ -651,7 +651,7 @@ module CryptoApis
|
|
651
651
|
fail ArgumentError, "Missing the required parameter 'blockchain' when calling CreateSubscriptionsForApi.new_confirmed_tokens_transactions_and_each_confirmation"
|
652
652
|
end
|
653
653
|
# verify enum value
|
654
|
-
allowable_values = ["bitcoin", "
|
654
|
+
allowable_values = ["bitcoin", "ethereum"]
|
655
655
|
if @api_client.config.client_side_validation && !allowable_values.include?(blockchain)
|
656
656
|
fail ArgumentError, "invalid value for \"blockchain\", must be one of #{allowable_values}"
|
657
657
|
end
|
@@ -660,7 +660,7 @@ module CryptoApis
|
|
660
660
|
fail ArgumentError, "Missing the required parameter 'network' when calling CreateSubscriptionsForApi.new_confirmed_tokens_transactions_and_each_confirmation"
|
661
661
|
end
|
662
662
|
# verify enum value
|
663
|
-
allowable_values = ["mainnet", "testnet", "ropsten", "rinkeby"
|
663
|
+
allowable_values = ["mainnet", "testnet", "ropsten", "rinkeby"]
|
664
664
|
if @api_client.config.client_side_validation && !allowable_values.include?(network)
|
665
665
|
fail ArgumentError, "invalid value for \"network\", must be one of #{allowable_values}"
|
666
666
|
end
|
@@ -737,7 +737,7 @@ module CryptoApis
|
|
737
737
|
fail ArgumentError, "Missing the required parameter 'blockchain' when calling CreateSubscriptionsForApi.new_unconfirmed_coins_transactions"
|
738
738
|
end
|
739
739
|
# verify enum value
|
740
|
-
allowable_values = ["bitcoin", "
|
740
|
+
allowable_values = ["bitcoin", "litecoin", "bitcoin-cash", "dogecoin", "dash", "ethereum", "ethereum-classic"]
|
741
741
|
if @api_client.config.client_side_validation && !allowable_values.include?(blockchain)
|
742
742
|
fail ArgumentError, "invalid value for \"blockchain\", must be one of #{allowable_values}"
|
743
743
|
end
|
@@ -746,7 +746,7 @@ module CryptoApis
|
|
746
746
|
fail ArgumentError, "Missing the required parameter 'network' when calling CreateSubscriptionsForApi.new_unconfirmed_coins_transactions"
|
747
747
|
end
|
748
748
|
# verify enum value
|
749
|
-
allowable_values = ["mainnet", "testnet", "ropsten", "rinkeby", "mordor"
|
749
|
+
allowable_values = ["mainnet", "testnet", "ropsten", "rinkeby", "mordor"]
|
750
750
|
if @api_client.config.client_side_validation && !allowable_values.include?(network)
|
751
751
|
fail ArgumentError, "invalid value for \"network\", must be one of #{allowable_values}"
|
752
752
|
end
|
@@ -823,7 +823,7 @@ module CryptoApis
|
|
823
823
|
fail ArgumentError, "Missing the required parameter 'blockchain' when calling CreateSubscriptionsForApi.new_unconfirmed_tokens_transactions"
|
824
824
|
end
|
825
825
|
# verify enum value
|
826
|
-
allowable_values = ["bitcoin", "
|
826
|
+
allowable_values = ["bitcoin", "ethereum"]
|
827
827
|
if @api_client.config.client_side_validation && !allowable_values.include?(blockchain)
|
828
828
|
fail ArgumentError, "invalid value for \"blockchain\", must be one of #{allowable_values}"
|
829
829
|
end
|
@@ -832,7 +832,7 @@ module CryptoApis
|
|
832
832
|
fail ArgumentError, "Missing the required parameter 'network' when calling CreateSubscriptionsForApi.new_unconfirmed_tokens_transactions"
|
833
833
|
end
|
834
834
|
# verify enum value
|
835
|
-
allowable_values = ["mainnet", "testnet", "ropsten", "rinkeby"
|
835
|
+
allowable_values = ["mainnet", "testnet", "ropsten", "rinkeby"]
|
836
836
|
if @api_client.config.client_side_validation && !allowable_values.include?(network)
|
837
837
|
fail ArgumentError, "invalid value for \"network\", must be one of #{allowable_values}"
|
838
838
|
end
|
@@ -196,7 +196,7 @@ module CryptoApis
|
|
196
196
|
end
|
197
197
|
|
198
198
|
# List Supported Tokens
|
199
|
-
# Through this endpoint customers can obtain information on multiple tokens at once.
|
199
|
+
# Through this endpoint customers can obtain information on multiple tokens at once.
|
200
200
|
# @param blockchain [String] Represents the specific blockchain protocol name, e.g. Ethereum, Bitcoin, etc.
|
201
201
|
# @param 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. - \"mainnet\" is the live network with actual data while networks like \"testnet\", \"ropsten\", \"rinkeby\" are test networks.
|
202
202
|
# @param [Hash] opts the optional parameters
|
@@ -210,7 +210,7 @@ module CryptoApis
|
|
210
210
|
end
|
211
211
|
|
212
212
|
# List Supported Tokens
|
213
|
-
# Through this endpoint customers can obtain information on multiple tokens at once.
|
213
|
+
# Through this endpoint customers can obtain information on multiple tokens at once.
|
214
214
|
# @param blockchain [String] Represents the specific blockchain protocol name, e.g. Ethereum, Bitcoin, etc.
|
215
215
|
# @param 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. - \"mainnet\" is the live network with actual data while networks like \"testnet\", \"ropsten\", \"rinkeby\" are test networks.
|
216
216
|
# @param [Hash] opts the optional parameters
|
@@ -114,7 +114,7 @@ module CryptoApis
|
|
114
114
|
end
|
115
115
|
|
116
116
|
# List Internal Transaction Details by Transaction Hash
|
117
|
-
# Through this endpoint customers can list internal transactions along with their details by a specific attribute `transactionHash`, which is the parent transaction's Hash. An internal transaction is the result of a smart contract being triggered by an EOA or a subsequent contract call.
|
117
|
+
# Through this endpoint customers can list internal transactions along with their details by a specific attribute `transactionHash`, which is the parent transaction's Hash. An internal transaction is the result of a smart contract being triggered by an EOA or a subsequent contract call.
|
118
118
|
# @param blockchain [String] Represents the specific blockchain protocol name, e.g. Ethereum, Bitcoin, etc.
|
119
119
|
# @param 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. - \"mainnet\" is the live network with actual data while networks like \"testnet\", \"ropsten\", \"rinkeby\" are test networks.
|
120
120
|
# @param transaction_hash [String] String identifier of the parent transaction of the internal transaction represented in CryptoAPIs.
|
@@ -129,7 +129,7 @@ module CryptoApis
|
|
129
129
|
end
|
130
130
|
|
131
131
|
# List Internal Transaction Details by Transaction Hash
|
132
|
-
# Through this endpoint customers can list internal transactions along with their details by a specific attribute `transactionHash`, which is the parent transaction's Hash. An internal transaction is the result of a smart contract being triggered by an EOA or a subsequent contract call.
|
132
|
+
# Through this endpoint customers can list internal transactions along with their details by a specific attribute `transactionHash`, which is the parent transaction's Hash. An internal transaction is the result of a smart contract being triggered by an EOA or a subsequent contract call.
|
133
133
|
# @param blockchain [String] Represents the specific blockchain protocol name, e.g. Ethereum, Bitcoin, etc.
|
134
134
|
# @param 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. - \"mainnet\" is the live network with actual data while networks like \"testnet\", \"ropsten\", \"rinkeby\" are test networks.
|
135
135
|
# @param transaction_hash [String] String identifier of the parent transaction of the internal transaction represented in CryptoAPIs.
|
@@ -108,7 +108,7 @@ module CryptoApis
|
|
108
108
|
end
|
109
109
|
|
110
110
|
# List Blockchain Events Subscriptions
|
111
|
-
# Through this endpoint the customer can obtain a list of their callback subscriptions for the available Blockchain events. Currently Crypto APIs 2.0 offers certain Blockchain event endpoints which allow the user to subscribe for one/a few/all and receive callback notifications when the specific event occurs. {note}To have an operational callback subscription, you need to first verify a domain for the Callback URL. Please see more information on Callbacks [here](https://developers.cryptoapis.io/technical-documentation/general-information/callbacks#callback-url).{/note}
|
111
|
+
# Through this endpoint the customer can obtain a list of their callback subscriptions for the available Blockchain events. Currently Crypto APIs 2.0 offers certain Blockchain event endpoints which allow the user to subscribe for one/a few/all and receive callback notifications when the specific event occurs. {note}To have an operational callback subscription, you need to first verify a domain for the Callback URL. Please see more information on Callbacks [here](https://developers.cryptoapis.io/technical-documentation/general-information/callbacks#callback-url).{/note}
|
112
112
|
# @param blockchain [String] Represents the specific blockchain protocol name, e.g. Ethereum, Bitcoin, etc.
|
113
113
|
# @param 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. - \"mainnet\" is the live network with actual data while networks like \"testnet\", \"ropsten\", \"rinkeby\" are test networks.
|
114
114
|
# @param [Hash] opts the optional parameters
|
@@ -122,7 +122,7 @@ module CryptoApis
|
|
122
122
|
end
|
123
123
|
|
124
124
|
# List Blockchain Events Subscriptions
|
125
|
-
# Through this endpoint the customer can obtain a list of their callback subscriptions for the available Blockchain events. Currently Crypto APIs 2.0 offers certain Blockchain event endpoints which allow the user to subscribe for one/a few/all and receive callback notifications when the specific event occurs. {note}To have an operational callback subscription, you need to first verify a domain for the Callback URL. Please see more information on Callbacks [here](https://developers.cryptoapis.io/technical-documentation/general-information/callbacks#callback-url).{/note}
|
125
|
+
# Through this endpoint the customer can obtain a list of their callback subscriptions for the available Blockchain events. Currently Crypto APIs 2.0 offers certain Blockchain event endpoints which allow the user to subscribe for one/a few/all and receive callback notifications when the specific event occurs. {note}To have an operational callback subscription, you need to first verify a domain for the Callback URL. Please see more information on Callbacks [here](https://developers.cryptoapis.io/technical-documentation/general-information/callbacks#callback-url).{/note}
|
126
126
|
# @param blockchain [String] Represents the specific blockchain protocol name, e.g. Ethereum, Bitcoin, etc.
|
127
127
|
# @param 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. - \"mainnet\" is the live network with actual data while networks like \"testnet\", \"ropsten\", \"rinkeby\" are test networks.
|
128
128
|
# @param [Hash] opts the optional parameters
|
@@ -20,7 +20,7 @@ module CryptoApis
|
|
20
20
|
@api_client = api_client
|
21
21
|
end
|
22
22
|
# List Supported Assets
|
23
|
-
# This endpoint will return a list of supported assets. The asset could be a cryptocurrency or FIAT assets that we support. Each asset has a unique identifier - `assetId` and a unique symbol in the form of a string, e.g. \"BTC\".
|
23
|
+
# This endpoint will return a list of supported assets. The asset could be a cryptocurrency or FIAT assets that we support. Each asset has a unique identifier - `assetId` and a unique symbol in the form of a string, e.g. \"BTC\".
|
24
24
|
# @param [Hash] opts the optional parameters
|
25
25
|
# @option opts [String] :context 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.
|
26
26
|
# @option opts [String] :asset_type Defines the type of the supported asset. This could be either \"crypto\" or \"fiat\".
|
@@ -33,7 +33,7 @@ module CryptoApis
|
|
33
33
|
end
|
34
34
|
|
35
35
|
# List Supported Assets
|
36
|
-
# This endpoint will return a list of supported assets. The asset could be a cryptocurrency or FIAT assets that we support. Each asset has a unique identifier - `assetId` and a unique symbol in the form of a string, e.g. \"BTC\".
|
36
|
+
# This endpoint will return a list of supported assets. The asset could be a cryptocurrency or FIAT assets that we support. Each asset has a unique identifier - `assetId` and a unique symbol in the form of a string, e.g. \"BTC\".
|
37
37
|
# @param [Hash] opts the optional parameters
|
38
38
|
# @option opts [String] :context 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.
|
39
39
|
# @option opts [String] :asset_type Defines the type of the supported asset. This could be either \"crypto\" or \"fiat\".
|
@@ -196,7 +196,7 @@ module CryptoApis
|
|
196
196
|
end
|
197
197
|
|
198
198
|
# List Omni Tokens By Address
|
199
|
-
# Through this endpoint the customer can receive basic information about a given Omni address based on confirmed/synced blocks only. In the case where there are any incoming or outgoing **unconfirmed** transactions for the specific address, they **will not** be counted or calculated here.
|
199
|
+
# Through this endpoint the customer can receive basic information about a given Omni address based on confirmed/synced blocks only. In the case where there are any incoming or outgoing **unconfirmed** transactions for the specific address, they **will not** be counted or calculated here.
|
200
200
|
# @param 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. - \"mainnet\" is the live network with actual data while networks like \"testnet\", \"ropsten\", \"rinkeby\" are test networks.
|
201
201
|
# @param blockchain [String] Represents the specific blockchain protocol name, e.g. Ethereum, Bitcoin, etc.
|
202
202
|
# @param address [String] Represents the public address, which is a compressed and shortened form of a public key.
|
@@ -209,7 +209,7 @@ module CryptoApis
|
|
209
209
|
end
|
210
210
|
|
211
211
|
# List Omni Tokens By Address
|
212
|
-
# Through this endpoint the customer can receive basic information about a given Omni address based on confirmed/synced blocks only. In the case where there are any incoming or outgoing **unconfirmed** transactions for the specific address, they **will not** be counted or calculated here.
|
212
|
+
# Through this endpoint the customer can receive basic information about a given Omni address based on confirmed/synced blocks only. In the case where there are any incoming or outgoing **unconfirmed** transactions for the specific address, they **will not** be counted or calculated here.
|
213
213
|
# @param 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. - \"mainnet\" is the live network with actual data while networks like \"testnet\", \"ropsten\", \"rinkeby\" are test networks.
|
214
214
|
# @param blockchain [String] Represents the specific blockchain protocol name, e.g. Ethereum, Bitcoin, etc.
|
215
215
|
# @param address [String] Represents the public address, which is a compressed and shortened form of a public key.
|
@@ -284,7 +284,7 @@ module CryptoApis
|
|
284
284
|
end
|
285
285
|
|
286
286
|
# List Omni Transactions By Address
|
287
|
-
# This endpoint will list Omni transactions by an attribute `address`. The transactions listed will detail additional information such as hash, height, time of creation in Unix timestamp, etc.
|
287
|
+
# This endpoint will list Omni transactions by an attribute `address`. The transactions listed will detail additional information such as hash, height, time of creation in Unix timestamp, etc.
|
288
288
|
# @param 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. - \"mainnet\" is the live network with actual data while networks like \"testnet\", \"ropsten\", \"rinkeby\" are test networks.
|
289
289
|
# @param blockchain [String] Represents the specific blockchain protocol name, e.g. Ethereum, Bitcoin, etc.
|
290
290
|
# @param address [String] Represents the public address, which is a compressed and shortened form of a public key.
|
@@ -299,7 +299,7 @@ module CryptoApis
|
|
299
299
|
end
|
300
300
|
|
301
301
|
# List Omni Transactions By Address
|
302
|
-
# This endpoint will list Omni transactions by an attribute `address`. The transactions listed will detail additional information such as hash, height, time of creation in Unix timestamp, etc.
|
302
|
+
# This endpoint will list Omni transactions by an attribute `address`. The transactions listed will detail additional information such as hash, height, time of creation in Unix timestamp, etc.
|
303
303
|
# @param 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. - \"mainnet\" is the live network with actual data while networks like \"testnet\", \"ropsten\", \"rinkeby\" are test networks.
|
304
304
|
# @param blockchain [String] Represents the specific blockchain protocol name, e.g. Ethereum, Bitcoin, etc.
|
305
305
|
# @param address [String] Represents the public address, which is a compressed and shortened form of a public key.
|
@@ -378,7 +378,7 @@ module CryptoApis
|
|
378
378
|
end
|
379
379
|
|
380
380
|
# List Omni Transactions By Block Hash
|
381
|
-
# This endpoint will list Omni transactions by an attribute `transactionHash`. The transactions listed will detail additional information such as addresses, height, time of creation in Unix timestamp, etc.
|
381
|
+
# This endpoint will list Omni transactions by an attribute `transactionHash`. The transactions listed will detail additional information such as addresses, height, time of creation in Unix timestamp, etc.
|
382
382
|
# @param 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. - \"mainnet\" is the live network with actual data while networks like \"testnet\", \"ropsten\", \"rinkeby\" are test networks.
|
383
383
|
# @param blockchain [String] Represents the specific blockchain protocol name, e.g. Ethereum, Bitcoin, etc.
|
384
384
|
# @param block_hash [String] Represents the hash of the block, which is its unique identifier. It represents a cryptographic digital fingerprint made by hashing the block header twice through the SHA256 algorithm.
|
@@ -393,7 +393,7 @@ module CryptoApis
|
|
393
393
|
end
|
394
394
|
|
395
395
|
# List Omni Transactions By Block Hash
|
396
|
-
# This endpoint will list Omni transactions by an attribute `transactionHash`. The transactions listed will detail additional information such as addresses, height, time of creation in Unix timestamp, etc.
|
396
|
+
# This endpoint will list Omni transactions by an attribute `transactionHash`. The transactions listed will detail additional information such as addresses, height, time of creation in Unix timestamp, etc.
|
397
397
|
# @param 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. - \"mainnet\" is the live network with actual data while networks like \"testnet\", \"ropsten\", \"rinkeby\" are test networks.
|
398
398
|
# @param blockchain [String] Represents the specific blockchain protocol name, e.g. Ethereum, Bitcoin, etc.
|
399
399
|
# @param block_hash [String] Represents the hash of the block, which is its unique identifier. It represents a cryptographic digital fingerprint made by hashing the block header twice through the SHA256 algorithm.
|
@@ -472,7 +472,7 @@ module CryptoApis
|
|
472
472
|
end
|
473
473
|
|
474
474
|
# List Omni Transactions By Block Height
|
475
|
-
# This endpoint will list Omni transactions by an attribute `blockHeight`. The transactions listed will detail additional information such as hash, addresses, time of creation in Unix timestamp, etc.
|
475
|
+
# This endpoint will list Omni transactions by an attribute `blockHeight`. The transactions listed will detail additional information such as hash, addresses, time of creation in Unix timestamp, etc.
|
476
476
|
# @param 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. - \"mainnet\" is the live network with actual data while networks like \"testnet\", \"ropsten\", \"rinkeby\" are test networks.
|
477
477
|
# @param blockchain [String] Represents the specific blockchain protocol name, e.g. Ethereum, Bitcoin, etc.
|
478
478
|
# @param block_height [String] Represents the number of blocks in the blockchain preceding this specific block. Block numbers have no gaps. A blockchain usually starts with block 0 called the \"Genesis block\".
|
@@ -487,7 +487,7 @@ module CryptoApis
|
|
487
487
|
end
|
488
488
|
|
489
489
|
# List Omni Transactions By Block Height
|
490
|
-
# This endpoint will list Omni transactions by an attribute `blockHeight`. The transactions listed will detail additional information such as hash, addresses, time of creation in Unix timestamp, etc.
|
490
|
+
# This endpoint will list Omni transactions by an attribute `blockHeight`. The transactions listed will detail additional information such as hash, addresses, time of creation in Unix timestamp, etc.
|
491
491
|
# @param 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. - \"mainnet\" is the live network with actual data while networks like \"testnet\", \"ropsten\", \"rinkeby\" are test networks.
|
492
492
|
# @param blockchain [String] Represents the specific blockchain protocol name, e.g. Ethereum, Bitcoin, etc.
|
493
493
|
# @param block_height [String] Represents the number of blocks in the blockchain preceding this specific block. Block numbers have no gaps. A blockchain usually starts with block 0 called the \"Genesis block\".
|
@@ -566,7 +566,7 @@ module CryptoApis
|
|
566
566
|
end
|
567
567
|
|
568
568
|
# List Unconfirmed Omni Transactions By Address
|
569
|
-
# This endpoint will list unconfirmed Omni transactions by an attribute `address`. The transactions listed will detail additional information such as hash, height, time of creation in Unix timestamp, etc. Unconfirmed transactions are usually put in the Mempool and await verification so that they can be added to a block.
|
569
|
+
# This endpoint will list unconfirmed Omni transactions by an attribute `address`. The transactions listed will detail additional information such as hash, height, time of creation in Unix timestamp, etc. Unconfirmed transactions are usually put in the Mempool and await verification so that they can be added to a block.
|
570
570
|
# @param 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. - \"mainnet\" is the live network with actual data while networks like \"testnet\", \"ropsten\", \"rinkeby\" are test networks.
|
571
571
|
# @param blockchain [String] Represents the specific blockchain protocol name, e.g. Ethereum, Bitcoin, etc.
|
572
572
|
# @param address [String] Represents the public address, which is a compressed and shortened form of a public key.
|
@@ -581,7 +581,7 @@ module CryptoApis
|
|
581
581
|
end
|
582
582
|
|
583
583
|
# List Unconfirmed Omni Transactions By Address
|
584
|
-
# This endpoint will list unconfirmed Omni transactions by an attribute `address`. The transactions listed will detail additional information such as hash, height, time of creation in Unix timestamp, etc. Unconfirmed transactions are usually put in the Mempool and await verification so that they can be added to a block.
|
584
|
+
# This endpoint will list unconfirmed Omni transactions by an attribute `address`. The transactions listed will detail additional information such as hash, height, time of creation in Unix timestamp, etc. Unconfirmed transactions are usually put in the Mempool and await verification so that they can be added to a block.
|
585
585
|
# @param 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. - \"mainnet\" is the live network with actual data while networks like \"testnet\", \"ropsten\", \"rinkeby\" are test networks.
|
586
586
|
# @param blockchain [String] Represents the specific blockchain protocol name, e.g. Ethereum, Bitcoin, etc.
|
587
587
|
# @param address [String] Represents the public address, which is a compressed and shortened form of a public key.
|
@@ -660,7 +660,7 @@ module CryptoApis
|
|
660
660
|
end
|
661
661
|
|
662
662
|
# List Unconfirmed Omni Transactions By Property ID
|
663
|
-
# This endpoint will list unconfirmed Omni transactions by an attribute `propertyId`. The transactions listed will detail additional information such as hash, height, time of creation in Unix timestamp, etc. Unconfirmed transactions are usually put in the Mempool and await verification so that they can be added to a block.
|
663
|
+
# This endpoint will list unconfirmed Omni transactions by an attribute `propertyId`. The transactions listed will detail additional information such as hash, height, time of creation in Unix timestamp, etc. Unconfirmed transactions are usually put in the Mempool and await verification so that they can be added to a block.
|
664
664
|
# @param 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. - \"mainnet\" is the live network with actual data while networks like \"testnet\", \"ropsten\", \"rinkeby\" are test networks.
|
665
665
|
# @param blockchain [String] Represents the specific blockchain protocol name, e.g. Ethereum, Bitcoin, etc.
|
666
666
|
# @param property_id [String] Represents the identifier of the tokens to send.
|
@@ -675,7 +675,7 @@ module CryptoApis
|
|
675
675
|
end
|
676
676
|
|
677
677
|
# List Unconfirmed Omni Transactions By Property ID
|
678
|
-
# This endpoint will list unconfirmed Omni transactions by an attribute `propertyId`. The transactions listed will detail additional information such as hash, height, time of creation in Unix timestamp, etc. Unconfirmed transactions are usually put in the Mempool and await verification so that they can be added to a block.
|
678
|
+
# This endpoint will list unconfirmed Omni transactions by an attribute `propertyId`. The transactions listed will detail additional information such as hash, height, time of creation in Unix timestamp, etc. Unconfirmed transactions are usually put in the Mempool and await verification so that they can be added to a block.
|
679
679
|
# @param 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. - \"mainnet\" is the live network with actual data while networks like \"testnet\", \"ropsten\", \"rinkeby\" are test networks.
|
680
680
|
# @param blockchain [String] Represents the specific blockchain protocol name, e.g. Ethereum, Bitcoin, etc.
|
681
681
|
# @param property_id [String] Represents the identifier of the tokens to send.
|
@@ -108,7 +108,7 @@ module CryptoApis
|
|
108
108
|
end
|
109
109
|
|
110
110
|
# List Tokens By Address
|
111
|
-
# Through this endpoint customers can obtain token data by providing an attribute - `address`. The information that can be returned can include the contract address, the token symbol, type and balance.
|
111
|
+
# Through this endpoint customers can obtain token data by providing an attribute - `address`. The information that can be returned can include the contract address, the token symbol, type and balance.
|
112
112
|
# @param blockchain [String] Represents the specific blockchain protocol name, e.g. Ethereum, Ethereum Classic, etc.
|
113
113
|
# @param 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. - \"mainnet\" is the live network with actual data while networks like \"ropsten\", \"rinkeby\" are test networks.
|
114
114
|
# @param address [String] Represents the public address, which is a compressed and shortened form of a public key.
|
@@ -123,7 +123,7 @@ module CryptoApis
|
|
123
123
|
end
|
124
124
|
|
125
125
|
# List Tokens By Address
|
126
|
-
# Through this endpoint customers can obtain token data by providing an attribute - `address`. The information that can be returned can include the contract address, the token symbol, type and balance.
|
126
|
+
# Through this endpoint customers can obtain token data by providing an attribute - `address`. The information that can be returned can include the contract address, the token symbol, type and balance.
|
127
127
|
# @param blockchain [String] Represents the specific blockchain protocol name, e.g. Ethereum, Ethereum Classic, etc.
|
128
128
|
# @param 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. - \"mainnet\" is the live network with actual data while networks like \"ropsten\", \"rinkeby\" are test networks.
|
129
129
|
# @param address [String] Represents the public address, which is a compressed and shortened form of a public key.
|
@@ -202,7 +202,7 @@ module CryptoApis
|
|
202
202
|
end
|
203
203
|
|
204
204
|
# List Tokens Transfers By Address
|
205
|
-
# Through this endpoint customers can obtain a list with token transfers by the `address` attribute. Token transfers may include information such as addresses of the sender and recipient, token name, token symbol, etc. {note}This refers only to transfers done for **tokens** not coins.{/note}
|
205
|
+
# Through this endpoint customers can obtain a list with token transfers by the `address` attribute. Token transfers may include information such as addresses of the sender and recipient, token name, token symbol, etc. {note}This refers only to transfers done for **tokens** not coins.{/note}
|
206
206
|
# @param blockchain [String] Represents the specific blockchain protocol name, e.g. Ethereum, Ethereum Classic, etc.
|
207
207
|
# @param 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. - \"mainnet\" is the live network with actual data while networks like \"ropsten\", \"rinkeby\" are test networks.
|
208
208
|
# @param address [String] Represents the public address, which is a compressed and shortened form of a public key.
|
@@ -217,7 +217,7 @@ module CryptoApis
|
|
217
217
|
end
|
218
218
|
|
219
219
|
# List Tokens Transfers By Address
|
220
|
-
# Through this endpoint customers can obtain a list with token transfers by the `address` attribute. Token transfers may include information such as addresses of the sender and recipient, token name, token symbol, etc. {note}This refers only to transfers done for **tokens** not coins.{/note}
|
220
|
+
# Through this endpoint customers can obtain a list with token transfers by the `address` attribute. Token transfers may include information such as addresses of the sender and recipient, token name, token symbol, etc. {note}This refers only to transfers done for **tokens** not coins.{/note}
|
221
221
|
# @param blockchain [String] Represents the specific blockchain protocol name, e.g. Ethereum, Ethereum Classic, etc.
|
222
222
|
# @param 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. - \"mainnet\" is the live network with actual data while networks like \"ropsten\", \"rinkeby\" are test networks.
|
223
223
|
# @param address [String] Represents the public address, which is a compressed and shortened form of a public key.
|
@@ -296,7 +296,7 @@ module CryptoApis
|
|
296
296
|
end
|
297
297
|
|
298
298
|
# List Tokens Transfers By Transaction Hash
|
299
|
-
# Through this endpoint customers can obtain a list with token transfers by the `transactionHash` attribute. Token transfers may include information such as addresses of the sender and recipient, token name, token symbol, etc. {note}This refers only to transfers done for **tokens** not coins.{/note}
|
299
|
+
# Through this endpoint customers can obtain a list with token transfers by the `transactionHash` attribute. Token transfers may include information such as addresses of the sender and recipient, token name, token symbol, etc. {note}This refers only to transfers done for **tokens** not coins.{/note}
|
300
300
|
# @param blockchain [String] Represents the specific blockchain protocol name, e.g. Ethereum, Ethereum Classic, etc.
|
301
301
|
# @param 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. - \"mainnet\" is the live network with actual data while networks like \"ropsten\", \"rinkeby\" are test networks.
|
302
302
|
# @param transaction_hash [String] Represents the hash of the transaction, which is its unique identifier. It represents a cryptographic digital fingerprint made by hashing the block header twice through the SHA256 algorithm.
|
@@ -311,7 +311,7 @@ module CryptoApis
|
|
311
311
|
end
|
312
312
|
|
313
313
|
# List Tokens Transfers By Transaction Hash
|
314
|
-
# Through this endpoint customers can obtain a list with token transfers by the `transactionHash` attribute. Token transfers may include information such as addresses of the sender and recipient, token name, token symbol, etc. {note}This refers only to transfers done for **tokens** not coins.{/note}
|
314
|
+
# Through this endpoint customers can obtain a list with token transfers by the `transactionHash` attribute. Token transfers may include information such as addresses of the sender and recipient, token name, token symbol, etc. {note}This refers only to transfers done for **tokens** not coins.{/note}
|
315
315
|
# @param blockchain [String] Represents the specific blockchain protocol name, e.g. Ethereum, Ethereum Classic, etc.
|
316
316
|
# @param 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. - \"mainnet\" is the live network with actual data while networks like \"ropsten\", \"rinkeby\" are test networks.
|
317
317
|
# @param transaction_hash [String] Represents the hash of the transaction, which is its unique identifier. It represents a cryptographic digital fingerprint made by hashing the block header twice through the SHA256 algorithm.
|
@@ -49,7 +49,7 @@ module CryptoApis
|
|
49
49
|
fail ArgumentError, "Missing the required parameter 'blockchain' when calling UnifiedEndpointsApi.get_address_details"
|
50
50
|
end
|
51
51
|
# verify enum value
|
52
|
-
allowable_values = ["bitcoin", "bitcoin-cash", "litecoin", "dogecoin", "dash", "ethereum", "ethereum-classic"
|
52
|
+
allowable_values = ["bitcoin", "bitcoin-cash", "litecoin", "dogecoin", "dash", "ethereum", "ethereum-classic"]
|
53
53
|
if @api_client.config.client_side_validation && !allowable_values.include?(blockchain)
|
54
54
|
fail ArgumentError, "invalid value for \"blockchain\", must be one of #{allowable_values}"
|
55
55
|
end
|
@@ -137,7 +137,7 @@ module CryptoApis
|
|
137
137
|
fail ArgumentError, "Missing the required parameter 'blockchain' when calling UnifiedEndpointsApi.get_block_details_by_block_hash"
|
138
138
|
end
|
139
139
|
# verify enum value
|
140
|
-
allowable_values = ["bitcoin", "ethereum", "ethereum-classic", "bitcoin-cash", "litecoin", "dogecoin", "dash"
|
140
|
+
allowable_values = ["bitcoin", "ethereum", "ethereum-classic", "bitcoin-cash", "litecoin", "dogecoin", "dash"]
|
141
141
|
if @api_client.config.client_side_validation && !allowable_values.include?(blockchain)
|
142
142
|
fail ArgumentError, "invalid value for \"blockchain\", must be one of #{allowable_values}"
|
143
143
|
end
|
@@ -225,7 +225,7 @@ module CryptoApis
|
|
225
225
|
fail ArgumentError, "Missing the required parameter 'blockchain' when calling UnifiedEndpointsApi.get_block_details_by_block_height"
|
226
226
|
end
|
227
227
|
# verify enum value
|
228
|
-
allowable_values = ["bitcoin", "ethereum", "ethereum-classic", "bitcoin-cash", "litecoin", "dogecoin", "dash"
|
228
|
+
allowable_values = ["bitcoin", "ethereum", "ethereum-classic", "bitcoin-cash", "litecoin", "dogecoin", "dash"]
|
229
229
|
if @api_client.config.client_side_validation && !allowable_values.include?(blockchain)
|
230
230
|
fail ArgumentError, "invalid value for \"blockchain\", must be one of #{allowable_values}"
|
231
231
|
end
|
@@ -393,7 +393,7 @@ module CryptoApis
|
|
393
393
|
fail ArgumentError, "Missing the required parameter 'blockchain' when calling UnifiedEndpointsApi.get_latest_mined_block"
|
394
394
|
end
|
395
395
|
# verify enum value
|
396
|
-
allowable_values = ["bitcoin", "ethereum", "ethereum-classic", "bitcoin-cash", "litecoin", "dogecoin", "dash"
|
396
|
+
allowable_values = ["bitcoin", "ethereum", "ethereum-classic", "bitcoin-cash", "litecoin", "dogecoin", "dash"]
|
397
397
|
if @api_client.config.client_side_validation && !allowable_values.include?(blockchain)
|
398
398
|
fail ArgumentError, "invalid value for \"blockchain\", must be one of #{allowable_values}"
|
399
399
|
end
|
@@ -477,7 +477,7 @@ module CryptoApis
|
|
477
477
|
fail ArgumentError, "Missing the required parameter 'blockchain' when calling UnifiedEndpointsApi.get_transaction_details_by_transaction_id"
|
478
478
|
end
|
479
479
|
# verify enum value
|
480
|
-
allowable_values = ["bitcoin", "bitcoin-cash", "litecoin", "dogecoin", "dash", "ethereum", "ethereum-classic"
|
480
|
+
allowable_values = ["bitcoin", "bitcoin-cash", "litecoin", "dogecoin", "dash", "ethereum", "ethereum-classic"]
|
481
481
|
if @api_client.config.client_side_validation && !allowable_values.include?(blockchain)
|
482
482
|
fail ArgumentError, "invalid value for \"blockchain\", must be one of #{allowable_values}"
|
483
483
|
end
|
@@ -536,7 +536,7 @@ module CryptoApis
|
|
536
536
|
end
|
537
537
|
|
538
538
|
# List Transactions By Address
|
539
|
-
# This endpoint will list transactions by an attribute `address`. The transactions listed will detail additional information such as hash, height, time of creation in Unix timestamp, etc.
|
539
|
+
# This endpoint will list transactions by an attribute `address`. The transactions listed will detail additional information such as hash, height, time of creation in Unix timestamp, etc.
|
540
540
|
# @param blockchain [String] Represents the specific blockchain protocol name, e.g. Ethereum, Bitcoin, etc.
|
541
541
|
# @param 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. - \"mainnet\" is the live network with actual data while networks like \"testnet\", \"ropsten\", \"rinkeby\" are test networks.
|
542
542
|
# @param address [String] Represents the public address, which is a compressed and shortened form of a public key.
|
@@ -551,7 +551,7 @@ module CryptoApis
|
|
551
551
|
end
|
552
552
|
|
553
553
|
# List Transactions By Address
|
554
|
-
# This endpoint will list transactions by an attribute `address`. The transactions listed will detail additional information such as hash, height, time of creation in Unix timestamp, etc.
|
554
|
+
# This endpoint will list transactions by an attribute `address`. The transactions listed will detail additional information such as hash, height, time of creation in Unix timestamp, etc.
|
555
555
|
# @param blockchain [String] Represents the specific blockchain protocol name, e.g. Ethereum, Bitcoin, etc.
|
556
556
|
# @param 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. - \"mainnet\" is the live network with actual data while networks like \"testnet\", \"ropsten\", \"rinkeby\" are test networks.
|
557
557
|
# @param address [String] Represents the public address, which is a compressed and shortened form of a public key.
|
@@ -569,7 +569,7 @@ module CryptoApis
|
|
569
569
|
fail ArgumentError, "Missing the required parameter 'blockchain' when calling UnifiedEndpointsApi.list_transactions_by_address"
|
570
570
|
end
|
571
571
|
# verify enum value
|
572
|
-
allowable_values = ["bitcoin", "bitcoin-cash", "litecoin", "dogecoin", "dash", "ethereum-classic", "ethereum"
|
572
|
+
allowable_values = ["bitcoin", "bitcoin-cash", "litecoin", "dogecoin", "dash", "ethereum-classic", "ethereum"]
|
573
573
|
if @api_client.config.client_side_validation && !allowable_values.include?(blockchain)
|
574
574
|
fail ArgumentError, "invalid value for \"blockchain\", must be one of #{allowable_values}"
|
575
575
|
end
|
@@ -630,7 +630,7 @@ module CryptoApis
|
|
630
630
|
end
|
631
631
|
|
632
632
|
# List Transactions by Block Hash
|
633
|
-
# This endpoint will list transactions by an attribute `transactionHash`. The transactions listed will detail additional information such as addresses, height, time of creation in Unix timestamp, etc.
|
633
|
+
# This endpoint will list transactions by an attribute `transactionHash`. The transactions listed will detail additional information such as addresses, height, time of creation in Unix timestamp, etc.
|
634
634
|
# @param blockchain [String] Represents the specific blockchain protocol name, e.g. Ethereum, Bitcoin, etc.
|
635
635
|
# @param 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. - \"mainnet\" is the live network with actual data while networks like \"testnet\", \"ropsten\", \"rinkeby\" are test networks.
|
636
636
|
# @param block_hash [String] Represents the hash of the block, which is its unique identifier. It represents a cryptographic digital fingerprint made by hashing the block header twice through the SHA256 algorithm.
|
@@ -645,7 +645,7 @@ module CryptoApis
|
|
645
645
|
end
|
646
646
|
|
647
647
|
# List Transactions by Block Hash
|
648
|
-
# This endpoint will list transactions by an attribute `transactionHash`. The transactions listed will detail additional information such as addresses, height, time of creation in Unix timestamp, etc.
|
648
|
+
# This endpoint will list transactions by an attribute `transactionHash`. The transactions listed will detail additional information such as addresses, height, time of creation in Unix timestamp, etc.
|
649
649
|
# @param blockchain [String] Represents the specific blockchain protocol name, e.g. Ethereum, Bitcoin, etc.
|
650
650
|
# @param 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. - \"mainnet\" is the live network with actual data while networks like \"testnet\", \"ropsten\", \"rinkeby\" are test networks.
|
651
651
|
# @param block_hash [String] Represents the hash of the block, which is its unique identifier. It represents a cryptographic digital fingerprint made by hashing the block header twice through the SHA256 algorithm.
|
@@ -663,7 +663,7 @@ module CryptoApis
|
|
663
663
|
fail ArgumentError, "Missing the required parameter 'blockchain' when calling UnifiedEndpointsApi.list_transactions_by_block_hash"
|
664
664
|
end
|
665
665
|
# verify enum value
|
666
|
-
allowable_values = ["bitcoin", "bitcoin-cash", "litecoin", "dogecoin", "dash", "ethereum", "ethereum-classic"
|
666
|
+
allowable_values = ["bitcoin", "bitcoin-cash", "litecoin", "dogecoin", "dash", "ethereum", "ethereum-classic"]
|
667
667
|
if @api_client.config.client_side_validation && !allowable_values.include?(blockchain)
|
668
668
|
fail ArgumentError, "invalid value for \"blockchain\", must be one of #{allowable_values}"
|
669
669
|
end
|
@@ -724,7 +724,7 @@ module CryptoApis
|
|
724
724
|
end
|
725
725
|
|
726
726
|
# List Transactions by Block Height
|
727
|
-
# This endpoint will list transactions by an attribute `blockHeight`. The transactions listed will detail additional information such as hash, addresses, time of creation in Unix timestamp, etc.
|
727
|
+
# This endpoint will list transactions by an attribute `blockHeight`. The transactions listed will detail additional information such as hash, addresses, time of creation in Unix timestamp, etc.
|
728
728
|
# @param blockchain [String] Represents the specific blockchain protocol name, e.g. Ethereum, Bitcoin, etc.
|
729
729
|
# @param 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. - \"mainnet\" is the live network with actual data while networks like \"testnet\", \"ropsten\", \"rinkeby\" are test networks.
|
730
730
|
# @param height [Integer] Represents the number of blocks in the blockchain preceding this specific block. Block numbers have no gaps. A blockchain usually starts with block 0 called the \"Genesis block\".
|
@@ -739,7 +739,7 @@ module CryptoApis
|
|
739
739
|
end
|
740
740
|
|
741
741
|
# List Transactions by Block Height
|
742
|
-
# This endpoint will list transactions by an attribute `blockHeight`. The transactions listed will detail additional information such as hash, addresses, time of creation in Unix timestamp, etc.
|
742
|
+
# This endpoint will list transactions by an attribute `blockHeight`. The transactions listed will detail additional information such as hash, addresses, time of creation in Unix timestamp, etc.
|
743
743
|
# @param blockchain [String] Represents the specific blockchain protocol name, e.g. Ethereum, Bitcoin, etc.
|
744
744
|
# @param 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. - \"mainnet\" is the live network with actual data while networks like \"testnet\", \"ropsten\", \"rinkeby\" are test networks.
|
745
745
|
# @param height [Integer] Represents the number of blocks in the blockchain preceding this specific block. Block numbers have no gaps. A blockchain usually starts with block 0 called the \"Genesis block\".
|
@@ -757,7 +757,7 @@ module CryptoApis
|
|
757
757
|
fail ArgumentError, "Missing the required parameter 'blockchain' when calling UnifiedEndpointsApi.list_transactions_by_block_height"
|
758
758
|
end
|
759
759
|
# verify enum value
|
760
|
-
allowable_values = ["bitcoin", "ethereum", "dash", "dogecoin", "litecoin", "bitcoin-cash", "ethereum-classic"
|
760
|
+
allowable_values = ["bitcoin", "ethereum", "dash", "dogecoin", "litecoin", "bitcoin-cash", "ethereum-classic"]
|
761
761
|
if @api_client.config.client_side_validation && !allowable_values.include?(blockchain)
|
762
762
|
fail ArgumentError, "invalid value for \"blockchain\", must be one of #{allowable_values}"
|
763
763
|
end
|