Sha256: 781d188a7e683314819050a10fa4819c0184c7c618e8a807e01571f907431c61

Contents?: true

Size: 975 Bytes

Versions: 2

Compression:

Stored size: 975 Bytes

Contents

# frozen_string_literal: true

module Harmony
  module Api
    module V1
      class Client < ::Harmony::Api::Client
        def initialize(network: :mainnet, shard: 0, configuration: ::Harmony::Api.configuration, options: {})
          self.api_version = 1
          super
        end

        include ::Harmony::Api::V1::Blockchain::Protocol
        include ::Harmony::Api::V1::Blockchain::Block
        include ::Harmony::Api::V1::Accounts::Account
        include ::Harmony::Api::V1::Misc::Utility
        include ::Harmony::Api::V1::Transactions::Transaction
        include ::Harmony::Api::V1::Transactions::Error
        include ::Harmony::Api::V1::Staking::Validator
        include ::Harmony::Api::V1::Staking::Delegator
        include ::Harmony::Api::V1::Staking::Transaction
        include ::Harmony::Api::V1::Staking::Utility
        include ::Harmony::Api::V1::Staking::Error
        include ::Harmony::Api::V1::Contracts::Contract
      end
    end
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
harmony-api-0.1.4 lib/harmony/api/v1/client.rb
harmony-api-0.1.3 lib/harmony/api/v1/client.rb