pub fn attach_endpoints<State, T>(
rpc_module: &mut RpcModule<RpcHandlerCtx<T>>,
endpoints: Vec<ApiEndpoint<State>>,
module_instance_id: Option<ModuleInstanceId>,
)
pub fn attach_endpoints<State, T>(
rpc_module: &mut RpcModule<RpcHandlerCtx<T>>,
endpoints: Vec<ApiEndpoint<State>>,
module_instance_id: Option<ModuleInstanceId>,
)