Closed arlicle closed 2 years ago
Please ask CosmWasm programming questions in the main CosmWasm discord: https://discord.gg/Hzpfq9rD
If you're trying to query in an execute or query method with access to Deps, would look something like so:
let resp: NumTokensResponse = deps.querier.query_wasm_smart(
&cw721_contract_address,
&Cw721QueryMsg::NumTokens {},
)?;
I want query cw721-base contract on other contract, It's need a arg querier, How can I make a querier?