Class: TezosClient::RpcInterface
- Inherits:
-
Object
- Object
- TezosClient::RpcInterface
- 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
-
#initialize(host: "127.0.0.1", port: "8732") ⇒ RpcInterface
constructor
A new instance of RpcInterface.
Methods included from Blocks
#block, #block_header, #block_operation_hashes, #block_operations, #blocks
Methods included from RequestManager
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
Methods included from Logger
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 |