Skip to content

Commit f6743fa

Browse files
committed
fix: update abstract url and provide api key
1 parent 44b05fe commit f6743fa

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

apps/tx-builder/src/lib/getAbi.ts

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -428,11 +428,13 @@ const getScanAPIBaseURL = (chain: string): undefined | { link: string; apiKey?:
428428
}
429429
case SUPPORTED_CHAINS.ABSTRACT:
430430
return {
431-
link: 'https://block-explorer-api.mainnet.abs.xyz'
431+
link: 'https://api.abscan.org',
432+
apiKey: process.env.REACT_APP_ABSTRACT_KEY
432433
}
433434
case SUPPORTED_CHAINS.ABSTRACT_TESTNET:
434435
return {
435-
link: 'https://block-explorer-api.testnet.abs.xyz'
436+
link: 'https://api-testnet.abscan.org',
437+
apiKey: process.env.REACT_APP_ABSTRACT_KEY
436438
}
437439
default:
438440
return

0 commit comments

Comments
 (0)