Class: CryptoApis::TokensApi
- Inherits:
-
Object
- Object
- CryptoApis::TokensApi
- Defined in:
- lib/crypto_apis/api/tokens_api.rb
Instance Attribute Summary collapse
-
#api_client ⇒ Object
Returns the value of attribute api_client.
Instance Method Summary collapse
-
#get_token_details_by_contract_address(blockchain, network, contract_address, opts = {}) ⇒ GetTokenDetailsByContractAddressR
Get Token Details by Contract Address Though this endpoint customers can obtain information about token details.
-
#get_token_details_by_contract_address_with_http_info(blockchain, network, contract_address, opts = {}) ⇒ Array<(GetTokenDetailsByContractAddressR, Integer, Hash)>
Get Token Details by Contract Address Though this endpoint customers can obtain information about token details.
-
#initialize(api_client = ApiClient.default) ⇒ TokensApi
constructor
A new instance of TokensApi.
-
#list_confirmed_tokens_transfers_by_address(blockchain, network, address, opts = {}) ⇒ ListConfirmedTokensTransfersByAddressR
List Confirmed Tokens Transfers By Address Through this endpoint customers can obtain a list with confirmed token transfers by the ‘address` attribute.
-
#list_confirmed_tokens_transfers_by_address_with_http_info(blockchain, network, address, opts = {}) ⇒ Array<(ListConfirmedTokensTransfersByAddressR, Integer, Hash)>
List Confirmed Tokens Transfers By Address Through this endpoint customers can obtain a list with confirmed token transfers by the `address` attribute.
-
#list_tokens_by_address(blockchain, network, address, opts = {}) ⇒ ListTokensByAddressR
List Tokens By Address Through this endpoint customers can obtain token data by providing an attribute - ‘address`.
-
#list_tokens_by_address_with_http_info(blockchain, network, address, opts = {}) ⇒ Array<(ListTokensByAddressR, Integer, Hash)>
List Tokens By Address Through this endpoint customers can obtain token data by providing an attribute - `address`.
-
#list_tokens_transfers_by_transaction_hash(blockchain, network, transaction_hash, opts = {}) ⇒ ListTokensTransfersByTransactionHashR
List Tokens Transfers By Transaction Hash Through this endpoint customers can obtain a list with token transfers by the ‘transactionHash` attribute.
-
#list_tokens_transfers_by_transaction_hash_with_http_info(blockchain, network, transaction_hash, opts = {}) ⇒ Array<(ListTokensTransfersByTransactionHashR, Integer, Hash)>
List Tokens Transfers By Transaction Hash Through this endpoint customers can obtain a list with token transfers by the `transactionHash` attribute.
-
#list_unconfirmed_tokens_transfers_by_address(blockchain, network, address, opts = {}) ⇒ ListUnconfirmedTokensTransfersByAddressR
List Unconfirmed Tokens Transfers By Address Through this endpoint customers can obtain a list with unconfirmed token transfers by the ‘address` attribute.
-
#list_unconfirmed_tokens_transfers_by_address_with_http_info(blockchain, network, address, opts = {}) ⇒ Array<(ListUnconfirmedTokensTransfersByAddressR, Integer, Hash)>
List Unconfirmed Tokens Transfers By Address Through this endpoint customers can obtain a list with unconfirmed token transfers by the `address` attribute.
Constructor Details
#initialize(api_client = ApiClient.default) ⇒ TokensApi
Returns a new instance of TokensApi.
19 20 21 |
# File 'lib/crypto_apis/api/tokens_api.rb', line 19 def initialize(api_client = ApiClient.default) @api_client = api_client end |
Instance Attribute Details
#api_client ⇒ Object
Returns the value of attribute api_client.
17 18 19 |
# File 'lib/crypto_apis/api/tokens_api.rb', line 17 def api_client @api_client end |
Instance Method Details
#get_token_details_by_contract_address(blockchain, network, contract_address, opts = {}) ⇒ GetTokenDetailsByContractAddressR
Get Token Details by Contract Address Though this endpoint customers can obtain information about token details. This can be done by providing the ‘contact address` parameter. noteThis address is not the same as the smart contract creator address./note
30 31 32 33 |
# File 'lib/crypto_apis/api/tokens_api.rb', line 30 def get_token_details_by_contract_address(blockchain, network, contract_address, opts = {}) data, _status_code, _headers = get_token_details_by_contract_address_with_http_info(blockchain, network, contract_address, opts) data end |
#get_token_details_by_contract_address_with_http_info(blockchain, network, contract_address, opts = {}) ⇒ Array<(GetTokenDetailsByContractAddressR, Integer, Hash)>
Get Token Details by Contract Address Though this endpoint customers can obtain information about token details. This can be done by providing the `contact address` parameter. noteThis address is not the same as the smart contract creator address./note
43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 |
# File 'lib/crypto_apis/api/tokens_api.rb', line 43 def get_token_details_by_contract_address_with_http_info(blockchain, network, contract_address, opts = {}) if @api_client.config.debugging @api_client.config.logger.debug 'Calling API: TokensApi.get_token_details_by_contract_address ...' end # verify the required parameter 'blockchain' is set if @api_client.config.client_side_validation && blockchain.nil? fail ArgumentError, "Missing the required parameter 'blockchain' when calling TokensApi.get_token_details_by_contract_address" end # verify enum value allowable_values = ["ethereum", "ethereum-classic", "binance-smart-chain"] if @api_client.config.client_side_validation && !allowable_values.include?(blockchain) fail ArgumentError, "invalid value for \"blockchain\", must be one of #{allowable_values}" end # verify the required parameter 'network' is set if @api_client.config.client_side_validation && network.nil? fail ArgumentError, "Missing the required parameter 'network' when calling TokensApi.get_token_details_by_contract_address" end # verify enum value allowable_values = ["mainnet", "mordor", "testnet", "goerli"] if @api_client.config.client_side_validation && !allowable_values.include?(network) fail ArgumentError, "invalid value for \"network\", must be one of #{allowable_values}" end # verify the required parameter 'contract_address' is set if @api_client.config.client_side_validation && contract_address.nil? fail ArgumentError, "Missing the required parameter 'contract_address' when calling TokensApi.get_token_details_by_contract_address" end # resource path local_var_path = '/blockchain-data/{blockchain}/{network}/addresses/{contractAddress}/contract'.sub('{' + 'blockchain' + '}', CGI.escape(blockchain.to_s)).sub('{' + 'network' + '}', CGI.escape(network.to_s)).sub('{' + 'contractAddress' + '}', CGI.escape(contract_address.to_s)) # query parameters query_params = opts[:query_params] || {} query_params[:'context'] = opts[:'context'] if !opts[:'context'].nil? # header parameters header_params = opts[:header_params] || {} # HTTP header 'Accept' (if needed) header_params['Accept'] = @api_client.select_header_accept(['application/json']) # form parameters form_params = opts[:form_params] || {} # http body (model) post_body = opts[:debug_body] # return_type return_type = opts[:debug_return_type] || 'GetTokenDetailsByContractAddressR' # auth_names auth_names = opts[:debug_auth_names] || ['ApiKey'] = opts.merge( :operation => :"TokensApi.get_token_details_by_contract_address", :header_params => header_params, :query_params => query_params, :form_params => form_params, :body => post_body, :auth_names => auth_names, :return_type => return_type ) data, status_code, headers = @api_client.call_api(:GET, local_var_path, ) if @api_client.config.debugging @api_client.config.logger.debug "API called: TokensApi#get_token_details_by_contract_address\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}" end return data, status_code, headers end |
#list_confirmed_tokens_transfers_by_address(blockchain, network, address, opts = {}) ⇒ ListConfirmedTokensTransfersByAddressR
List Confirmed Tokens Transfers By Address Through this endpoint customers can obtain a list with confirmed token transfers by the ‘address` attribute. Token transfers may include information such as addresses of the sender and recipient, token name, token symbol, etc. noteThis refers only to transfers done for **confirmed tokens** not coins./note
120 121 122 123 |
# File 'lib/crypto_apis/api/tokens_api.rb', line 120 def list_confirmed_tokens_transfers_by_address(blockchain, network, address, opts = {}) data, _status_code, _headers = list_confirmed_tokens_transfers_by_address_with_http_info(blockchain, network, address, opts) data end |
#list_confirmed_tokens_transfers_by_address_with_http_info(blockchain, network, address, opts = {}) ⇒ Array<(ListConfirmedTokensTransfersByAddressR, Integer, Hash)>
List Confirmed Tokens Transfers By Address Through this endpoint customers can obtain a list with confirmed token transfers by the `address` attribute. Token transfers may include information such as addresses of the sender and recipient, token name, token symbol, etc. noteThis refers only to transfers done for **confirmed tokens** not coins./note
135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 |
# File 'lib/crypto_apis/api/tokens_api.rb', line 135 def list_confirmed_tokens_transfers_by_address_with_http_info(blockchain, network, address, opts = {}) if @api_client.config.debugging @api_client.config.logger.debug 'Calling API: TokensApi.list_confirmed_tokens_transfers_by_address ...' end # verify the required parameter 'blockchain' is set if @api_client.config.client_side_validation && blockchain.nil? fail ArgumentError, "Missing the required parameter 'blockchain' when calling TokensApi.list_confirmed_tokens_transfers_by_address" end # verify enum value allowable_values = ["ethereum", "ethereum-classic", "binance-smart-chain"] if @api_client.config.client_side_validation && !allowable_values.include?(blockchain) fail ArgumentError, "invalid value for \"blockchain\", must be one of #{allowable_values}" end # verify the required parameter 'network' is set if @api_client.config.client_side_validation && network.nil? fail ArgumentError, "Missing the required parameter 'network' when calling TokensApi.list_confirmed_tokens_transfers_by_address" end # verify enum value allowable_values = ["mainnet", "mordor", "testnet", "goerli"] if @api_client.config.client_side_validation && !allowable_values.include?(network) fail ArgumentError, "invalid value for \"network\", must be one of #{allowable_values}" end # verify the required parameter 'address' is set if @api_client.config.client_side_validation && address.nil? fail ArgumentError, "Missing the required parameter 'address' when calling TokensApi.list_confirmed_tokens_transfers_by_address" end # resource path local_var_path = '/blockchain-data/{blockchain}/{network}/addresses/{address}/tokens-transfers'.sub('{' + 'blockchain' + '}', CGI.escape(blockchain.to_s)).sub('{' + 'network' + '}', CGI.escape(network.to_s)).sub('{' + 'address' + '}', CGI.escape(address.to_s)) # query parameters query_params = opts[:query_params] || {} query_params[:'context'] = opts[:'context'] if !opts[:'context'].nil? query_params[:'limit'] = opts[:'limit'] if !opts[:'limit'].nil? query_params[:'offset'] = opts[:'offset'] if !opts[:'offset'].nil? # header parameters header_params = opts[:header_params] || {} # HTTP header 'Accept' (if needed) header_params['Accept'] = @api_client.select_header_accept(['application/json']) # form parameters form_params = opts[:form_params] || {} # http body (model) post_body = opts[:debug_body] # return_type return_type = opts[:debug_return_type] || 'ListConfirmedTokensTransfersByAddressR' # auth_names auth_names = opts[:debug_auth_names] || ['ApiKey'] = opts.merge( :operation => :"TokensApi.list_confirmed_tokens_transfers_by_address", :header_params => header_params, :query_params => query_params, :form_params => form_params, :body => post_body, :auth_names => auth_names, :return_type => return_type ) data, status_code, headers = @api_client.call_api(:GET, local_var_path, ) if @api_client.config.debugging @api_client.config.logger.debug "API called: TokensApi#list_confirmed_tokens_transfers_by_address\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}" end return data, status_code, headers end |
#list_tokens_by_address(blockchain, network, address, opts = {}) ⇒ ListTokensByAddressR
List Tokens By Address 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.
214 215 216 217 |
# File 'lib/crypto_apis/api/tokens_api.rb', line 214 def list_tokens_by_address(blockchain, network, address, opts = {}) data, _status_code, _headers = list_tokens_by_address_with_http_info(blockchain, network, address, opts) data end |
#list_tokens_by_address_with_http_info(blockchain, network, address, opts = {}) ⇒ Array<(ListTokensByAddressR, Integer, Hash)>
List Tokens By Address 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.
229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 |
# File 'lib/crypto_apis/api/tokens_api.rb', line 229 def list_tokens_by_address_with_http_info(blockchain, network, address, opts = {}) if @api_client.config.debugging @api_client.config.logger.debug 'Calling API: TokensApi.list_tokens_by_address ...' end # verify the required parameter 'blockchain' is set if @api_client.config.client_side_validation && blockchain.nil? fail ArgumentError, "Missing the required parameter 'blockchain' when calling TokensApi.list_tokens_by_address" end # verify enum value allowable_values = ["ethereum", "ethereum-classic", "binance-smart-chain"] if @api_client.config.client_side_validation && !allowable_values.include?(blockchain) fail ArgumentError, "invalid value for \"blockchain\", must be one of #{allowable_values}" end # verify the required parameter 'network' is set if @api_client.config.client_side_validation && network.nil? fail ArgumentError, "Missing the required parameter 'network' when calling TokensApi.list_tokens_by_address" end # verify enum value allowable_values = ["mainnet", "mordor", "testnet", "goerli"] if @api_client.config.client_side_validation && !allowable_values.include?(network) fail ArgumentError, "invalid value for \"network\", must be one of #{allowable_values}" end # verify the required parameter 'address' is set if @api_client.config.client_side_validation && address.nil? fail ArgumentError, "Missing the required parameter 'address' when calling TokensApi.list_tokens_by_address" end # resource path local_var_path = '/blockchain-data/{blockchain}/{network}/addresses/{address}/tokens'.sub('{' + 'blockchain' + '}', CGI.escape(blockchain.to_s)).sub('{' + 'network' + '}', CGI.escape(network.to_s)).sub('{' + 'address' + '}', CGI.escape(address.to_s)) # query parameters query_params = opts[:query_params] || {} query_params[:'context'] = opts[:'context'] if !opts[:'context'].nil? query_params[:'limit'] = opts[:'limit'] if !opts[:'limit'].nil? query_params[:'offset'] = opts[:'offset'] if !opts[:'offset'].nil? # header parameters header_params = opts[:header_params] || {} # HTTP header 'Accept' (if needed) header_params['Accept'] = @api_client.select_header_accept(['application/json']) # form parameters form_params = opts[:form_params] || {} # http body (model) post_body = opts[:debug_body] # return_type return_type = opts[:debug_return_type] || 'ListTokensByAddressR' # auth_names auth_names = opts[:debug_auth_names] || ['ApiKey'] = opts.merge( :operation => :"TokensApi.list_tokens_by_address", :header_params => header_params, :query_params => query_params, :form_params => form_params, :body => post_body, :auth_names => auth_names, :return_type => return_type ) data, status_code, headers = @api_client.call_api(:GET, local_var_path, ) if @api_client.config.debugging @api_client.config.logger.debug "API called: TokensApi#list_tokens_by_address\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}" end return data, status_code, headers end |
#list_tokens_transfers_by_transaction_hash(blockchain, network, transaction_hash, opts = {}) ⇒ ListTokensTransfersByTransactionHashR
List Tokens Transfers By Transaction Hash 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. noteThis refers only to transfers done for tokens not coins./note
308 309 310 311 |
# File 'lib/crypto_apis/api/tokens_api.rb', line 308 def list_tokens_transfers_by_transaction_hash(blockchain, network, transaction_hash, opts = {}) data, _status_code, _headers = list_tokens_transfers_by_transaction_hash_with_http_info(blockchain, network, transaction_hash, opts) data end |
#list_tokens_transfers_by_transaction_hash_with_http_info(blockchain, network, transaction_hash, opts = {}) ⇒ Array<(ListTokensTransfersByTransactionHashR, Integer, Hash)>
List Tokens Transfers By Transaction Hash 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. noteThis refers only to transfers done for tokens not coins./note
323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 352 353 354 355 356 357 358 359 360 361 362 363 364 365 366 367 368 369 370 371 372 373 374 375 376 377 378 379 380 381 382 383 384 385 386 387 388 389 390 |
# File 'lib/crypto_apis/api/tokens_api.rb', line 323 def list_tokens_transfers_by_transaction_hash_with_http_info(blockchain, network, transaction_hash, opts = {}) if @api_client.config.debugging @api_client.config.logger.debug 'Calling API: TokensApi.list_tokens_transfers_by_transaction_hash ...' end # verify the required parameter 'blockchain' is set if @api_client.config.client_side_validation && blockchain.nil? fail ArgumentError, "Missing the required parameter 'blockchain' when calling TokensApi.list_tokens_transfers_by_transaction_hash" end # verify enum value allowable_values = ["ethereum", "ethereum-classic", "binance-smart-chain"] if @api_client.config.client_side_validation && !allowable_values.include?(blockchain) fail ArgumentError, "invalid value for \"blockchain\", must be one of #{allowable_values}" end # verify the required parameter 'network' is set if @api_client.config.client_side_validation && network.nil? fail ArgumentError, "Missing the required parameter 'network' when calling TokensApi.list_tokens_transfers_by_transaction_hash" end # verify enum value allowable_values = ["mainnet", "mordor", "testnet", "goerli"] if @api_client.config.client_side_validation && !allowable_values.include?(network) fail ArgumentError, "invalid value for \"network\", must be one of #{allowable_values}" end # verify the required parameter 'transaction_hash' is set if @api_client.config.client_side_validation && transaction_hash.nil? fail ArgumentError, "Missing the required parameter 'transaction_hash' when calling TokensApi.list_tokens_transfers_by_transaction_hash" end # resource path local_var_path = '/blockchain-data/{blockchain}/{network}/transactions/{transactionHash}/tokens-transfers'.sub('{' + 'blockchain' + '}', CGI.escape(blockchain.to_s)).sub('{' + 'network' + '}', CGI.escape(network.to_s)).sub('{' + 'transactionHash' + '}', CGI.escape(transaction_hash.to_s)) # query parameters query_params = opts[:query_params] || {} query_params[:'context'] = opts[:'context'] if !opts[:'context'].nil? query_params[:'limit'] = opts[:'limit'] if !opts[:'limit'].nil? query_params[:'offset'] = opts[:'offset'] if !opts[:'offset'].nil? # header parameters header_params = opts[:header_params] || {} # HTTP header 'Accept' (if needed) header_params['Accept'] = @api_client.select_header_accept(['application/json']) # form parameters form_params = opts[:form_params] || {} # http body (model) post_body = opts[:debug_body] # return_type return_type = opts[:debug_return_type] || 'ListTokensTransfersByTransactionHashR' # auth_names auth_names = opts[:debug_auth_names] || ['ApiKey'] = opts.merge( :operation => :"TokensApi.list_tokens_transfers_by_transaction_hash", :header_params => header_params, :query_params => query_params, :form_params => form_params, :body => post_body, :auth_names => auth_names, :return_type => return_type ) data, status_code, headers = @api_client.call_api(:GET, local_var_path, ) if @api_client.config.debugging @api_client.config.logger.debug "API called: TokensApi#list_tokens_transfers_by_transaction_hash\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}" end return data, status_code, headers end |
#list_unconfirmed_tokens_transfers_by_address(blockchain, network, address, opts = {}) ⇒ ListUnconfirmedTokensTransfersByAddressR
List Unconfirmed Tokens Transfers By Address Through this endpoint customers can obtain a list with unconfirmed token transfers by the ‘address` attribute. Token transfers may include information such as addresses of the sender and recipient, token name, token symbol, etc. noteThis refers only to transfers done for **unconfirmed tokens** not coins./note
402 403 404 405 |
# File 'lib/crypto_apis/api/tokens_api.rb', line 402 def list_unconfirmed_tokens_transfers_by_address(blockchain, network, address, opts = {}) data, _status_code, _headers = list_unconfirmed_tokens_transfers_by_address_with_http_info(blockchain, network, address, opts) data end |
#list_unconfirmed_tokens_transfers_by_address_with_http_info(blockchain, network, address, opts = {}) ⇒ Array<(ListUnconfirmedTokensTransfersByAddressR, Integer, Hash)>
List Unconfirmed Tokens Transfers By Address Through this endpoint customers can obtain a list with unconfirmed token transfers by the `address` attribute. Token transfers may include information such as addresses of the sender and recipient, token name, token symbol, etc. noteThis refers only to transfers done for **unconfirmed tokens** not coins./note
417 418 419 420 421 422 423 424 425 426 427 428 429 430 431 432 433 434 435 436 437 438 439 440 441 442 443 444 445 446 447 448 449 450 451 452 453 454 455 456 457 458 459 460 461 462 463 464 465 466 467 468 469 470 471 472 473 474 475 476 477 478 479 480 481 482 483 484 |
# File 'lib/crypto_apis/api/tokens_api.rb', line 417 def list_unconfirmed_tokens_transfers_by_address_with_http_info(blockchain, network, address, opts = {}) if @api_client.config.debugging @api_client.config.logger.debug 'Calling API: TokensApi.list_unconfirmed_tokens_transfers_by_address ...' end # verify the required parameter 'blockchain' is set if @api_client.config.client_side_validation && blockchain.nil? fail ArgumentError, "Missing the required parameter 'blockchain' when calling TokensApi.list_unconfirmed_tokens_transfers_by_address" end # verify enum value allowable_values = ["ethereum", "ethereum-classic"] if @api_client.config.client_side_validation && !allowable_values.include?(blockchain) fail ArgumentError, "invalid value for \"blockchain\", must be one of #{allowable_values}" end # verify the required parameter 'network' is set if @api_client.config.client_side_validation && network.nil? fail ArgumentError, "Missing the required parameter 'network' when calling TokensApi.list_unconfirmed_tokens_transfers_by_address" end # verify enum value allowable_values = ["mainnet", "mordor", "goerli"] if @api_client.config.client_side_validation && !allowable_values.include?(network) fail ArgumentError, "invalid value for \"network\", must be one of #{allowable_values}" end # verify the required parameter 'address' is set if @api_client.config.client_side_validation && address.nil? fail ArgumentError, "Missing the required parameter 'address' when calling TokensApi.list_unconfirmed_tokens_transfers_by_address" end # resource path local_var_path = '/blockchain-data/{blockchain}/{network}/addresses/{address}/tokens-transfers-unconfirmed'.sub('{' + 'blockchain' + '}', CGI.escape(blockchain.to_s)).sub('{' + 'network' + '}', CGI.escape(network.to_s)).sub('{' + 'address' + '}', CGI.escape(address.to_s)) # query parameters query_params = opts[:query_params] || {} query_params[:'context'] = opts[:'context'] if !opts[:'context'].nil? query_params[:'limit'] = opts[:'limit'] if !opts[:'limit'].nil? query_params[:'offset'] = opts[:'offset'] if !opts[:'offset'].nil? # header parameters header_params = opts[:header_params] || {} # HTTP header 'Accept' (if needed) header_params['Accept'] = @api_client.select_header_accept(['application/json']) # form parameters form_params = opts[:form_params] || {} # http body (model) post_body = opts[:debug_body] # return_type return_type = opts[:debug_return_type] || 'ListUnconfirmedTokensTransfersByAddressR' # auth_names auth_names = opts[:debug_auth_names] || ['ApiKey'] = opts.merge( :operation => :"TokensApi.list_unconfirmed_tokens_transfers_by_address", :header_params => header_params, :query_params => query_params, :form_params => form_params, :body => post_body, :auth_names => auth_names, :return_type => return_type ) data, status_code, headers = @api_client.call_api(:GET, local_var_path, ) if @api_client.config.debugging @api_client.config.logger.debug "API called: TokensApi#list_unconfirmed_tokens_transfers_by_address\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}" end return data, status_code, headers end |