MCPcopy Create free account
hub / github.com/ProvableHQ/sdk / address

Method address

wasm/src/programs/program.rs:458–460  ·  view source on GitHub ↗
(&self)

Source from the content-addressed store, hash-verified

456 /// @returns {Address} The address of the program
457 #[wasm_bindgen]
458 pub fn address(&self) -> Result<Address, String> {
459 Ok(Address::from(self.0.id().to_address().map_err(|e| e.to_string())?))
460 }
461
462 /// Determine equality with another program
463 ///

Callers

nothing calls this directly

Calls 3

to_addressMethod · 0.45
idMethod · 0.45
to_stringMethod · 0.45

Tested by

no test coverage detected