Function sc_rpc_api::check_if_safe
source · pub fn check_if_safe(ext: &Extensions) -> Result<(), UnsafeRpcError>
Expand description
Checks if the RPC call is safe to be called externally.
pub fn check_if_safe(ext: &Extensions) -> Result<(), UnsafeRpcError>
Checks if the RPC call is safe to be called externally.