[{"data":1,"prerenderedAt":335},["ShallowReactive",2],{"navigation_docs":3,"-providers-chains":142,"-providers-chains-surround":330},[4,56],{"title":5,"path":6,"stem":7,"children":8,"icon":55},"Guide","\u002Fguide","1.guide\u002F01.index",[9,11,15,19,23,27,31,35,39,43,47,51],{"title":10,"path":6,"stem":7},"Getting Started",{"title":12,"path":13,"stem":14},"CLI","\u002Fguide\u002Fcli","1.guide\u002F02.cli",{"title":16,"path":17,"stem":18},"Provider selection","\u002Fguide\u002Fselection","1.guide\u002F03.selection",{"title":20,"path":21,"stem":22},"Balances","\u002Fguide\u002Fbalances","1.guide\u002F04.balances",{"title":24,"path":25,"stem":26},"Transactions","\u002Fguide\u002Ftransactions","1.guide\u002F05.transactions",{"title":28,"path":29,"stem":30},"Tokens","\u002Fguide\u002Ftokens","1.guide\u002F06.tokens",{"title":32,"path":33,"stem":34},"Contracts","\u002Fguide\u002Fcontracts","1.guide\u002F07.contracts",{"title":36,"path":37,"stem":38},"Gas and blocks","\u002Fguide\u002Fgas-and-blocks","1.guide\u002F08.gas-and-blocks",{"title":40,"path":41,"stem":42},"Errors","\u002Fguide\u002Ferrors","1.guide\u002F09.errors",{"title":44,"path":45,"stem":46},"Agents","\u002Fguide\u002Fagents","1.guide\u002F10.agents",{"title":48,"path":49,"stem":50},"Custom providers","\u002Fguide\u002Fcustom","1.guide\u002F11.custom",{"title":52,"path":53,"stem":54},"Explorer","\u002Fguide\u002Fexplorer","1.guide\u002F12.explorer","i-lucide-book-open",{"title":57,"icon":58,"path":59,"stem":60,"children":61},"Providers","i-lucide-library","\u002Fproviders","2.providers",[62,65,70,74,78,82,86,90,94,98,102,106,110,114,118,122,126,130,134,138],{"title":63,"path":59,"stem":64},"Overview","2.providers\u002F0.index",{"title":66,"path":67,"stem":68,"lead":69},"Chains","\u002Fproviders\u002Fchains","2.providers\u002F0.chains","Matrix",{"title":71,"path":72,"stem":73},"Etherscan","\u002Fproviders\u002Fetherscan","2.providers\u002F01.etherscan",{"title":75,"path":76,"stem":77},"Blockscout","\u002Fproviders\u002Fblockscout","2.providers\u002F02.blockscout",{"title":79,"path":80,"stem":81},"Blockchair","\u002Fproviders\u002Fblockchair","2.providers\u002F03.blockchair",{"title":83,"path":84,"stem":85},"Mempool","\u002Fproviders\u002Fmempool","2.providers\u002F04.mempool",{"title":87,"path":88,"stem":89},"Blockstream","\u002Fproviders\u002Fblockstream","2.providers\u002F05.blockstream",{"title":91,"path":92,"stem":93},"Solscan","\u002Fproviders\u002Fsolscan","2.providers\u002F06.solscan",{"title":95,"path":96,"stem":97},"Helius","\u002Fproviders\u002Fhelius","2.providers\u002F07.helius",{"title":99,"path":100,"stem":101},"TONAPI","\u002Fproviders\u002Fton","2.providers\u002F08.ton",{"title":103,"path":104,"stem":105},"TRONSCAN","\u002Fproviders\u002Ftronscan","2.providers\u002F09.tronscan",{"title":107,"path":108,"stem":109},"Aptos Explorer","\u002Fproviders\u002Faptos","2.providers\u002F10.aptos",{"title":111,"path":112,"stem":113},"Blockberry","\u002Fproviders\u002Fblockberry","2.providers\u002F11.blockberry",{"title":115,"path":116,"stem":117},"Koios","\u002Fproviders\u002Fkoios","2.providers\u002F12.koios",{"title":119,"path":120,"stem":121},"Arweave gateway","\u002Fproviders\u002Farweave","2.providers\u002F13.arweave",{"title":123,"path":124,"stem":125},"dcrdata","\u002Fproviders\u002Fdcrdata","2.providers\u002F14.dcrdata",{"title":127,"path":128,"stem":129},"Horizon","\u002Fproviders\u002Fhorizon","2.providers\u002F15.horizon",{"title":131,"path":132,"stem":133},"WhatsOnChain","\u002Fproviders\u002Fwhatsonchain","2.providers\u002F16.whatsonchain",{"title":135,"path":136,"stem":137},"Blockbook","\u002Fproviders\u002Fblockbook","2.providers\u002F17.blockbook",{"title":139,"path":140,"stem":141},"Haskoin","\u002Fproviders\u002Fhaskoin","2.providers\u002F18.haskoin",{"id":143,"title":66,"body":144,"description":322,"extension":323,"links":324,"meta":325,"navigation":327,"path":67,"seo":328,"stem":68,"__hash__":329},"docs\u002F2.providers\u002F0.chains.md",{"type":145,"value":146,"toc":316},"minimark",[147,177,180,185,256,260],[148,149,150,151,155,156,159,160,163,164,167,168,171,172,176],"p",{},"A chain is a key from ",[152,153,154],"code",{},"@agntn\u002Fchains",", so ",[152,157,158],{},"normalizeChain(\"btc\")",", ",[152,161,162],{},"normalizeChain(\"mainnet\")"," and ",[152,165,166],{},"normalizeChain(\"Arbitrum One\")"," all land on the same canonical name, and a typo throws instead of quietly reading another network. Below, every chain at least one provider claims, straight from ",[152,169,170],{},"builtins",". A lit operation means some provider serves it on that chain; the ",[173,174,175],"a",{"href":59},"provider pages"," say which one and with what key.",[178,179],"chain-matrix",{},[181,182,184],"h2",{"id":183},"reading-the-table","Reading the table",[186,187,188,196,202,216,222],"ul",{},[189,190,191,195],"li",{},[192,193,194],"strong",{},"Two providers on one chain"," means a fallback exists. Ethereum and Bitcoin have three each, and a rate limit, no answer or a 5xx on the first moves the read to the next one, once.",[189,197,198,201],{},[192,199,200],{},"One provider"," means an outage on that explorer is your outage. Solana has two only if you count Helius, which has no balance endpoint.",[189,203,204,207,208,211,212,215],{},[192,205,206],{},"A row with nothing lit"," is Aptos. The provider is registered, its capabilities are all false and the required methods throw ",[152,209,210],{},"UnsupportedOperationError",". That's deliberate and the ",[173,213,214],{"href":108},"Aptos page"," says why.",[189,217,218,221],{},[192,219,220],{},"Unspent outputs"," come from Mempool and Blockstream on the Bitcoin family from WhatsOnChain on Bitcoin SV, from Blockbook on Bitcoin Gold and from Haskoin on Bitcoin Cash, and nowhere else. Decred is a UTXO chain too, but dcrdata doesn't serve them yet, so its cell stays dark.",[189,223,224,227,228,231,232,235,236,239,240,243,244,247,248,251,252,255],{},[192,225,226],{},"Decimals differ."," ",[152,229,230],{},"balance"," is a string in the smallest unit; ",[152,233,234],{},"formatWei(value, decimals)"," needs ",[152,237,238],{},"8"," for BTC, BSV, BTG, ZEC and DCR, ",[152,241,242],{},"9"," for SOL, ",[152,245,246],{},"12"," for AR, ",[152,249,250],{},"6"," for ADA, ",[152,253,254],{},"7"," for XLM and the token's own value for everything else. Nothing on this site rounds a raw amount.",[181,257,259],{"id":258},"aliases-that-work","Aliases that work",[148,261,262,265,266,159,269,159,272,159,275,159,278,159,281,159,284,159,287,159,290,159,293,159,296,159,299,159,302,159,305,159,308,311,312,315],{},[152,263,264],{},"normalizeChain()"," takes the display name, the key and the aliases people actually type: ",[152,267,268],{},"eth",[152,270,271],{},"mainnet",[152,273,274],{},"arb",[152,276,277],{},"op",[152,279,280],{},"matic",[152,282,283],{},"btc",[152,285,286],{},"bsv",[152,288,289],{},"btg",[152,291,292],{},"zec",[152,294,295],{},"ltc",[152,297,298],{},"sol",[152,300,301],{},"apt",[152,303,304],{},"dcr",[152,306,307],{},"xlm",[152,309,310],{},"coinbase"," for Base. Missing input defaults to ",[152,313,314],{},"ethereum",". The empty string throws.",{"title":317,"searchDepth":318,"depth":318,"links":319},"",2,[320,321],{"id":183,"depth":318,"text":184},{"id":258,"depth":318,"text":259},"The 29 chains the built-in providers serve. Which provider answers for each and which operations any of them cover. Read from the registry and not typed in.","md",null,{"icon":326},"i-lucide-layers",{"lead":69},{"title":66,"description":322},"vZlxbqyboQeukAnmobuPJk_xJGZJlyK5wsHow7VG9kM",[331,333],{"title":63,"path":59,"stem":64,"description":332,"children":-1},"Eighteen provider classes behind one contract. Pick one to see its auth and its endpoints and what it maps. And the traps.",{"title":71,"path":72,"stem":73,"description":334,"children":-1},"The v2 API with one key for ten EVM chains and every operation. Five requests a second on the free tier. First choice whenever ETHERSCAN_API_KEY is set.",1790520046171]