diff --git a/src/resolvers/snapshot.ts b/src/resolvers/snapshot.ts index 0b89215..27d0fb6 100644 --- a/src/resolvers/snapshot.ts +++ b/src/resolvers/snapshot.ts @@ -7,11 +7,18 @@ import { isStarknetAddress } from '../addressResolvers/utils'; const API_URLS = { s: `${process.env.HUB_URL ?? 'https://hub.snapshot.org'}/graphql`, 's-tn': `${process.env.HUB_URL_TN ?? 'https://testnet.hub.snapshot.org'}/graphql`, - eth: 'https://api.studio.thegraph.com/query/23545/sx/version/latest', - sep: 'https://api.studio.thegraph.com/query/23545/sx-sepolia/version/latest', - matic: 'https://api.studio.thegraph.com/query/23545/sx-polygon/version/latest', - arb1: 'https://api.studio.thegraph.com/query/23545/sx-arbitrum/version/latest', - oeth: 'https://api.studio.thegraph.com/query/23545/sx-optimism/version/latest', + eth: + 'https://subgrapher.snapshot.org/subgraph/arbitrum/GerdwbJnTbEz45K7S3D2MLET6VFiY8VqwrqWZg52x2vx', + sep: + 'https://subgrapher.snapshot.org/subgraph/arbitrum/3682UpSJVQ89v6BMSzxDSiQWZKa3Hbn6RKucpT8jZ5nT', + matic: + 'https://subgrapher.snapshot.org/subgraph/arbitrum/5DzKWssJUVKA1imXGyExrycUjdz7t5t7gzTsE9GQhBUn', + arb1: + 'https://subgrapher.snapshot.org/subgraph/arbitrum/4QovVxoK3TBLwZKPD1YPHHko5Zz87HvdjpEDBvitCWcH', + oeth: + 'https://subgrapher.snapshot.org/subgraph/arbitrum/4zXNNp5B34DUNACzonVsHivNJRUHnFBqhvBPYJVaNyks', + base: + 'https://subgrapher.snapshot.org/subgraph/arbitrum/BmcnmDYyCcN7NmQuWXyx3p1xLEiq3sYmvFct8uvBQfum', sn: 'https://api.snapshot.box', 'sn-sep': 'https://testnet-api.snapshot.box' }; diff --git a/src/resolvers/space-sx.ts b/src/resolvers/space-sx.ts index 55c0e3a..2b0d2b4 100644 --- a/src/resolvers/space-sx.ts +++ b/src/resolvers/space-sx.ts @@ -5,12 +5,12 @@ import { fetchHttpImage } from './utils'; import { isStarknetAddress } from '../addressResolvers/utils'; const SUBGRAPH_URLS = [ - 'https://api.studio.thegraph.com/query/23545/sx/version/latest', - 'https://api.studio.thegraph.com/query/23545/sx-sepolia/version/latest', - 'https://api.studio.thegraph.com/query/23545/sx-polygon/version/latest', - 'https://api.studio.thegraph.com/query/23545/sx-arbitrum/version/latest', - 'https://api.studio.thegraph.com/query/23545/sx-optimism/version/latest', - 'https://api.studio.thegraph.com/query/23545/sx-base/version/latest', + 'https://subgrapher.snapshot.org/subgraph/arbitrum/GerdwbJnTbEz45K7S3D2MLET6VFiY8VqwrqWZg52x2vx', + 'https://subgrapher.snapshot.org/subgraph/arbitrum/3682UpSJVQ89v6BMSzxDSiQWZKa3Hbn6RKucpT8jZ5nT', + 'https://subgrapher.snapshot.org/subgraph/arbitrum/5DzKWssJUVKA1imXGyExrycUjdz7t5t7gzTsE9GQhBUn', + 'https://subgrapher.snapshot.org/subgraph/arbitrum/4QovVxoK3TBLwZKPD1YPHHko5Zz87HvdjpEDBvitCWcH', + 'https://subgrapher.snapshot.org/subgraph/arbitrum/4zXNNp5B34DUNACzonVsHivNJRUHnFBqhvBPYJVaNyks', + 'https://subgrapher.snapshot.org/subgraph/arbitrum/BmcnmDYyCcN7NmQuWXyx3p1xLEiq3sYmvFct8uvBQfum', 'https://api.snapshot.box', 'https://testnet-api.snapshot.box' ];