Skip to content

Commit 4cfef44

Browse files
shiyasmohdsaihaj
andauthored
fix: getcontractcreation support on neox etherscan api (#1715)
* fix: getcontractcreation support on neox etherscan api * add changeset * Apply suggestions from code review --------- Co-authored-by: Saihajpreet Singh <[email protected]>
1 parent 87a24b9 commit 4cfef44

File tree

2 files changed

+7
-2
lines changed

2 files changed

+7
-2
lines changed

.changeset/kind-seals-occur.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
"@graphprotocol/graph-cli": patch
3+
---
4+
5+
fix: getcontractcreation support on neox etherscan api

packages/cli/src/command-helpers/abi.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -313,9 +313,9 @@ const getEtherscanLikeAPIUrl = (network: string) => {
313313
case 'iotex-testnet':
314314
return 'https://testnet.index.iotexscan.io/api';
315315
case 'neox':
316-
return 'https://xexplorer.neo.org/api';
316+
return 'https://xexplorer.neo.org/api/ngd/api';
317317
case 'neox-testnet':
318-
return 'https://xt4scan.ngd.network/api';
318+
return 'https://xt4scan.ngd.network/api/ngd/api';
319319
case 'arbitrum-nova':
320320
return 'https://api-nova.arbiscan.io/api';
321321
default:

0 commit comments

Comments
 (0)