Skip to content

Commit

Permalink
Change base API URL
Browse files Browse the repository at this point in the history
  • Loading branch information
shazarre committed Sep 26, 2024
1 parent 67889d0 commit 93df227
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions apps/web/utils/balance.ts
Original file line number Diff line number Diff line change
@@ -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
}
Expand Down

0 comments on commit 93df227

Please sign in to comment.