Class: Beowulf::CondenserApi

Inherits:
Api
  • Object
show all
Defined in:
lib/beowulf/condenser_api.rb

Constant Summary collapse

METHOD_NAMES =
[
  # :broadcast_block,
  :broadcast_transaction,
  :broadcast_transaction_synchronous,
  :get_account_count,
  :get_accounts,
  :get_balance,
  :get_active_supernodes,
  :get_block,
  :get_block_header,
  :get_config,
  :get_dynamic_global_properties,
  :get_hardfork_version,
  :get_key_references,
  :get_next_scheduled_hardfork,
  :get_owner_history,
  :get_potential_signatures,
  :get_required_signatures,
  :get_transaction,
  :get_transaction_hex,
  :get_transaction_with_status,
  :get_version,
  :get_supernode_by_account,
  :get_supernode_count,
  :get_supernode_schedule,
  :get_supernodes,
  :get_supernodes_by_vote,
  :lookup_account_names,
  :lookup_accounts,
  :lookup_supernode_accounts,
  :list_smt_tokens,
  :verify_authority,
  :find_smt_tokens_by_name,
  :get_supernode_voted_by_acc,
  :get_pending_transaction_count
].freeze

Constants inherited from Api

Api::DEFAULT_BEOWULF_FAILOVER_URLS, Api::DEFAULT_BEOWULF_URL, Api::DEFAULT_RESTFUL_URL, Api::HEALTH_URI, Api::POST_HEADERS

Instance Method Summary collapse

Methods inherited from Api

default_failover_urls, default_restful_url, default_url, #get_blocks, #initialize, #inspect, #method_missing, #respond_to_missing?, #shutdown, #stopped?, #use_condenser_namespace?

Methods included from Utils

#debug, #error, #extract_signatures, #hexlify, #pakArr, #pakC, #pakHash, #pakI, #pakL!, #pakPubKey, #pakQ, #pakS, #pakStr, #pakc, #pakq, #paks, #send_log, #unhexlify, #varint, #warning

Constructor Details

This class inherits a constructor from Beowulf::Api

Dynamic Method Handling

This class handles dynamic methods through the method_missing method in the class Beowulf::Api

Instance Method Details

#api_nameObject



44
45
46
# File 'lib/beowulf/condenser_api.rb', line 44

def api_name
  :condenser_api
end

#method_namesObject



40
41
42
# File 'lib/beowulf/condenser_api.rb', line 40

def method_names
  METHOD_NAMES
end