pub async fn set_query_cache(key: &str, val: Value) -> Result<(), Errors>
Expand description

Using to cache value for query request. The end-user will return data from miner node directly if using this for a query. The expired time is 10 minutes.