CosmWasm oracle query
A CosmWasm contract that queries the x/oracle module
The following repo contains a CosmWasm smart contract that queries exchange rates (i.e. prices) from the main chain. It passes a serialized gRPC query request to the main chain and deserializes the response.
https://github.com/k-yang/nibiru-wasm-plus/tree/main/contracts/oracle-query
Last updated
Was this helpful?