MCPcopy Create free account
hub / github.com/base/base / engine_api

Method engine_api

crates/execution/runner/src/test_utils/node.rs:166–168  ·  view source on GitHub ↗

Build an Engine API client that talks to the node's IPC endpoint.

(&self)

Source from the content-addressed store, hash-verified

164
165 /// Build an Engine API client that talks to the node's IPC endpoint.
166 pub fn engine_api(&self) -> Result<EngineApi<crate::test_utils::engine::IpcEngine>> {
167 EngineApi::<crate::test_utils::engine::IpcEngine>::new(self.engine_ipc_path.clone())
168 }
169
170 /// Clone the underlying blockchain provider so callers can inspect chain state.
171 pub fn blockchain_provider(&self) -> LocalNodeProvider {

Callers 2

buildMethod · 0.45
with_optionsMethod · 0.45

Calls 1

cloneMethod · 0.45

Tested by 1

with_optionsMethod · 0.36