@pancakeswap/chains
Version:
The single source of truth for Pancakeswap chain-related information
104 lines • 7.21 kB
TypeScript
type SubgraphParams = {
noderealApiKey?: string;
theGraphApiKey?: string;
};
export declare const V3_SUBGRAPHS: {
readonly 1: `https://gateway-arbitrum.network.thegraph.com/api/${string}/subgraphs/id/CJYGNhb7RvnhfBDjqpRnD3oxgyhibzc7fkAMa38YV3oS`;
readonly 5: "https://api.thegraph.com/subgraphs/name/pancakeswap/exchange-v3-goerli";
readonly 56: `https://gateway-arbitrum.network.thegraph.com/api/${string}/subgraphs/id/Hv1GncLY5docZoGtXjo4kwbTvxm3MAhVZqBZE4sUT9eZ`;
readonly 97: `https://gateway-arbitrum.network.thegraph.com/api/${string}/subgraphs/id/7xd5KmL3FbzRYbmAM9SSe4wdrsJV71pJQhCBqzU7y8Qi`;
readonly 42161: `https://gateway-arbitrum.network.thegraph.com/api/${string}/subgraphs/id/251MHFNN1rwjErXD2efWMpNS73SANZN8Ua192zw6iXve`;
readonly 421613: "https://api.thegraph.com/subgraphs/name/chef-jojo/exhange-v3-arb-goerli";
readonly 1101: `https://gateway-arbitrum.network.thegraph.com/api/${string}/subgraphs/id/7HroSeAFxfJtYqpbgcfAnNSgkzzcZXZi6c75qLPheKzQ`;
readonly 1442: null;
readonly 324: `https://gateway-arbitrum.network.thegraph.com/api/${string}/subgraphs/id/3dKr3tYxTuwiRLkU9vPj3MvZeUmeuGgWURbFC72ZBpYY`;
readonly 280: "https://api.studio.thegraph.com/query/45376/exchange-v3-zksync-testnet/version/latest";
readonly 59144: `https://gateway-arbitrum.network.thegraph.com/api/${string}/subgraphs/id/6gCTVX98K3A9Hf9zjvgEKwjz7rtD4C1V173RYEdbeMFX`;
readonly 59140: "https://thegraph.goerli.zkevm.consensys.net/subgraphs/name/pancakeswap/exchange-v3-linea-goerli";
readonly 8453: `https://gateway-arbitrum.network.thegraph.com/api/${string}/subgraphs/id/5YYKGBcRkJs6tmDfB3RpHdbK2R5KBACHQebXVgbUcYQp`;
readonly 84531: "https://api.studio.thegraph.com/query/45376/exchange-v3-base-testnet/version/latest";
readonly 204: `https://open-platform-ap.nodereal.io/${string}/opbnb-mainnet-graph-query/subgraphs/name/pancakeswap/exchange-v3`;
readonly 5611: null;
readonly 534351: "https://api.studio.thegraph.com/query/45376/exchange-v3-scroll-sepolia/version/latest";
readonly 11155111: null;
readonly 421614: null;
readonly 84532: null;
readonly 10143: null;
};
export declare const V2_SUBGRAPHS: {
56: string;
1: string;
1101: string;
280: string;
324: string;
59140: string;
42161: string;
59144: string;
8453: string;
204: string;
};
export declare const BLOCKS_SUBGRAPHS: {
readonly 56: "https://api.thegraph.com/subgraphs/name/pancakeswap/blocks";
readonly 1: "https://api.thegraph.com/subgraphs/name/blocklytics/ethereum-blocks";
readonly 1101: "https://api.studio.thegraph.com/query/45376/polygon-zkevm-block/version/latest";
readonly 324: "https://api.studio.thegraph.com/query/45376/blocks-zksync/version/latest";
readonly 42161: "https://api.thegraph.com/subgraphs/name/ianlapham/arbitrum-one-blocks";
readonly 59144: "https://api.studio.thegraph.com/query/45376/blocks-linea/version/latest";
readonly 8453: "https://api.studio.thegraph.com/query/48211/base-blocks/version/latest";
readonly 204: `https://open-platform-ap.nodereal.io/${string}/opbnb-mainnet-graph-query/subgraphs/name/pancakeswap/blocks`;
};
export declare const STABLESWAP_SUBGRAPHS: {
readonly 56: `https://gateway-arbitrum.network.thegraph.com/api/${string}/subgraphs/id/C5EuiZwWkCge7edveeMcvDmdr7jjc1zG4vgn8uucLdfz`;
readonly 42161: `https://gateway-arbitrum.network.thegraph.com/api/${string}/subgraphs/id/y7G5NUSq5ngsLH2jBGQajjxuLgW1bcqWiBqKmBk3MWM`;
};
export declare function getStableSwapSubgraphs({ theGraphApiKey }?: Pick<SubgraphParams, 'theGraphApiKey'>): {
readonly 56: `https://gateway-arbitrum.network.thegraph.com/api/${string}/subgraphs/id/C5EuiZwWkCge7edveeMcvDmdr7jjc1zG4vgn8uucLdfz`;
readonly 42161: `https://gateway-arbitrum.network.thegraph.com/api/${string}/subgraphs/id/y7G5NUSq5ngsLH2jBGQajjxuLgW1bcqWiBqKmBk3MWM`;
};
export declare function getV3Subgraphs({ noderealApiKey, theGraphApiKey }: SubgraphParams): {
readonly 1: `https://gateway-arbitrum.network.thegraph.com/api/${string}/subgraphs/id/CJYGNhb7RvnhfBDjqpRnD3oxgyhibzc7fkAMa38YV3oS`;
readonly 5: "https://api.thegraph.com/subgraphs/name/pancakeswap/exchange-v3-goerli";
readonly 56: `https://gateway-arbitrum.network.thegraph.com/api/${string}/subgraphs/id/Hv1GncLY5docZoGtXjo4kwbTvxm3MAhVZqBZE4sUT9eZ`;
readonly 97: `https://gateway-arbitrum.network.thegraph.com/api/${string}/subgraphs/id/7xd5KmL3FbzRYbmAM9SSe4wdrsJV71pJQhCBqzU7y8Qi`;
readonly 42161: `https://gateway-arbitrum.network.thegraph.com/api/${string}/subgraphs/id/251MHFNN1rwjErXD2efWMpNS73SANZN8Ua192zw6iXve`;
readonly 421613: "https://api.thegraph.com/subgraphs/name/chef-jojo/exhange-v3-arb-goerli";
readonly 1101: `https://gateway-arbitrum.network.thegraph.com/api/${string}/subgraphs/id/7HroSeAFxfJtYqpbgcfAnNSgkzzcZXZi6c75qLPheKzQ`;
readonly 1442: null;
readonly 324: `https://gateway-arbitrum.network.thegraph.com/api/${string}/subgraphs/id/3dKr3tYxTuwiRLkU9vPj3MvZeUmeuGgWURbFC72ZBpYY`;
readonly 280: "https://api.studio.thegraph.com/query/45376/exchange-v3-zksync-testnet/version/latest";
readonly 59144: `https://gateway-arbitrum.network.thegraph.com/api/${string}/subgraphs/id/6gCTVX98K3A9Hf9zjvgEKwjz7rtD4C1V173RYEdbeMFX`;
readonly 59140: "https://thegraph.goerli.zkevm.consensys.net/subgraphs/name/pancakeswap/exchange-v3-linea-goerli";
readonly 8453: `https://gateway-arbitrum.network.thegraph.com/api/${string}/subgraphs/id/5YYKGBcRkJs6tmDfB3RpHdbK2R5KBACHQebXVgbUcYQp`;
readonly 84531: "https://api.studio.thegraph.com/query/45376/exchange-v3-base-testnet/version/latest";
readonly 204: `https://open-platform-ap.nodereal.io/${string}/opbnb-mainnet-graph-query/subgraphs/name/pancakeswap/exchange-v3`;
readonly 5611: null;
readonly 534351: "https://api.studio.thegraph.com/query/45376/exchange-v3-scroll-sepolia/version/latest";
readonly 11155111: null;
readonly 421614: null;
readonly 84532: null;
readonly 10143: null;
};
export declare function getV2Subgraphs({ noderealApiKey, theGraphApiKey }: SubgraphParams): {
56: string;
1: string;
1101: string;
280: string;
324: string;
59140: string;
42161: string;
59144: string;
8453: string;
204: string;
};
export declare function getBlocksSubgraphs({ noderealApiKey }: SubgraphParams): {
readonly 56: "https://api.thegraph.com/subgraphs/name/pancakeswap/blocks";
readonly 1: "https://api.thegraph.com/subgraphs/name/blocklytics/ethereum-blocks";
readonly 1101: "https://api.studio.thegraph.com/query/45376/polygon-zkevm-block/version/latest";
readonly 324: "https://api.studio.thegraph.com/query/45376/blocks-zksync/version/latest";
readonly 42161: "https://api.thegraph.com/subgraphs/name/ianlapham/arbitrum-one-blocks";
readonly 59144: "https://api.studio.thegraph.com/query/45376/blocks-linea/version/latest";
readonly 8453: "https://api.studio.thegraph.com/query/48211/base-blocks/version/latest";
readonly 204: `https://open-platform-ap.nodereal.io/${string}/opbnb-mainnet-graph-query/subgraphs/name/pancakeswap/blocks`;
};
export {};
//# sourceMappingURL=subgraphs.d.ts.map