[{"data":1,"prerenderedAt":884},["ShallowReactive",2],{"navigation_docs":3,"-guide-metadata":168,"-guide-metadata-surround":879},[4,44],{"title":5,"path":6,"stem":7,"children":8,"icon":43},"Guide","\u002Fguide","1.guide\u002F01.index",[9,11,15,19,23,27,31,35,39],{"title":10,"path":6,"stem":7},"Getting Started",{"title":12,"path":13,"stem":14},"Registry and aliases","\u002Fguide\u002Fregistry","1.guide\u002F02.registry",{"title":16,"path":17,"stem":18},"Address validation","\u002Fguide\u002Fvalidation","1.guide\u002F03.validation",{"title":20,"path":21,"stem":22},"Identify","\u002Fguide\u002Fidentify","1.guide\u002F04.identify",{"title":24,"path":25,"stem":26},"Metadata","\u002Fguide\u002Fmetadata","1.guide\u002F05.metadata",{"title":28,"path":29,"stem":30},"CLI","\u002Fguide\u002Fcli","1.guide\u002F06.cli",{"title":32,"path":33,"stem":34},"Agents","\u002Fguide\u002Fagents","1.guide\u002F07.agents",{"title":36,"path":37,"stem":38},"Custom chains","\u002Fguide\u002Fcustom","1.guide\u002F08.custom",{"title":40,"path":41,"stem":42},"Playground","\u002Fguide\u002Fplayground","1.guide\u002F09.playground","i-lucide-book-open",{"title":45,"path":46,"stem":47,"children":48,"icon":167},"Chains","\u002Fchains","2.chains\u002F00.index",[49,51,55,59,63,67,71,75,79,83,87,91,95,99,103,107,111,115,119,123,127,131,135,139,143,147,151,155,159,163],{"title":50,"path":46,"stem":47},"Overview",{"title":52,"path":53,"stem":54},"Ethereum","\u002Fchains\u002Fethereum","2.chains\u002F01.ethereum",{"title":56,"path":57,"stem":58},"Base","\u002Fchains\u002Fbase","2.chains\u002F02.base",{"title":60,"path":61,"stem":62},"Arbitrum One","\u002Fchains\u002Farbitrum","2.chains\u002F03.arbitrum",{"title":64,"path":65,"stem":66},"Optimism","\u002Fchains\u002Foptimism","2.chains\u002F04.optimism",{"title":68,"path":69,"stem":70},"Polygon PoS","\u002Fchains\u002Fpolygon","2.chains\u002F05.polygon",{"title":72,"path":73,"stem":74},"BNB Chain","\u002Fchains\u002Fbsc","2.chains\u002F06.bsc",{"title":76,"path":77,"stem":78},"Avalanche C-Chain","\u002Fchains\u002Favalanche","2.chains\u002F07.avalanche",{"title":80,"path":81,"stem":82},"Fantom Opera","\u002Fchains\u002Ffantom","2.chains\u002F08.fantom",{"title":84,"path":85,"stem":86},"Gnosis Chain","\u002Fchains\u002Fgnosis","2.chains\u002F09.gnosis",{"title":88,"path":89,"stem":90},"Linea","\u002Fchains\u002Flinea","2.chains\u002F10.linea",{"title":92,"path":93,"stem":94},"zkSync Era","\u002Fchains\u002Fzksync","2.chains\u002F11.zksync",{"title":96,"path":97,"stem":98},"Scroll","\u002Fchains\u002Fscroll","2.chains\u002F12.scroll",{"title":100,"path":101,"stem":102},"Berachain","\u002Fchains\u002Fberachain","2.chains\u002F13.berachain",{"title":104,"path":105,"stem":106},"Bitcoin","\u002Fchains\u002Fbitcoin","2.chains\u002F14.bitcoin",{"title":108,"path":109,"stem":110},"Litecoin","\u002Fchains\u002Flitecoin","2.chains\u002F15.litecoin",{"title":112,"path":113,"stem":114},"Pepecoin","\u002Fchains\u002Fpepecoin","2.chains\u002F16.pepecoin",{"title":116,"path":117,"stem":118},"eCash","\u002Fchains\u002Fecash","2.chains\u002F17.ecash",{"title":120,"path":121,"stem":122},"Cardano","\u002Fchains\u002Fcardano","2.chains\u002F18.cardano",{"title":124,"path":125,"stem":126},"Solana","\u002Fchains\u002Fsolana","2.chains\u002F19.solana",{"title":128,"path":129,"stem":130},"Stellar","\u002Fchains\u002Fstellar","2.chains\u002F20.stellar",{"title":132,"path":133,"stem":134},"XRP Ledger","\u002Fchains\u002Fxrpl","2.chains\u002F21.xrpl",{"title":136,"path":137,"stem":138},"Aptos","\u002Fchains\u002Faptos","2.chains\u002F22.aptos",{"title":140,"path":141,"stem":142},"Sui","\u002Fchains\u002Fsui","2.chains\u002F23.sui",{"title":144,"path":145,"stem":146},"TON (The Open Network)","\u002Fchains\u002Fton","2.chains\u002F24.ton",{"title":148,"path":149,"stem":150},"TRON","\u002Fchains\u002Ftron","2.chains\u002F25.tron",{"title":152,"path":153,"stem":154},"Octra","\u002Fchains\u002Foctra","2.chains\u002F26.octra",{"title":156,"path":157,"stem":158},"Arweave","\u002Fchains\u002Farweave","2.chains\u002F27.arweave",{"title":160,"path":161,"stem":162},"Monero","\u002Fchains\u002Fmonero","2.chains\u002F28.monero",{"title":164,"path":165,"stem":166},"Decred","\u002Fchains\u002Fdecred","2.chains\u002F29.decred","i-lucide-link",{"id":169,"title":24,"body":170,"description":871,"extension":872,"links":873,"meta":874,"navigation":876,"path":25,"seo":877,"stem":26,"__hash__":878},"docs\u002F1.guide\u002F05.metadata.md",{"type":171,"value":172,"toc":866},"minimark",[173,178,347,407,421,429,432,441,510,538,541,829,833,862],[174,175,177],"h2",{"id":176},"the-fields","The fields",[179,180,181,197],"table",{},[182,183,184],"thead",{},[185,186,187,191,194],"tr",{},[188,189,190],"th",{},"Field",[188,192,193],{},"Type",[188,195,196],{},"Description",[198,199,200,217,232,246,261,276,290,305,319,333],"tbody",{},[185,201,202,209,214],{},[203,204,205],"td",{},[206,207,208],"code",{},"key",[203,210,211],{},[206,212,213],{},"ChainKey",[203,215,216],{},"Canonical class key",[185,218,219,224,229],{},[203,220,221],{},[206,222,223],{},"name",[203,225,226],{},[206,227,228],{},"string",[203,230,231],{},"Display name",[185,233,234,239,243],{},[203,235,236],{},[206,237,238],{},"symbol",[203,240,241],{},[206,242,228],{},[203,244,245],{},"Native token symbol",[185,247,248,253,258],{},[203,249,250],{},[206,251,252],{},"decimals",[203,254,255],{},[206,256,257],{},"number?",[203,259,260],{},"Native currency decimal places",[185,262,263,268,273],{},[203,264,265],{},[206,266,267],{},"type",[203,269,270],{},[206,271,272],{},"ChainType",[203,274,275],{},"Blockchain family",[185,277,278,283,287],{},[203,279,280],{},[206,281,282],{},"bip44",[203,284,285],{},[206,286,257],{},[203,288,289],{},"BIP-44 \u002F SLIP-0044 coin type",[185,291,292,297,302],{},[203,293,294],{},[206,295,296],{},"chainId",[203,298,299],{},[206,300,301],{},"string?",[203,303,304],{},"EVM chain ID in hexadecimal",[185,306,307,312,316],{},[203,308,309],{},[206,310,311],{},"caip2",[203,313,314],{},[206,315,301],{},[203,317,318],{},"CAIP-2 identifier",[185,320,321,326,330],{},[203,322,323],{},[206,324,325],{},"explorer",[203,327,328],{},[206,329,228],{},[203,331,332],{},"Block explorer base URL",[185,334,335,340,344],{},[203,336,337],{},[206,338,339],{},"rpcDefault",[203,341,342],{},[206,343,301],{},[203,345,346],{},"Default public RPC endpoint",[348,349,350,352,353,356,357,360,361,363,364,367,368,367,371,367,374,367,377,367,380,367,383,367,386,367,389,367,392,395,396,399,400,356,403,406],"p",{},[206,351,208],{}," is read off the class, ",[206,354,355],{},"chain.key"," and ",[206,358,359],{},"Bitcoin.key"," are the same string. ",[206,362,267],{}," is the family the class belongs to: ",[206,365,366],{},"evm",", ",[206,369,370],{},"utxo",[206,372,373],{},"solana",[206,375,376],{},"stellar",[206,378,379],{},"xrpl",[206,381,382],{},"move",[206,384,385],{},"ton",[206,387,388],{},"tron",[206,390,391],{},"octra",[206,393,394],{},"arweave"," or ",[206,397,398],{},"monero",". ",[206,401,402],{},"EVM",[206,404,405],{},"Move"," set it for their subclasses, every other chain declares it itself.",[348,408,409,410,413,414,416,417,420],{},"Optional fields stay empty when the chain has no registered value. Octra has no BIP-44 coin type and no CAIP-2 namespace, so both are ",[206,411,412],{},"undefined"," rather than invented. eCash and Decred have a coin type but no CAIP-2 identifier. Only EVM chains carry a ",[206,415,296],{},", and only some chains ship a public RPC worth defaulting to. The tools print an absent coin type or CAIP-2 as ",[206,418,419],{},"none",", because a value that simply vanishes reads as \"not shown\" and invites the caller to supply one from memory.",[348,422,423,425,426,428],{},[206,424,296],{}," and the reference in ",[206,427,311],{}," encode the same number twice, so a test checks them against each other. Linea shipped a testnet id against a mainnet CAIP-2 until that test existed.",[174,430,431],{"id":252},"Decimals",[348,433,434,436,437,440],{},[206,435,252],{}," is the exponent in ",[206,438,439],{},"1 whole native unit = 10^decimals base units",". It belongs to the currency, not the address family. eCash is the useful counterexample: XEC has two decimal places despite sharing Bitcoin's UTXO ancestry, and assuming eight for every UTXO chain would get XEC amounts badly wrong. Avalanche here means AVAX on the C-Chain; this metadata doesn't describe its X and P chains.",[442,443,448],"pre",{"className":444,"code":445,"language":446,"meta":447,"style":447},"language-ts shiki shiki-themes github-light github-light poimandres","create(\"bitcoin\").decimals; \u002F\u002F 8\ngetChain(\"xec\").decimals; \u002F\u002F 2\n","ts","",[206,449,450,486],{"__ignoreMap":447},[451,452,455,459,463,467,471,473,476,479,482],"span",{"class":453,"line":454},"line",1,[451,456,458],{"class":457},"sULi6","create",[451,460,462],{"class":461},"sKlNE","(",[451,464,466],{"class":465},"scVjq","\"",[451,468,470],{"class":469},"sQ7BG","bitcoin",[451,472,466],{"class":465},[451,474,475],{"class":461},").",[451,477,252],{"class":478},"spVlQ",[451,480,481],{"class":461},"; ",[451,483,485],{"class":484},"sjhu3","\u002F\u002F 8\n",[451,487,489,492,494,496,499,501,503,505,507],{"class":453,"line":488},2,[451,490,491],{"class":457},"getChain",[451,493,462],{"class":461},[451,495,466],{"class":465},[451,497,498],{"class":469},"xec",[451,500,466],{"class":465},[451,502,475],{"class":461},[451,504,252],{"class":478},[451,506,481],{"class":461},[451,508,509],{"class":484},"\u002F\u002F 2\n",[348,511,512,513,515,516,518,519,522,523,356,526,529,530,533,534,537],{},"This isn't a token's precision or a UI rounding preference, and an RPC may already return amounts in whole units. Every built-in chain declares ",[206,514,252],{},". Custom classes may leave it ",[206,517,412],{},", which means unknown, never a default of 18. ",[206,520,521],{},"0"," is a valid value for an indivisible currency. ",[206,524,525],{},"chains info",[206,527,528],{},"chains_lookup"," print ",[206,531,532],{},"unknown"," when the field is absent, ",[206,535,536],{},"--json"," omits it.",[348,539,540],{},"These references were checked on 2026-09-05. Tests pin the values independently of the classes, and no network request is needed at runtime or during tests.",[179,542,543,556],{},[182,544,545],{},[185,546,547,550,553],{},[188,548,549],{},"Chain",[188,551,431],{"align":552},"right",[188,554,555],{},"Reference",[198,557,558,584,602,618,634,649,664,679,694,708,724,738,753,767,781,796,812],{},[185,559,560,563,566],{},[203,561,562],{},"Ethereum, Base, Arbitrum, Optimism, Polygon, BNB Chain, Avalanche C-Chain, Fantom, Gnosis, Linea, zkSync, Scroll, Berachain",[203,564,565],{"align":552},"18",[203,567,568,367,577,580,581],{},[569,570,574],"a",{"href":571,"rel":572},"https:\u002F\u002Fgithub.com\u002Fethereum-lists\u002Fchains\u002Ftree\u002Fmaster\u002F_data\u002Fchains",[573],"nofollow",[206,575,576],{},"ethereum-lists\u002Fchains",[206,578,579],{},"nativeCurrency.decimals"," in ",[206,582,583],{},"eip155-{1,8453,42161,10,137,56,43114,250,100,59144,324,534352,80094}.json",[185,585,586,588,591],{},[203,587,104],{},[203,589,590],{"align":552},"8",[203,592,593,601],{},[569,594,597,598],{"href":595,"rel":596},"https:\u002F\u002Fgithub.com\u002Fbitcoin\u002Fbitcoin\u002Fblob\u002Fmaster\u002Fsrc\u002Fconsensus\u002Famount.h",[573],"Bitcoin Core ",[206,599,600],{},"COIN",", 100,000,000 satoshis",[185,603,604,606,608],{},[203,605,108],{},[203,607,590],{"align":552},[203,609,610,617],{},[569,611,614,615],{"href":612,"rel":613},"https:\u002F\u002Fgithub.com\u002Flitecoin-project\u002Flitecoin\u002Fblob\u002Fmaster\u002Fsrc\u002Famount.h",[573],"Litecoin ",[206,616,600],{},", 100,000,000",[185,619,620,622,624],{},[203,621,112],{},[203,623,590],{"align":552},[203,625,626,633],{},[569,627,630,631],{"href":628,"rel":629},"https:\u002F\u002Fgithub.com\u002Fpepecoinppc\u002Fpepecoin\u002Fblob\u002Fmaster\u002Fsrc\u002Famount.h",[573],"Pepecoin ",[206,632,600],{},", 100,000,000; native PEP, not an ERC-20 token",[185,635,636,638,641],{},[203,637,116],{},[203,639,640],{"align":552},"2",[203,642,643,648],{},[569,644,647],{"href":645,"rel":646},"https:\u002F\u002Fe.cash\u002Fbuild",[573],"eCash build documentation",", 100 satoshis per XEC",[185,650,651,653,656],{},[203,652,120],{},[203,654,655],{"align":552},"6",[203,657,658,663],{},[569,659,662],{"href":660,"rel":661},"https:\u002F\u002Fdocs.cardano.org\u002Fabout-cardano\u002Fnew-to-cardano\u002Fwhat-is-a-cryptocurrency",[573],"Cardano denominations",", 1,000,000 lovelace per ADA",[185,665,666,668,671],{},[203,667,124],{},[203,669,670],{"align":552},"9",[203,672,673,678],{},[569,674,677],{"href":675,"rel":676},"https:\u002F\u002Fsolana.com\u002Fdocs\u002Fcore\u002Faccounts\u002Faccount-structure",[573],"Solana account structure",", 1,000,000,000 lamports per SOL",[185,680,681,683,686],{},[203,682,128],{},[203,684,685],{"align":552},"7",[203,687,688,693],{},[569,689,692],{"href":690,"rel":691},"https:\u002F\u002Fdevelopers.stellar.org\u002Fdocs\u002Flearn\u002Ffundamentals\u002Fstellar-data-structures\u002Fassets",[573],"Stellar asset precision",", 10,000,000 stroops per XLM",[185,695,696,698,700],{},[203,697,132],{},[203,699,655],{"align":552},[203,701,702,707],{},[569,703,706],{"href":704,"rel":705},"https:\u002F\u002Fxrpl.org\u002Fdocs\u002Freferences\u002Fprotocol\u002Fdata-types\u002Fcurrency-formats",[573],"XRP currency format",", 1,000,000 drops per XRP",[185,709,710,712,714],{},[203,711,136],{},[203,713,590],{"align":552},[203,715,716,367,721],{},[569,717,720],{"href":718,"rel":719},"https:\u002F\u002Fgithub.com\u002Faptos-labs\u002Faptos-core\u002Fblob\u002Fmain\u002Faptos-move\u002Fframework\u002Faptos-framework\u002Fsources\u002Faptos_coin.move",[573],"AptosCoin initialization",[206,722,723],{},"decimals = 8",[185,725,726,728,730],{},[203,727,140],{},[203,729,670],{"align":552},[203,731,732,737],{},[569,733,736],{"href":734,"rel":735},"https:\u002F\u002Fgithub.com\u002FMystenLabs\u002Fsui\u002Fblob\u002Fmain\u002Fcrates\u002Fsui-framework\u002Fpackages\u002Fsui-framework\u002Fsources\u002Fsui.move",[573],"SUI module",", 1,000,000,000 mist per SUI",[185,739,740,743,745],{},[203,741,742],{},"TON",[203,744,670],{"align":552},[203,746,747,752],{},[569,748,751],{"href":749,"rel":750},"https:\u002F\u002Fgithub.com\u002Fton-org\u002Fton-core\u002Fblob\u002Fmaster\u002Fsrc\u002Futils\u002Fconvert.ts",[573],"TON Core conversion",", 1,000,000,000 nano units per TON",[185,754,755,757,759],{},[203,756,148],{},[203,758,655],{"align":552},[203,760,761,766],{},[569,762,765],{"href":763,"rel":764},"https:\u002F\u002Fdevelopers.tron.network\u002Fdocs\u002Ftoken-standards-trx",[573],"TRX denominations",", 1,000,000 sun per TRX",[185,768,769,771,773],{},[203,770,152],{},[203,772,655],{"align":552},[203,774,775,780],{},[569,776,779],{"href":777,"rel":778},"https:\u002F\u002Fdocs.octra.org\u002Foct-docs\u002Foctranomics",[573],"Octranomics",", 1,000,000 operational units per OCT",[185,782,783,785,788],{},[203,784,156],{},[203,786,787],{"align":552},"12",[203,789,790,795],{},[569,791,794],{"href":792,"rel":793},"https:\u002F\u002Fdocs.arweave.org\u002Fdevelopers\u002Fdevelopment\u002Fdebugging",[573],"Arweave debugging guide",", 1,000,000,000,000 Winston per AR",[185,797,798,800,802],{},[203,799,160],{},[203,801,787],{"align":552},[203,803,804,367,809],{},[569,805,808],{"href":806,"rel":807},"https:\u002F\u002Fgithub.com\u002Fmonero-project\u002Fmonero\u002Fblob\u002Fmaster\u002Fsrc\u002Fcryptonote_config.h",[573],"Monero configuration",[206,810,811],{},"CRYPTONOTE_DISPLAY_DECIMAL_POINT = 12",[185,813,814,816,818],{},[203,815,164],{},[203,817,590],{"align":552},[203,819,820,828],{},[569,821,824,825],{"href":822,"rel":823},"https:\u002F\u002Fgithub.com\u002Fdecred\u002Fdcrd\u002Fblob\u002Fmaster\u002Fdcrutil\u002Fconst.go",[573],"Decred ",[206,826,827],{},"AtomsPerCoin",", 100,000,000 atoms",[174,830,832],{"id":831},"coin-types","Coin types",[348,834,835,837,838,841,842,845,846,849,850,853,854,861],{},[206,836,282],{}," is the SLIP-0044 coin type, the number that goes into ",[206,839,840],{},"m\u002F44'\u002Fcoin'\u002F…",". All thirteen EVM chains repeat ",[206,843,844],{},"60",", Ethereum's, which is what wallets actually derive with. Decred is ",[206,847,848],{},"42",", not its legacy ",[206,851,852],{},"20",". Octra has none registered and the field says so instead of borrowing one. Deriving keys from it belongs in ",[569,855,858],{"href":856,"rel":857},"https:\u002F\u002Fgithub.com\u002Fagntn\u002Fkeys",[573],[206,859,860],{},"@agntn\u002Fkeys",", not here.",[863,864,865],"style",{},"html pre.shiki code .sULi6, html code.shiki .sULi6{--shiki-light:#6F42C1;--shiki-default:#6F42C1;--shiki-dark:#E4F0FBD0}html pre.shiki code .sKlNE, html code.shiki .sKlNE{--shiki-light:#24292E;--shiki-default:#24292E;--shiki-dark:#A6ACCD}html pre.shiki code .scVjq, html code.shiki .scVjq{--shiki-light:#032F62;--shiki-default:#032F62;--shiki-dark:#A6ACCD}html pre.shiki code .sQ7BG, html code.shiki .sQ7BG{--shiki-light:#032F62;--shiki-default:#032F62;--shiki-dark:#5DE4C7}html pre.shiki code .spVlQ, html code.shiki .spVlQ{--shiki-light:#24292E;--shiki-default:#24292E;--shiki-dark:#E4F0FB}html pre.shiki code .sjhu3, html code.shiki .sjhu3{--shiki-light:#6A737D;--shiki-light-font-style:inherit;--shiki-default:#6A737D;--shiki-default-font-style:inherit;--shiki-dark:#767C9DB0;--shiki-dark-font-style:italic}html .light .shiki span {color: var(--shiki-light);background: var(--shiki-light-bg);font-style: var(--shiki-light-font-style);font-weight: var(--shiki-light-font-weight);text-decoration: var(--shiki-light-text-decoration);}html.light .shiki span {color: var(--shiki-light);background: var(--shiki-light-bg);font-style: var(--shiki-light-font-style);font-weight: var(--shiki-light-font-weight);text-decoration: var(--shiki-light-text-decoration);}html .default .shiki span {color: var(--shiki-default);background: var(--shiki-default-bg);font-style: var(--shiki-default-font-style);font-weight: var(--shiki-default-font-weight);text-decoration: var(--shiki-default-text-decoration);}html .shiki span {color: var(--shiki-default);background: var(--shiki-default-bg);font-style: var(--shiki-default-font-style);font-weight: var(--shiki-default-font-weight);text-decoration: var(--shiki-default-text-decoration);}html .dark .shiki span {color: var(--shiki-dark);background: var(--shiki-dark-bg);font-style: var(--shiki-dark-font-style);font-weight: var(--shiki-dark-font-weight);text-decoration: var(--shiki-dark-text-decoration);}html.dark .shiki span {color: var(--shiki-dark);background: var(--shiki-dark-bg);font-style: var(--shiki-dark-font-style);font-weight: var(--shiki-dark-font-weight);text-decoration: var(--shiki-dark-text-decoration);}",{"title":447,"searchDepth":488,"depth":488,"links":867},[868,869,870],{"id":176,"depth":488,"text":177},{"id":252,"depth":488,"text":431},{"id":831,"depth":488,"text":832},"Every field on a chain class. Which ones may be missing and why. Where each decimals value was checked.","md",null,{"icon":875},"i-lucide-sigma",true,{"title":24,"description":871},"vmnAZMjvI23Fn185NGzIykQ65BF1d6Lvb49hqVjnvnI",[880,882],{"title":20,"path":21,"stem":22,"description":881,"children":-1},"One address of unknown origin through every registered validator. Which chains accept the format and which couldn't be asked. What a match doesn't mean.",{"title":28,"path":29,"stem":30,"description":883,"children":-1},"The chains command. Six subcommands and what each prints. Which ones exit 1.",1789393742245]