Class: TezosClient::RpcInterface

Inherits:
Object
  • Object
show all
Includes:
Logger, Blocks, Context, Contracts, Helper, Monitor, RequestManager
Defined in:
lib/tezos_client/rpc_interface.rb,
lib/tezos_client/rpc_interface/blocks.rb,
lib/tezos_client/rpc_interface/helper.rb,
lib/tezos_client/rpc_interface/context.rb,
lib/tezos_client/rpc_interface/monitor.rb,
lib/tezos_client/rpc_interface/contracts.rb,
lib/tezos_client/rpc_interface/request_manager.rb

Defined Under Namespace

Modules: Blocks, Context, Contracts, Helper, Monitor, RequestManager

Instance Method Summary collapse

Methods included from Blocks

#block, #block_header, #block_operation_hashes, #block_operations, #blocks

Methods included from RequestManager

#get, #monitor, #post

Methods included from Helper

#broadcast_operation, #forge_operation, #operation, #origination_operation, #preapply_operation, #run_operation, #transaction_operation

Methods included from Context

#chain_id, #constants, #head_hash, #protocol, #protocols

Methods included from Contracts

#balance, #contract_counter, #contract_link, #contract_manager_key

Methods included from Monitor

#bootstrapped, #monitor_block

Methods included from Logger

#log

Constructor Details

#initialize(host: "127.0.0.1", port: "8732") ⇒ RpcInterface

Returns a new instance of RpcInterface.



23
24
25
26
# File 'lib/tezos_client/rpc_interface.rb', line 23

def initialize(host: "127.0.0.1", port: "8732")
  @host = host
  @port = port
end