1"use strict";(self.webpackChunkdocs=self.webpackChunkdocs||[]).push([[3830],{882395:(e,n,s)=>{s.r(n),s.d(n,{assets:()=>d,contentTitle:()=>l,default:()=>h,frontMatter:()=>c,metadata:()=>a,toc:()=>t});var r=s(785893),i=s(511151);const c={},l="Interface: ChainInfo",a={id:"api/sdk/namespaces/helpers/interfaces/ChainInfo",title:"Interface: ChainInfo",description:"Chain information used to determine defaults for the set of supported chains.",source:"@site/docs/api/sdk/namespaces/helpers/interfaces/ChainInfo.md",sourceDirName:"api/sdk/namespaces/helpers/interfaces",slug:"/api/sdk/namespaces/helpers/interfaces/ChainInfo",permalink:"/api/sdk/namespaces/helpers/interfaces/ChainInfo",draft:!1,unlisted:!1,editUrl:"https://github.com/tablelandnetwork/docs/tree/main/docs/api/sdk/namespaces/helpers/interfaces/ChainInfo.md",tags:[],version:"current",lastUpdatedBy:"Dan Buchholz",lastUpdatedAt:1715186607e3,frontMatter:{},sidebar:"apiSdk",previous:{title:"Interface: AutoWaitConfig",permalink:"/api/sdk/namespaces/helpers/interfaces/AutoWaitConfig"},next:{title:"Interface: Eip1193Provider",permalink:"/api/sdk/namespaces/helpers/interfaces/Eip1193Provider"}},d={},t=[{value:"Indexable",id:"indexable",level:2},{value:"Properties",id:"properties",level:2},{value:"baseUrl",id:"baseurl",level:3},{value:"Source",id:"source",level:4},{value:"chainId",id:"chainid",level:3},{value:"Source",id:"source-1",level:4},{value:"chainName",id:"chainname",level:3},{value:"Source",id:"source-2",level:4},{value:"contractAddress",id:"contractaddress",level:3},{value:"Source",id:"source-3",level:4},{value:"pollingInterval",id:"pollinginterval",level:3},{value:"Source",id:"source-4",level:4},{value:"pollingTimeout",id:"pollingtimeout",level:3},{value:"Source",id:"source-5",level:4}];function o(e){const n={a:"a",blockquote:"blockquote",code:"code",h1:"h1",h2:"h2",h3:"h3",h4:"h4",hr:"hr",p:"p",strong:"strong",...(0,i.a)(),...e.components};return(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)(n.h1,{id:"interface-chaininfo",children:"Interface: ChainInfo"}),"\n",(0,r.jsx)(n.p,{children:"Chain information used to determine defaults for the set of supported chains."}),"\n",(0,r.jsx)(n.h2,{id:"indexable",children:"Indexable"}),"\n",(0,r.jsxs)(n.p,{children:["[",(0,r.jsx)(n.code,{children:"key"}),": ",(0,r.jsx)(n.code,{children:"string"}),"]: ",(0,r.jsx)(n.a,{href:"/api/sdk/namespaces/helpers/interfaces/ChainInfo",children:(0,r.jsx)(n.code,{children:"ChainInfo"})}),"[keyof ",(0,r.jsx)(n.a,{href:"/api/sdk/namespaces/helpers/interfaces/ChainInfo",children:(0,r.jsx)(n.code,{children:"ChainInfo"})}),"]"]}),"\n",(0,r.jsx)(n.h2,{id:"properties",children:"Properties"}),"\n",(0,r.jsx)(n.h3,{id:"baseurl",children:"baseUrl"}),"\n",(0,r.jsxs)(n.blockquote,{children:["\n",(0,r.jsxs)(n.p,{children:[(0,r.jsx)(n.strong,{children:"baseUrl"}),": ",(0,r.jsx)(n.code,{children:"string"})]}),"\n"]}),"\n",(0,r.jsx)(n.p,{children:"The validator base URL for the chain."}),"\n",(0,r.jsx)(n.h4,{id:"source",children:"Source"}),"\n",(0,r.jsx)(n.p,{children:"@tableland/sdk/src/helpers/chains.ts:28"}),"\n",(0,r.jsx)(n.hr,{}),"\n",(0,r.jsx)(n.h3,{id:"chainid",children:"chainId"}),"\n",(0,r.jsxs)(n.blockquote,{children:["\n",(0,r.jsxs)(n.p,{children:[(0,r.jsx)(n.strong,{children:"chainId"}),": ",(0,r.jsx)(n.code,{children:"number"})]}),"\n"]}),"\n",(0,r.jsx)(n.p,{children:"The chain ID."}),"\n",(0,r.jsx)(n.h4,{id:"source-1",children:"Source"}),"\n",(0,r.jsx)(n.p,{children:"@tableland/sdk/src/helpers/chains.ts:26"}),"\n",(0,r.jsx)(n.hr,{}),"\n",(0,r.jsx)(n.h3,{id:"chainname",children:"chainName"}),"\n",(0,r.jsxs)(n.blockquote,{children:["\n",(0,r.jsxs)(n.p,{children:[(0,r.jsx)(n.strong,{children:"chainName"}),": keyof ",(0,r.jsx)(n.code,{children:"TablelandNetworkConfig"})]}),"\n"]}),"\n",(0,r.jsxs)(n.p,{children:["The name of the chain as defined in ",(0,r.jsx)(n.a,{href:"/api/sdk/namespaces/helpers/type-aliases/ChainName",children:"ChainName"}),"."]}),"\n",(0,r.jsx)(n.h4,{id:"source-2",children:"Source"}),"\n",(0,r.jsx)(n.p,{children:"@tableland/sdk/src/helpers/chains.ts:25"}),"\n",(0,r.jsx)(n.hr,{}),"\n",(0,r.jsx)(n.h3,{id:"contractaddress",children:"contractAddress"}),"\n",(0,r.jsxs)(n.blockquote,{children:["\n",(0,r.jsxs)(n.p,{children:[(0,r.jsx)(n.strong,{children:"contractAddress"}),": ",(0,r.jsx)(n.code,{children:"string"})]}),"\n"]}),"\n",(0,r.jsx)(n.p,{children:"The registry contract address for the chain."}),"\n",(0,r.jsx)(n.h4,{id:"source-3",children:"Source"}),"\n",(0,r.jsx)(n.p,{children:"@tableland/sdk/src/helpers/chains.ts:27"}),"\n",(0,r.jsx)(n.hr,{}),"\n",(0,r.jsx)(n.h3,{id:"pollinginterval",children:"pollingInterval"}),"\n",(0,r.jsxs)(n.blockquote,{children:["\n",(0,r.jsxs)(n.p,{children:[(0,r.jsx)(n.strong,{children:"pollingInterval"}),": ",(0,r.jsx)(n.code,{children:"number"})]}),"\n"]}),"\n",(0,r.jsx)(n.p,{children:"The validator polling interval for the chain."}),"\n",(0,r.jsx)(n.h4,{id:"source-4",children:"Source"}),"\n",(0,r.jsx)(n.p,{children:"@tableland/sdk/src/helpers/chains.ts:30"}),"\n",(0,r.jsx)(n.hr,{}),"\n",(0,r.jsx)(n.h3,{id:"pollingtimeout",children:"pollingTimeout"}),"\n",(0,r.jsxs)(n.blockquote,{children:["\n",(0,r.jsxs)(n.p,{children:[(0,r.jsx)(n.strong,{children:"pollingTimeout"}),": ",(0,r.jsx)(n.code,{children:"number"})]}),"\n"]}),"\n",(0,r.jsx)(n.p,{children:"The validator polling timeout for the chain."}),"\n",(0,r.jsx)(n.h4,{id:"source-5",children:"Source"}),"\n",(0,r.jsx)(n.p,{children:"@tableland/sdk/src/helpers/chains.ts:29"})]})}function h(e={}){const{wrapper:n}={...(0,i.a)(),...e.components};return n?(0,r.jsx)(n,{...e,children:(0,r.jsx)(o,{...e})}):o(e)}},511151:(e,n,s)=>{s.d(n,{Z:()=>a,a:()=>l});var r=s(667294);const i={},c=r.createContext(i);function l(e){const n=r.useContext(c);return r.useMemo((function(){return"function"==typeof e?e(n):{...n,...e}}),[n,e])}function a(e){let n;return n=e.disableParentContext?"function"==typeof e.components?e.components(i):e.components||i:l(e.components),r.createElement(c.Provider,{value:n},e.children)}}}]);
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.