Class: TezosClient::RpcInterface
- Inherits:
-
Object
- Object
- TezosClient::RpcInterface
- Includes:
- Logger, Blocks, Context, Contracts, Helper, Monitor, Operations, 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/operations.rb,
lib/tezos_client/rpc_interface/request_manager.rb
Defined Under Namespace
Modules: Blocks, Context, Contracts, Helper, Monitor, Operations, RequestManager
Constant Summary
Constants included from Logger
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 Operations
#broadcast_operation, #forge_operations, #preapply_operations, #run_operations
Methods included from Helper
#activate_account_operation, #counter, #forge_operation, #origination_operation, #preapply_operation, #reveal_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, #contract_storage
Methods included from Monitor
Methods included from Logger
#log, #tezos_contents_log, #tezos_contents_log_filter
Constructor Details
#initialize(host: "127.0.0.1", port: "8732") ⇒ RpcInterface
Returns a new instance of RpcInterface.
25 26 27 28 |
# File 'lib/tezos_client/rpc_interface.rb', line 25 def initialize(host: "127.0.0.1", port: "8732") @host = host @port = port end |