Skip to content

Commit

Permalink
fix: getcontractcreation support on neox etherscan api (#1715)
Browse files Browse the repository at this point in the history
* fix: getcontractcreation support on neox etherscan api

* add changeset

* Apply suggestions from code review

---------

Co-authored-by: Saihajpreet Singh <[email protected]>
  • Loading branch information
shiyasmohd and saihaj authored Aug 12, 2024
1 parent 87a24b9 commit 4cfef44
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 2 deletions.
5 changes: 5 additions & 0 deletions .changeset/kind-seals-occur.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@graphprotocol/graph-cli": patch
---

fix: getcontractcreation support on neox etherscan api
4 changes: 2 additions & 2 deletions packages/cli/src/command-helpers/abi.ts
Original file line number Diff line number Diff line change
Expand Up @@ -313,9 +313,9 @@ const getEtherscanLikeAPIUrl = (network: string) => {
case 'iotex-testnet':
return 'https://testnet.index.iotexscan.io/api';
case 'neox':
return 'https://xexplorer.neo.org/api';
return 'https://xexplorer.neo.org/api/ngd/api';
case 'neox-testnet':
return 'https://xt4scan.ngd.network/api';
return 'https://xt4scan.ngd.network/api/ngd/api';
case 'arbitrum-nova':
return 'https://api-nova.arbiscan.io/api';
default:
Expand Down

0 comments on commit 4cfef44

Please sign in to comment.