Skip to main content

get_package_response

Function get_package_response 

Source
pub fn get_package_response(package: &MovePackage) -> Result<GetPackageResponse>
Expand description

Build a GetPackage response from an already-loaded package. Shared with other implementors of MovePackageService (e.g. sui-kv-rpc) that load packages from a different backend.