diff --git a/src/index.ts b/src/index.ts index 22399b4..8df05a2 100644 --- a/src/index.ts +++ b/src/index.ts @@ -40,7 +40,9 @@ async function handleQuery(aq: ActiveQuery) { return; } - const { chain, query, rpcInterface = undefined } = aq.callerInput; + let { chain, query, rpcInterface = undefined } = aq.callerInput; + + chain = chain.toUpperCase(); let lava: LavaSDK;