Skip to content

Commit

Permalink
docs: fraxtal api url (#3633)
Browse files Browse the repository at this point in the history
  • Loading branch information
pegahcarter authored Mar 3, 2024
1 parent 0a86640 commit a1d3d1a
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 0 deletions.
5 changes: 5 additions & 0 deletions .changeset/sharp-fans-refuse.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@wagmi/cli": patch
---

Added Fraxtal to Etherscan plugin
4 changes: 4 additions & 0 deletions packages/cli/src/plugins/etherscan.ts
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,9 @@ const apiUrls = {
// Celo
[42220]: 'https://api.celoscan.io/api',
[44787]: 'https://api-alfajores.celoscan.io/api',
// Fraxtal
[252]: 'https://api.fraxscan.com/api',
[2522]: 'https://api-holesky.fraxscan.com/api',
}
type ChainId = keyof typeof apiUrls

Expand All @@ -51,6 +54,7 @@ export type EtherscanConfig<chainId extends number> = {
* - [__Heco Chain__](https://hecoinfo.com/myapikey)
* - [__Optimism__](https://optimistic.etherscan.io/myapikey)
* - [__Polygon__](https://polygonscan.com/myapikey)
* - [__Fraxtal__](https://fraxscan.com/myapikey)
*/
apiKey: string
/**
Expand Down

0 comments on commit a1d3d1a

Please sign in to comment.