Function soroban_spec_json::generate_from_wasm
source · pub fn generate_from_wasm(wasm: &[u8]) -> Result<String, FromWasmError>
Expand description
Errors
Will return an error if the wasm cannot be parsed.
pub fn generate_from_wasm(wasm: &[u8]) -> Result<String, FromWasmError>
Will return an error if the wasm cannot be parsed.