PageSourceSearch

https://goldsky.com/_next/static/chunks/pages/products/subgraphs-db47a78af2c26697.js

js goldsky.com collected 2026-10-02 02:56:36 UTC 14,765 bytes, 1 lines download raw bytes

1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[5488],{5725:(e,s,a)=>{"use strict";a.r(s),a.d(s,{__N_SSG:()=>L,default:()=>O});var r=a(37876),t=a(54587),i=a.n(t),l=a(77837),n=a(73079),o=a(51689),c=a(14232),d=a(80535),h=a(7913),u=a(4350),x=a(82917),p=a(66458),g=a(8353),m=a(53912),f=a(71233),b=a(6355);function y(e){let{children:s,title:a,cta:t,href:i,icon:l}=e;return(0,r.jsxs)("div",{className:"flex flex-col gap-4 w-full",children:[(0,r.jsxs)("div",{className:"flex items-center gap-2",children:[(0,r.jsx)("div",{className:"text-gs-subgraphs",children:l}),(0,r.jsx)(o.EY,{className:"leading-tight",size:"body-lg",weight:"medium",tracking:"tight",children:a})]}),(0,r.jsx)(o.EY,{className:"leading-normal text-[16px] sm:text-gs-body-m text-balance",color:"secondary",children:s}),t&&i&&(0,r.jsx)("a",{href:i,target:"_blank",rel:"noopener",children:(0,r.jsx)(o.EY,{color:"subgraphs",size:"body-md",weight:"medium",children:t})})]})}var j=a(94352),w=a(21463),k=a(1868),v=a(81189),N=a(21782),E=a(76635),_=a(80407),G=a(99331);let S={src:"/_next/static/media/plusplus-card.89524bb4.svg",height:258,width:560,blurWidth:0,blurHeight:0},Y={src:"/_next/static/media/api.f31d579b.svg",height:258,width:560,blurWidth:0,blurHeight:0};var I=a(96895),z=a(76686),A=a(67752),q=a(29677),T=a(14903);let B=[{question:"What are Goldsky Subgraphs?",answer:(0,r.jsx)(o.EY,{children:"Goldsky Subgraphs let you build custom GraphQL APIs from blockchain data. Define your schema, deploy a subgraph, and start querying onchain data in minutes. They're fully compatible with The Graph, so you can migrate existing subgraphs with a single command."}),answerText:"Goldsky Subgraphs let you build custom GraphQL APIs from blockchain data. Define your schema, deploy a subgraph, and start querying onchain data in minutes. They're fully compatible with The Graph, so you can migrate existing subgraphs with a single command."},{question:"How fast are Goldsky Subgraphs compared to alternatives?",answer:(0,r.jsx)(o.EY,{children:"Goldsky Subgraphs surface data before block explorers with sub-second indexing latency. We run multiple independent node pools and cross-check results for data you can trust, without the wait."}),answerText:"Goldsky Subgraphs surface data before block explorers with sub-second indexing latency. We run multiple independent node pools and cross-check results for data you can trust, without the wait."},{question:"Can I migrate my subgraph from The Graph to Goldsky?",answer:(0,r.jsxs)(o.EY,{children:["Yes. Migration takes a single CLI command. Your existing subgraph manifest and schema work as-is on Goldsky with zero code changes required. See the"," ",(0,r.jsx)(A.N,{href:"https://docs.goldsky.com/subgraphs/migrate-from-the-graph",external:!0,hideExternalIcon:!0,rel:"noopener",colored:!0,children:"migration guide"})," ","to get started."]}),answerText:"Yes. Migration takes a single CLI command. Your existing subgraph manifest and schema work as-is on Goldsky with zero code changes required. See the migration guide at https://docs.goldsky.com/subgraphs/migrate-from-the-graph to get started."},{question:"How does Goldsky handle chain reorgs?",answer:(0,r.jsx)(o.EY,{children:"Goldsky automatically detects and resolves chain reorganizations behind the scenes. Your API always returns consistent data without any manual intervention or custom reorg-handling logic on your end."}),answerText:"Goldsky automatically detects and resolves chain reorganizations behind the scenes. Your API always returns consistent data without any manual intervention or custom reorg-handling logic on your end."},{question:"Which blockchains do Subgraphs support?",answer:(0,r.jsxs)(o.EY,{children:["Goldsky Subgraphs support a wide range of EVM and non-EVM chains including Ethereum, Base, Polygon, Arbitrum, Optimism, and many more. Check our"," ",(0,r.jsx)(A.N,{href:w.D.internal.chains.chains,hideExternalIcon:!0,rel:"noopener",colored:!0,children:"supported chains"})," ","page for the full list."]}),answerText:"Goldsky Subgraphs support a wide range of EVM and non-EVM chains including Ethereum, Base, Polygon, Arbitrum, Optimism, and many more. Check our supported chains page for the full list."}
1,{question:"Do I need to run my own infrastructure?",answer:(0,r.jsx)(o.EY,{children:"No. Goldsky is a fully managed service. We handle node operations, indexing infrastructure, and scaling so you can focus on your product instead of DevOps."}),answerText:"No. Goldsky is a fully managed service. We handle node operations, indexing infrastructure, and scaling so you can focus on your product instead of DevOps."},{question:"Is there a free tier for Subgraphs?",answer:(0,r.jsxs)(o.EY,{children:["Yes. You get a free $100 in credit to try out Goldsky across all products, including subgraphs, then choose a plan. No credit card required. See our"," ",(0,r.jsx)(A.N,{href:w.D.internal.pricing,rel:"noopener",colored:!0,children:"pricing page"})," ","for details."]}),answerText:"Yes. You get a free $100 in credit to try out Goldsky across all products, including subgraphs, then choose a plan. No credit card required. See our pricing page for details."},{question:"How do I get started with Subgraphs?",answer:(0,r.jsxs)(o.EY,{children:[(0,r.jsx)(q.Z,{external:!0,hideExternalIcon:!0,rel:"noopener",colored:!0,children:"Sign up for a free Goldsky account"}),", install the CLI, and deploy your first subgraph. Our"," ",(0,r.jsx)(A.N,{href:"".concat(w.D.external.docs,"/subgraphs/"),external:!0,hideExternalIcon:!0,colored:!0,rel:"noopener",children:"documentation"})," ","walks you through every step, or reach out to"," ",(0,r.jsx)(A.N,{href:w.D.external.supportEmail,external:!0,hideExternalIcon:!0,rel:"noopener",colored:!0,children:T._I})," ","for help."]}),answerText:"Sign up for a free Goldsky account, install the CLI, and deploy your first subgraph. Our documentation walks you through every step, or reach out to ".concat(T._I," for help.")}],D="Build and query GraphQL APIs from blockchain data faster than block explorers",C=(0,c.memo)(function(){let e=(0,k._Q)(w.D.dashboard.subgraphs);return(0,r.jsxs)(n.Y,{fullWidth:!0,title:"Subgraphs",description:D,hideDescription:!0,children:[(0,r.jsx)(l.m,{id:"hero",children:(0,r.jsxs)("div",{className:"my-20 md:my-32 flex flex-col items-center gap-10",children:[(0,r.jsxs)("div",{className:"flex flex-col items-center gap-6",children:[(0,r.jsxs)("div",{className:"flex flex-col gap-2",children:[(0,r.jsx)(E.a,{alignment:"center",hideBorder:!0,color:"text-gs-subgraphs",children:"Subgraphs"}),(0,r.jsx)(o.EY,{className:"text-center leading-tight -tracking-[0.02em] text-balance",element:"h1",size:"heading-2xl",weight:"medium",font:"soehne",children:D})]}),(0,r.jsx)(o.EY,{className:"max-w-lg text-center text-balance",color:"quaternary",size:"body-lg",children:"Subgraphs power your app or backend with live crypto data through a zero-maintenance custom endpoint."})]}),(0,r.jsxs)("div",{className:"flex items-center gap-4",children:[(0,r.jsx)(N.$n,{variant:"black",url:e,"data-ph-capture-attribute-cta":"dashboard","data-ph-capture-attribute-location":"hero",children:"Start indexing"}),(0,r.jsx)(G.x,{location:"hero",className:"flex items-center justify-center gap-1 bg-gs-white h-10 rounded-[12px] relative shadow-[inset_0px_-1.5px_0px_#BFBFBF,inset_0px_1px_0px_#E6E6E6,inset_-1px_0px_0px_#EBEBEB,inset_1px_0px_0px_#EBEBEB] transition-all duration-200 hover:bg-[#F2F2F2] active:shadow-[inset_0px_2px_1px_rgba(0,0,0,0.16),inset_0px_-1px_0px_#E0E0E0,inset_0px_1px_0px_#E6E6E6,inset_-1px_0px_0px_#D6D6D6,inset_1px_0px_0px_#D6D6D6] active:top-[1px] px-4 py-3",children:(0,r.jsx)(o.EY,{className:"text-[16px] text-gs-black leading-[1.5] whitespace-pre inline-flex items-center gap-1",weight:"normal",children:"Get in touch"})})]})]})}),(0,r.jsx)(v.G,{}),(0,r.jsx)(l.m,{className:"flex flex-col py-[72px] sm:py-20",children:(0,r.jsxs)("div",{className:"w-full items-start justify-center flex flex-col lg:flex-row gap-12 lg:gap-5",children:[(0,r.jsx)(y,{title:"Early bird edge",icon:(0,r.jsx)(d.A,{size:24}),children:"Ultra-responsive subgraphs that surface data before block explorers do."}),(0,r.jsx)(y,{title:"Triple-checked by design",icon:(0,r.jsx)(h.A,{size:24}),children:"Continuously sourced from multiple node pools and cross-checked for c
1onsistency."}),(0,r.jsx)(y,{title:"Curveballs welcome",icon:(0,r.jsx)(u.A,{size:24}),children:"Automatically resolve chain reorgs, including factory and cross-chain contracts."})]})}),(0,r.jsx)(_.k,{noScrollScale:!0,scale:1}),(0,r.jsxs)("div",{"data-theme":"dark","data-header-theme":"dark",className:"relative bg-gs-surface-back text-gs-text-primary overflow-hidden",children:[(0,r.jsx)(I.f,{opacity:.2}),(0,r.jsxs)(l.m,{className:"relative z-1 flex flex-col gap-8 py-[72px] sm:py-36",children:[(0,r.jsxs)("div",{className:"flex flex-col items-center max-w-[520px] mx-auto gap-6 mb-12",children:[(0,r.jsxs)("div",{className:"flex flex-col items-center gap-4",children:[(0,r.jsx)(E.a,{alignment:"center",color:"text-gs-white/70",children:"Features"}),(0,r.jsx)(o.EY,{className:"text-center leading-tight",style:{background:"linear-gradient(180deg, rgb(var(--color-text-primary)) 50%, #999 122.22%)",backgroundClip:"text",WebkitBackgroundClip:"text",WebkitTextFillColor:"transparent"},size:"heading-2xl",weight:"medium",children:"Subgraphs, plus plus"})]}),(0,r.jsx)(o.EY,{className:"max-w-lg text-center leading-tight",size:"body-lg",color:"secondary",children:"Launch a subgraph on a highly-available global network, for exceptional reliability and latency."})]}),(0,r.jsx)("div",{className:"flex flex-col gap-5",children:(0,r.jsxs)("div",{className:"grid grid-cols-1 md:grid-cols-2 gap-5",children:[(0,r.jsxs)("div",{className:"flex flex-col rounded-lg border border-gs-stroke-tertiary bg-[#ffffff05]",children:[(0,r.jsxs)("div",{className:"flex flex-col gap-4 p-6",children:[(0,r.jsxs)("div",{className:"flex items-center gap-2",children:[(0,r.jsx)(x.A,{className:"text-gs-subgraphs",size:24}),(0,r.jsx)(o.EY,{weight:"medium",size:"body-lg",children:"Familiar, but faster"})]}),(0,r.jsx)(o.EY,{color:"quaternary",size:"body-md",className:"text-balance",children:"The GraphQL you already know, on infrastructure you wish you had. Same queries. Better speed, reliability, and scale."})]}),(0,r.jsx)("div",{className:"relative w-full h-full min-h-[200px] overflow-hidden",children:(0,r.jsx)(i(),{src:S,alt:"Subgraphs icons",fill:!0,className:"object-cover",style:{maskImage:"linear-gradient(to bottom, transparent 0%, black 40%)",WebkitMaskImage:"linear-gradient(to bottom, transparent 0%, black 40%)"}})})]}),(0,r.jsxs)("div",{className:"flex flex-col rounded-lg border border-gs-stroke-tertiary bg-[#ffffff05]",children:[(0,r.jsxs)("div",{className:"flex flex-col gap-4 p-6",children:[(0,r.jsxs)("div",{className:"flex items-center gap-2",children:[(0,r.jsx)(p.A,{className:"text-gs-subgraphs",size:24}),(0,r.jsx)(o.EY,{weight:"medium",size:"body-lg",children:"Build your own API"})]}),(0,r.jsx)(o.EY,{color:"quaternary",size:"body-md",className:"text-balance",children:"Novel, brilliant experiences color outside the lines. Scale beyond subgraphs."})]}),(0,r.jsx)("div",{className:"relative w-full h-full min-h-[200px] pt-4",children:(0,r.jsx)(i(),{src:Y,alt:"Subgraphs API",fill:!0,className:"object-cover object-top",style:{maskImage:"radial-gradient(ellipse 120% 120% at center top, black 40%, transparent 85%)",WebkitMaskImage:"radial-gradient(ellipse 120% 120% at center top, black 40%, transparent 85%)"}})})]})]})}),(0,r.jsx)(l.m,{className:"grid grid-cols-[repeat(auto-fit,minmax(220px,1fr))] gap-5 py-6",children:(0,r.jsxs)("div",{className:"flex flex-col sm:flex-row justify-center gap-x-5 gap-y-8",children:[(0,r.jsx)(y,{title:"Code optional",icon:(0,r.jsx)(g.A,{size:24}),children:"Smart APIs generate subgraphs directly from your contract ABI, so you don't have to."}),(0,r.jsx)(y,{title:"Webhooks",icon:(0,r.jsx)(m.A,{size:24}),children:"Real-time webhooks for every change. Build bots, trigger alerts, or sync to a database."})," ",(0,r.jsx)(y,{title:"Versioning and tagging",icon:(0,r.jsx)(f.A,{size:24}),children:"Deploy, tag, and test multiple versions in parallel. Swap over when you're ready."})]})}),(0,r.jsxs)("div",{className:"flex flex-col gap-8 p-8 rounded-lg border border-gs-stroke-tertiary bg-[#ffffff05]",children:[(0,r.jsxs)("div",{className:"flex flex-col gap-4",children:[(0,r.jsxs)("div",{className:"flex items-center gap-2",children:[(0,r.jsx)(b.A,{className:"text-gs-subgraphs",size:24}),(0,r.jsx)(o.EY,{weight:"medium",size:"body-lg",children:"One-line migration"})]}),(0,r.jsx)(o.EY,{color:"quaternary",size:"body-md",className:"text-balance",children:"Copy your subgraph from TheGraph with a single CLI command. Fully compatible with the same API and queries."})]}),(0,r.jsxs)("div",{className:"rounded-lg mt-4 mx-0 md:mx-8 overflow-hidden border border-gs-stroke-tertiary bg-[#ffffff05]",children:[(0,r.jsxs)("div",{className:"relative flex items-center justify-between px-4 py-4 bg-[#ffffff05] border-b border-gs-stroke-tertiary",children:[(0,r.jsxs)("div",{className:"flex gap-1.5",children:[(0,r.jsx)("div",{className:"w-2.5 h-2.5 rounded-full bg-[#ff5f56]"}),(0,r.jsx)("div",{className:"w-2.5 h-2.5 rounded-full bg-[#ffbd2e]"}),(0,r.jsx)("div",{className:"w-2.5 h-2.5 rounded-full bg-[#27c93f]"})]}),(0,r.jsx)(o.EY,{size:"body-sm",font:"mono",className:"text-gs-text-tertiary absolute left-1/2 -translate-x-1/2",children:"app.goldsky.com"}),(0,r.jsx)("div",{className:"w-[42px]"})]}),(0,r.jsx)("div",{className:"flex flex-col font-mono text-[13px] p-4 leading-relaxed",children:(0,r.jsx)("div",{className:"flex items-start gap-2",children:(0,r.jsx)("span",{className:"text-gs-text-primary",children:"> goldsky subgraph deploy my-subgraph/1.0.0 --from-ipfs-hash 0x7B502C3A1F48C8609AE212CDFB639DEE39673F5E"})})})]})]})]})]}),(0,r.jsx)(_.X,{}),(0,r.jsx)(l.m,{className:"py-16 sm:py-24 flex justify-center",children:(0,r.jsx)(z.T,{title:"Frequently Asked Questions",items:B})}),(0,r.jsx)(v.G,{className:"text-gs-stroke-tertiary"}),(0,r.jsx)(l.m,{className:"my-[140px]",children:(0,r.jsx)(j.w,{timetitle:(0,r.jsx)(r.Fragment,{children:"Deploy your first subgraph by"}),primaryButton:{text:"Start indexing",href:e}})})]})});var F=a(28449),P=a(38592),W=a(49958),L=!0;function O(){let e=(0,P.Sb)(W.e8),s=(0,P.FG)([{name:"Home",url:T.TG},{name:"Products",url:"".concat(T.TG,"/products")},{name:"Subgraphs"}]);return(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)(F.a,{schema:e}),(0,r.jsx)(F.a,{schema:s}),(0,r.jsx)(C,{})]})}},85448:(e,s,a)=>{(window.__NEXT_P=window.__NEXT_P||[]).push(["/products/subgraphs",function(){return a(5725)}])}},e=>
1{e.O(0,[1944,311,6716,3498,4804,9497,636,6593,8792],()=>e(e.s=85448)),_N_E=e.O()}]);

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.