diff --git a/src/libs/client.ts b/src/libs/client.ts index f0188dad..2a823c7d 100644 --- a/src/libs/client.ts +++ b/src/libs/client.ts @@ -56,7 +56,7 @@ export class CosmosRestClient extends BaseRestClient { req = findApiProfileByChain(chain.chainName) // if not found. try sdk version if(!req && chain.versions?.cosmosSdk) { - req = findApiProfileBySDKVersion(chain.versions?.cosmosSdk) + req = findApiProfileBySDKVersion(localStorage.getItem(`sdk_version_${chain.chainName}`) || chain.versions?.cosmosSdk) } } return new CosmosRestClient(endpoint, req || DEFAULT)