Query Message
An explainer of the query file inside of the CosmWasm code framework
#[entry_point]
pub fn query(deps: Deps, _env: Env, msg: QueryMsg) -> StdResult<Binary> {
match msg {
QueryMsg::GetCount {} => to_binary(&query_count(deps)?),
}
}Last updated
Was this helpful?