MCPcopy Create free account
hub / github.com/dfinity/orbit / canister_agent

Method canister_agent

tools/dfx-orbit/src/lib.rs:109–114  ·  view source on GitHub ↗
(&self, canister_id: Principal)

Source from the content-addressed store, hash-verified

107 }
108
109 pub fn canister_agent(&self, canister_id: Principal) -> anyhow::Result<Canister> {
110 Ok(CanisterBuilder::new()
111 .with_agent(self.interface.agent())
112 .with_canister_id(canister_id)
113 .build()?)
114 }
115
116 pub fn print_create_request_info(&self, response: &CreateRequestResponse) {
117 let request_id = &response.request.id;

Callers 2

into_requestMethod · 0.80
asset_agentMethod · 0.80

Calls 1

buildMethod · 0.45

Tested by

no test coverage detected