Class: TezosClient::RpcInterface
- Inherits:
-
Object
- Object
- TezosClient::RpcInterface
- Includes:
- Crypto, 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 Crypto
Crypto::PREFIXES, Crypto::WATERMARK
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 Crypto
#check_signature, #check_signature!, #checksum, #decode_account_wallet, #decode_base58, #decode_tz, #edsk2_to_edsk, #encode_base58, #encode_script_expr, #encode_tz, #generate_key, #generate_mnemonic, #get_prefix_and_payload, #hex_prefix, #operation_id, #public_key_to_address, #secret_key_to_public_key, #sign_bytes, #sign_operation, #signing_key
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, #pack_data, #pending_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, #big_map_value, #contract_big_maps, #contract_counter, #contract_detail, #contract_link, #contract_manager_key, #contract_storage, #contract_storage_type, #entrypoint, #entrypoints
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 |