We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent fb13f5d commit 1e3f54eCopy full SHA for 1e3f54e
src/adaptors/nolus-protocol/index.js
@@ -50,7 +50,9 @@ const queryContract = async function (contract, data) {
50
}
51
let encodedData = Buffer.from(data).toString('base64');
52
let endpoint = `${api}/cosmwasm/wasm/v1/contract/${contract}/smart/${encodedData}`
53
- return await await utils.getData(endpoint)
+ const response = await fetch(endpoint)
54
+ const out = await response.json()
55
+ return out
56
57
58
const getApy = async () => {
0 commit comments