From 93df22777af865b61f9a0a909b43dd39536c3c99 Mon Sep 17 00:00:00 2001 From: Leszek Stachowski Date: Thu, 26 Sep 2024 13:39:10 +0200 Subject: [PATCH] Change base API URL --- apps/web/utils/balance.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/apps/web/utils/balance.ts b/apps/web/utils/balance.ts index 5e9b132b5..6f251cc93 100644 --- a/apps/web/utils/balance.ts +++ b/apps/web/utils/balance.ts @@ -1,9 +1,9 @@ -import { Network, FaucetAddress } from 'types' +import { FaucetAddress, Network } from 'types' const MINIMUM_BALANCE = BigInt('5100000000000000000') // IN WEI function getApiPath(network: Network) { const faucetAddress = FaucetAddress[network] - const root = `https://explorer.celo.org/${network}/api` + const root = `https://celo-${network}.blockscout.com/api` const apiPath = `${root}?module=account&action=balance&address=${faucetAddress}` return apiPath }