[{"data":1,"prerenderedAt":1697},["ShallowReactive",2],{"navigation_docs":3,"-guide-metadata":196,"-guide-metadata-surround":1692},[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":195},"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,167,171,175,179,183,187,191],{"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",{"title":168,"path":169,"stem":170},"Arc","\u002Fchains\u002Farc","2.chains\u002F30.arc",{"title":172,"path":173,"stem":174},"Dogecoin","\u002Fchains\u002Fdogecoin","2.chains\u002F31.dogecoin",{"title":176,"path":177,"stem":178},"Bitcoin Cash","\u002Fchains\u002Fbitcoincash","2.chains\u002F32.bitcoincash",{"title":180,"path":181,"stem":182},"Bitcoin SV","\u002Fchains\u002Fbitcoinsv","2.chains\u002F33.bitcoinsv",{"title":184,"path":185,"stem":186},"Bitcoin Gold","\u002Fchains\u002Fbitcoingold","2.chains\u002F34.bitcoingold",{"title":188,"path":189,"stem":190},"Dash","\u002Fchains\u002Fdash","2.chains\u002F35.dash",{"title":192,"path":193,"stem":194},"Zcash","\u002Fchains\u002Fzcash","2.chains\u002F36.zcash","i-lucide-link",{"id":197,"title":24,"body":198,"description":1684,"extension":1685,"links":1686,"meta":1687,"navigation":1689,"path":25,"seo":1690,"stem":26,"__hash__":1691},"docs\u002F1.guide\u002F05.metadata.md",{"type":199,"value":200,"toc":1677},"minimark",[201,206,404,464,478,486,489,498,547,575,578,959,963,992,996,1011,1017,1020,1068,1098,1101,1341,1345,1354,1400,1406,1413,1416,1419,1673],[202,203,205],"h2",{"id":204},"the-fields","The fields",[207,208,209,225],"table",{},[210,211,212],"thead",{},[213,214,215,219,222],"tr",{},[216,217,218],"th",{},"Field",[216,220,221],{},"Type",[216,223,224],{},"Description",[226,227,228,245,260,274,289,304,318,333,347,361,376,390],"tbody",{},[213,229,230,237,242],{},[231,232,233],"td",{},[234,235,236],"code",{},"key",[231,238,239],{},[234,240,241],{},"ChainKey",[231,243,244],{},"Canonical class key",[213,246,247,252,257],{},[231,248,249],{},[234,250,251],{},"name",[231,253,254],{},[234,255,256],{},"string",[231,258,259],{},"Display name",[213,261,262,267,271],{},[231,263,264],{},[234,265,266],{},"symbol",[231,268,269],{},[234,270,256],{},[231,272,273],{},"Native token symbol",[213,275,276,281,286],{},[231,277,278],{},[234,279,280],{},"decimals",[231,282,283],{},[234,284,285],{},"number?",[231,287,288],{},"Native currency decimal places",[213,290,291,296,301],{},[231,292,293],{},[234,294,295],{},"type",[231,297,298],{},[234,299,300],{},"ChainType",[231,302,303],{},"Blockchain family",[213,305,306,311,315],{},[231,307,308],{},[234,309,310],{},"bip44",[231,312,313],{},[234,314,285],{},[231,316,317],{},"BIP-44 \u002F SLIP-0044 coin type",[213,319,320,325,330],{},[231,321,322],{},[234,323,324],{},"chainId",[231,326,327],{},[234,328,329],{},"string?",[231,331,332],{},"EVM chain ID in hexadecimal",[213,334,335,340,344],{},[231,336,337],{},[234,338,339],{},"caip2",[231,341,342],{},[234,343,329],{},[231,345,346],{},"CAIP-2 identifier",[213,348,349,354,358],{},[231,350,351],{},[234,352,353],{},"magic",[231,355,356],{},[234,357,329],{},[231,359,360],{},"P2P magic bytes, wire order",[213,362,363,368,373],{},[231,364,365],{},[234,366,367],{},"pow",[231,369,370],{},[234,371,372],{},"PowAlgorithm?",[231,374,375],{},"Proof-of-work algorithm",[213,377,378,383,387],{},[231,379,380],{},[234,381,382],{},"explorer",[231,384,385],{},[234,386,256],{},[231,388,389],{},"Block explorer base URL",[213,391,392,397,401],{},[231,393,394],{},[234,395,396],{},"rpcDefault",[231,398,399],{},[234,400,329],{},[231,402,403],{},"Default public RPC endpoint",[405,406,407,409,410,413,414,417,418,420,421,424,425,424,428,424,431,424,434,424,437,424,440,424,443,424,446,424,449,452,453,456,457,413,460,463],"p",{},[234,408,236],{}," is read off the class, ",[234,411,412],{},"chain.key"," and ",[234,415,416],{},"Bitcoin.key"," are the same string. ",[234,419,295],{}," is the family the class belongs to: ",[234,422,423],{},"evm",", ",[234,426,427],{},"utxo",[234,429,430],{},"solana",[234,432,433],{},"stellar",[234,435,436],{},"xrpl",[234,438,439],{},"move",[234,441,442],{},"ton",[234,444,445],{},"tron",[234,447,448],{},"octra",[234,450,451],{},"arweave"," or ",[234,454,455],{},"monero",". ",[234,458,459],{},"EVM",[234,461,462],{},"Move"," set it for their subclasses, every other chain declares it itself.",[405,465,466,467,470,471,473,474,477],{},"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 ",[234,468,469],{},"undefined"," rather than invented. eCash and Decred have a coin type but no CAIP-2 identifier. Only EVM chains carry a ",[234,472,324],{},", and only some chains ship a public RPC worth defaulting to. The tools print an absent coin type or CAIP-2 as ",[234,475,476],{},"none",", because a value that simply vanishes reads as \"not shown\" and invites the caller to supply one from memory.",[405,479,480,482,483,485],{},[234,481,324],{}," and the reference in ",[234,484,339],{}," 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.",[202,487,488],{"id":280},"Decimals",[405,490,491,493,494,497],{},[234,492,280],{}," is the exponent in ",[234,495,496],{},"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.",[499,500,505],"pre",{"className":501,"code":502,"language":503,"meta":504,"style":504},"language-ts shiki shiki-themes chains chains chains","create(\"bitcoin\").decimals; \u002F\u002F 8\ngetChain(\"xec\").decimals; \u002F\u002F 2\n","ts","",[234,506,507,531],{"__ignoreMap":504},[508,509,512,516,520,524,527],"span",{"class":510,"line":511},"line",1,[508,513,515],{"class":514},"sK71F","create",[508,517,519],{"class":518},"s38Sx","(",[508,521,523],{"class":522},"shU9J","\"bitcoin\"",[508,525,526],{"class":518},").decimals; ",[508,528,530],{"class":529},"scIB-","\u002F\u002F 8\n",[508,532,534,537,539,542,544],{"class":510,"line":533},2,[508,535,536],{"class":514},"getChain",[508,538,519],{"class":518},[508,540,541],{"class":522},"\"xec\"",[508,543,526],{"class":518},[508,545,546],{"class":529},"\u002F\u002F 2\n",[405,548,549,550,552,553,555,556,559,560,413,563,566,567,570,571,574],{},"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 ",[234,551,280],{},". Custom classes may leave it ",[234,554,469],{},", which means unknown, never a default of 18. ",[234,557,558],{},"0"," is a valid value for an indivisible currency. ",[234,561,562],{},"chains info",[234,564,565],{},"chains_lookup"," print ",[234,568,569],{},"unknown"," when the field is absent, ",[234,572,573],{},"--json"," omits it.",[405,576,577],{},"These references were checked on 2026-09-05, Arc on 2026-09-18, Dogecoin on 2026-09-23, Bitcoin Cash, Bitcoin SV, Bitcoin Gold, Dash and Zcash on 2026-09-24. Tests pin the values independently of the classes, and no network request is needed at runtime or during tests.",[207,579,580,593],{},[210,581,582],{},[213,583,584,587,590],{},[216,585,586],{},"Chain",[216,588,488],{"align":589},"right",[216,591,592],{},"Reference",[226,594,595,622,640,656,672,687,702,717,732,746,762,776,791,805,819,834,850,867,882,897,912,927,943],{},[213,596,597,600,603],{},[231,598,599],{},"Ethereum, Base, Arbitrum, Optimism, Polygon, BNB Chain, Avalanche C-Chain, Fantom, Gnosis, Linea, zkSync, Scroll, Berachain, Arc",[231,601,602],{"align":589},"18",[231,604,605,424,614,617,618,621],{},[606,607,611],"a",{"href":608,"rel":609},"https:\u002F\u002Fgithub.com\u002Fethereum-lists\u002Fchains\u002Ftree\u002Fmaster\u002F_data\u002Fchains",[610],"nofollow",[234,612,613],{},"ethereum-lists\u002Fchains",[234,615,616],{},"nativeCurrency.decimals"," in ",[234,619,620],{},"eip155-{1,8453,42161,10,137,56,43114,250,100,59144,324,534352,80094,5042}.json","; on Arc that is native USDC, the ERC-20 view of the same balance has 6",[213,623,624,626,629],{},[231,625,104],{},[231,627,628],{"align":589},"8",[231,630,631,639],{},[606,632,635,636],{"href":633,"rel":634},"https:\u002F\u002Fgithub.com\u002Fbitcoin\u002Fbitcoin\u002Fblob\u002Fmaster\u002Fsrc\u002Fconsensus\u002Famount.h",[610],"Bitcoin Core ",[234,637,638],{},"COIN",", 100,000,000 satoshis",[213,641,642,644,646],{},[231,643,108],{},[231,645,628],{"align":589},[231,647,648,655],{},[606,649,652,653],{"href":650,"rel":651},"https:\u002F\u002Fgithub.com\u002Flitecoin-project\u002Flitecoin\u002Fblob\u002Fmaster\u002Fsrc\u002Famount.h",[610],"Litecoin ",[234,654,638],{},", 100,000,000",[213,657,658,660,662],{},[231,659,112],{},[231,661,628],{"align":589},[231,663,664,671],{},[606,665,668,669],{"href":666,"rel":667},"https:\u002F\u002Fgithub.com\u002Fpepecoinppc\u002Fpepecoin\u002Fblob\u002Fmaster\u002Fsrc\u002Famount.h",[610],"Pepecoin ",[234,670,638],{},", 100,000,000; native PEP, not an ERC-20 token",[213,673,674,676,679],{},[231,675,116],{},[231,677,678],{"align":589},"2",[231,680,681,686],{},[606,682,685],{"href":683,"rel":684},"https:\u002F\u002Fe.cash\u002Fbuild",[610],"eCash build documentation",", 100 satoshis per XEC",[213,688,689,691,694],{},[231,690,120],{},[231,692,693],{"align":589},"6",[231,695,696,701],{},[606,697,700],{"href":698,"rel":699},"https:\u002F\u002Fdocs.cardano.org\u002Fabout-cardano\u002Fnew-to-cardano\u002Fwhat-is-a-cryptocurrency",[610],"Cardano denominations",", 1,000,000 lovelace per ADA",[213,703,704,706,709],{},[231,705,124],{},[231,707,708],{"align":589},"9",[231,710,711,716],{},[606,712,715],{"href":713,"rel":714},"https:\u002F\u002Fsolana.com\u002Fdocs\u002Fcore\u002Faccounts\u002Faccount-structure",[610],"Solana account structure",", 1,000,000,000 lamports per SOL",[213,718,719,721,724],{},[231,720,128],{},[231,722,723],{"align":589},"7",[231,725,726,731],{},[606,727,730],{"href":728,"rel":729},"https:\u002F\u002Fdevelopers.stellar.org\u002Fdocs\u002Flearn\u002Ffundamentals\u002Fstellar-data-structures\u002Fassets",[610],"Stellar asset precision",", 10,000,000 stroops per XLM",[213,733,734,736,738],{},[231,735,132],{},[231,737,693],{"align":589},[231,739,740,745],{},[606,741,744],{"href":742,"rel":743},"https:\u002F\u002Fxrpl.org\u002Fdocs\u002Freferences\u002Fprotocol\u002Fdata-types\u002Fcurrency-formats",[610],"XRP currency format",", 1,000,000 drops per XRP",[213,747,748,750,752],{},[231,749,136],{},[231,751,628],{"align":589},[231,753,754,424,759],{},[606,755,758],{"href":756,"rel":757},"https:\u002F\u002Fgithub.com\u002Faptos-labs\u002Faptos-core\u002Fblob\u002Fmain\u002Faptos-move\u002Fframework\u002Faptos-framework\u002Fsources\u002Faptos_coin.move",[610],"AptosCoin initialization",[234,760,761],{},"decimals = 8",[213,763,764,766,768],{},[231,765,140],{},[231,767,708],{"align":589},[231,769,770,775],{},[606,771,774],{"href":772,"rel":773},"https:\u002F\u002Fgithub.com\u002FMystenLabs\u002Fsui\u002Fblob\u002Fmain\u002Fcrates\u002Fsui-framework\u002Fpackages\u002Fsui-framework\u002Fsources\u002Fsui.move",[610],"SUI module",", 1,000,000,000 mist per SUI",[213,777,778,781,783],{},[231,779,780],{},"TON",[231,782,708],{"align":589},[231,784,785,790],{},[606,786,789],{"href":787,"rel":788},"https:\u002F\u002Fgithub.com\u002Fton-org\u002Fton-core\u002Fblob\u002Fmaster\u002Fsrc\u002Futils\u002Fconvert.ts",[610],"TON Core conversion",", 1,000,000,000 nano units per TON",[213,792,793,795,797],{},[231,794,148],{},[231,796,693],{"align":589},[231,798,799,804],{},[606,800,803],{"href":801,"rel":802},"https:\u002F\u002Fdevelopers.tron.network\u002Fdocs\u002Ftoken-standards-trx",[610],"TRX denominations",", 1,000,000 sun per TRX",[213,806,807,809,811],{},[231,808,152],{},[231,810,693],{"align":589},[231,812,813,818],{},[606,814,817],{"href":815,"rel":816},"https:\u002F\u002Fdocs.octra.org\u002Foct-docs\u002Foctranomics",[610],"Octranomics",", 1,000,000 operational units per OCT",[213,820,821,823,826],{},[231,822,156],{},[231,824,825],{"align":589},"12",[231,827,828,833],{},[606,829,832],{"href":830,"rel":831},"https:\u002F\u002Fdocs.arweave.org\u002Fdevelopers\u002Fdevelopment\u002Fdebugging",[610],"Arweave debugging guide",", 1,000,000,000,000 Winston per AR",[213,835,836,838,840],{},[231,837,160],{},[231,839,825],{"align":589},[231,841,842,424,847],{},[606,843,846],{"href":844,"rel":845},"https:\u002F\u002Fgithub.com\u002Fmonero-project\u002Fmonero\u002Fblob\u002Fmaster\u002Fsrc\u002Fcryptonote_config.h",[610],"Monero configuration",[234,848,849],{},"CRYPTONOTE_DISPLAY_DECIMAL_POINT = 12",[213,851,852,854,856],{},[231,853,164],{},[231,855,628],{"align":589},[231,857,858,866],{},[606,859,862,863],{"href":860,"rel":861},"https:\u002F\u002Fgithub.com\u002Fdecred\u002Fdcrd\u002Fblob\u002Fmaster\u002Fdcrutil\u002Fconst.go",[610],"Decred ",[234,864,865],{},"AtomsPerCoin",", 100,000,000 atoms",[213,868,869,871,873],{},[231,870,172],{},[231,872,628],{"align":589},[231,874,875,655],{},[606,876,879,880],{"href":877,"rel":878},"https:\u002F\u002Fgithub.com\u002Fdogecoin\u002Fdogecoin\u002Fblob\u002Fmaster\u002Fsrc\u002Famount.h",[610],"Dogecoin ",[234,881,638],{},[213,883,884,886,888],{},[231,885,176],{},[231,887,628],{"align":589},[231,889,890,639],{},[606,891,894,895],{"href":892,"rel":893},"https:\u002F\u002Fgitlab.com\u002Fbitcoin-cash-node\u002Fbitcoin-cash-node\u002F-\u002Fblob\u002Fmaster\u002Fsrc\u002Famount.h",[610],"Bitcoin Cash Node ",[234,896,638],{},[213,898,899,901,903],{},[231,900,180],{},[231,902,628],{"align":589},[231,904,905,639],{},[606,906,909,910],{"href":907,"rel":908},"https:\u002F\u002Fgithub.com\u002Fbitcoin-sv\u002Fbitcoin-sv\u002Fblob\u002Fmaster\u002Fsrc\u002Famount.h",[610],"SV Node ",[234,911,638],{},[213,913,914,916,918],{},[231,915,184],{},[231,917,628],{"align":589},[231,919,920,639],{},[606,921,924,925],{"href":922,"rel":923},"https:\u002F\u002Fgithub.com\u002FBTCGPU\u002FBTCGPU\u002Fblob\u002Fmaster\u002Fsrc\u002Famount.h",[610],"Bitcoin Gold ",[234,926,638],{},[213,928,929,931,933],{},[231,930,188],{},[231,932,628],{"align":589},[231,934,935,942],{},[606,936,939,940],{"href":937,"rel":938},"https:\u002F\u002Fgithub.com\u002Fdashpay\u002Fdash\u002Fblob\u002Fmaster\u002Fsrc\u002Fconsensus\u002Famount.h",[610],"Dash Core ",[234,941,638],{},", 100,000,000 duffs",[213,944,945,947,949],{},[231,946,192],{},[231,948,628],{"align":589},[231,950,951,958],{},[606,952,955,956],{"href":953,"rel":954},"https:\u002F\u002Fgithub.com\u002Fzcash\u002Fzcash\u002Fblob\u002Fmaster\u002Fsrc\u002Famount.h",[610],"zcashd ",[234,957,638],{},", 100,000,000 zatoshis",[202,960,962],{"id":961},"coin-types","Coin types",[405,964,965,967,968,971,972,975,976,979,980,983,984,991],{},[234,966,310],{}," is the SLIP-0044 coin type, the number that goes into ",[234,969,970],{},"m\u002F44'\u002Fcoin'\u002F…",". All fourteen EVM chains repeat ",[234,973,974],{},"60",", Ethereum's, which is what wallets actually derive with. Decred is ",[234,977,978],{},"42",", not its legacy ",[234,981,982],{},"20",". Octra has none registered and the field says so instead of borrowing one. Deriving keys from it belongs in ",[606,985,988],{"href":986,"rel":987},"https:\u002F\u002Fgithub.com\u002Fagntn\u002Fkeys",[610],[234,989,990],{},"@agntn\u002Fkeys",", not here.",[202,993,995],{"id":994},"magic-bytes","Magic bytes",[405,997,998,1000,1001,1004,1005,1010],{},[234,999,353],{}," is the four bytes every P2P message opens with, written as lowercase hex in the order they cross the wire. Every message a Bitcoin node sends you starts with ",[234,1002,1003],{},"f9beb4d9",". Send one under other bytes and the node disconnects. ",[606,1006,1009],{"href":1007,"rel":1008},"https:\u002F\u002Flearnmeabitcoin.com\u002Ftechnical\u002Fnetworking\u002Fmagic-bytes\u002F",[610],"learn me a bitcoin"," has the long version.",[405,1012,1013,1014,1016],{},"Only chains that kept Bitcoin's wire protocol have one. That's eleven of them. Cardano, Monero and the account chains frame their messages differently, so the field stays ",[234,1015,469],{}," there. Cardano's \"network magic\" is a different thing too, a number checked during the handshake, not a prefix on every message.",[405,1018,1019],{},"The value is mainnet's. A chain class here describes mainnet, and testnet and regtest move the bytes anyway.",[499,1021,1023],{"className":501,"code":1022,"language":503,"meta":504,"style":504},"create(\"bitcoin\").magic; \u002F\u002F \"f9beb4d9\"\ngetChain(\"doge\").magic; \u002F\u002F \"c0c0c0c0\"\ncreate(\"ethereum\").magic; \u002F\u002F undefined\n",[234,1024,1025,1039,1053],{"__ignoreMap":504},[508,1026,1027,1029,1031,1033,1036],{"class":510,"line":511},[508,1028,515],{"class":514},[508,1030,519],{"class":518},[508,1032,523],{"class":522},[508,1034,1035],{"class":518},").magic; ",[508,1037,1038],{"class":529},"\u002F\u002F \"f9beb4d9\"\n",[508,1040,1041,1043,1045,1048,1050],{"class":510,"line":533},[508,1042,536],{"class":514},[508,1044,519],{"class":518},[508,1046,1047],{"class":522},"\"doge\"",[508,1049,1035],{"class":518},[508,1051,1052],{"class":529},"\u002F\u002F \"c0c0c0c0\"\n",[508,1054,1056,1058,1060,1063,1065],{"class":510,"line":1055},3,[508,1057,515],{"class":514},[508,1059,519],{"class":518},[508,1061,1062],{"class":522},"\"ethereum\"",[508,1064,1035],{"class":518},[508,1066,1067],{"class":529},"\u002F\u002F undefined\n",[405,1069,1070,1071,1074,1075,1077,1078,1081,1082,1085,1086,1089,1090,1093,1094,1097],{},"Two traps. Bitcoin Cash picked ",[234,1072,1073],{},"e3e1f3e8"," in 2017, and eCash and Bitcoin SV kept it when they split off. So the bytes alone won't tell you which of the three you're talking to. The same nodes still write Bitcoin's ",[234,1076,1003],{}," at the start of every block in ",[234,1079,1080],{},"blk*.dat",". That's ",[234,1083,1084],{},"diskMagic",", the field here is ",[234,1087,1088],{},"netMagic",". Decred declares ",[234,1091,1092],{},"0xd9b400f9"," as a number and writes it little-endian, so the wire reads ",[234,1095,1096],{},"f900b4d9",", and that's what the field holds.",[405,1099,1100],{},"Each value was read on 2026-09-24 from the mainnet params in the node's own source. Tests pin all eleven.",[207,1102,1103,1114],{},[210,1104,1105],{},[213,1106,1107,1109,1112],{},[216,1108,586],{},[216,1110,1111],{},"Magic",[216,1113,592],{},[226,1115,1116,1136,1155,1174,1193,1211,1230,1248,1267,1286,1312],{},[213,1117,1118,1120,1124],{},[231,1119,104],{},[231,1121,1122],{},[234,1123,1003],{},[231,1125,1126,424,1133],{},[606,1127,635,1130],{"href":1128,"rel":1129},"https:\u002F\u002Fgithub.com\u002Fbitcoin\u002Fbitcoin\u002Fblob\u002Fmaster\u002Fsrc\u002Fkernel\u002Fchainparams.cpp",[610],[234,1131,1132],{},"chainparams.cpp",[234,1134,1135],{},"pchMessageStart",[213,1137,1138,1140,1145],{},[231,1139,108],{},[231,1141,1142],{},[234,1143,1144],{},"fbc0b6db",[231,1146,1147,424,1153],{},[606,1148,652,1151],{"href":1149,"rel":1150},"https:\u002F\u002Fgithub.com\u002Flitecoin-project\u002Flitecoin\u002Fblob\u002Fmaster\u002Fsrc\u002Fchainparams.cpp",[610],[234,1152,1132],{},[234,1154,1135],{},[213,1156,1157,1159,1164],{},[231,1158,112],{},[231,1160,1161],{},[234,1162,1163],{},"c0a0f0e0",[231,1165,1166,424,1172],{},[606,1167,668,1170],{"href":1168,"rel":1169},"https:\u002F\u002Fgithub.com\u002Fpepecoinppc\u002Fpepecoin\u002Fblob\u002Fmaster\u002Fsrc\u002Fchainparams.cpp",[610],[234,1171,1132],{},[234,1173,1135],{},[213,1175,1176,1178,1183],{},[231,1177,172],{},[231,1179,1180],{},[234,1181,1182],{},"c0c0c0c0",[231,1184,1185,424,1191],{},[606,1186,879,1189],{"href":1187,"rel":1188},"https:\u002F\u002Fgithub.com\u002Fdogecoin\u002Fdogecoin\u002Fblob\u002Fmaster\u002Fsrc\u002Fchainparams.cpp",[610],[234,1190,1132],{},[234,1192,1135],{},[213,1194,1195,1197,1201],{},[231,1196,176],{},[231,1198,1199],{},[234,1200,1073],{},[231,1202,1203,424,1209],{},[606,1204,894,1207],{"href":1205,"rel":1206},"https:\u002F\u002Fgitlab.com\u002Fbitcoin-cash-node\u002Fbitcoin-cash-node\u002F-\u002Fblob\u002Fmaster\u002Fsrc\u002Fchainparams.cpp",[610],[234,1208,1132],{},[234,1210,1088],{},[213,1212,1213,1215,1219],{},[231,1214,116],{},[231,1216,1217],{},[234,1218,1073],{},[231,1220,1221,424,1228],{},[606,1222,1225,1226],{"href":1223,"rel":1224},"https:\u002F\u002Fgithub.com\u002FBitcoin-ABC\u002Fbitcoin-abc\u002Fblob\u002Fmaster\u002Fsrc\u002Fkernel\u002Fchainparams.cpp",[610],"Bitcoin ABC ",[234,1227,1132],{},[234,1229,1088],{},[213,1231,1232,1234,1238],{},[231,1233,180],{},[231,1235,1236],{},[234,1237,1073],{},[231,1239,1240,424,1246],{},[606,1241,909,1244],{"href":1242,"rel":1243},"https:\u002F\u002Fgithub.com\u002Fbitcoin-sv\u002Fbitcoin-sv\u002Fblob\u002Fmaster\u002Fsrc\u002Fchainparams.cpp",[610],[234,1245,1132],{},[234,1247,1088],{},[213,1249,1250,1252,1257],{},[231,1251,184],{},[231,1253,1254],{},[234,1255,1256],{},"e1476d44",[231,1258,1259,424,1265],{},[606,1260,924,1263],{"href":1261,"rel":1262},"https:\u002F\u002Fgithub.com\u002FBTCGPU\u002FBTCGPU\u002Fblob\u002Fmaster\u002Fsrc\u002Fchainparams.cpp",[610],[234,1264,1132],{},[234,1266,1135],{},[213,1268,1269,1271,1276],{},[231,1270,188],{},[231,1272,1273],{},[234,1274,1275],{},"bf0c6bbd",[231,1277,1278,424,1284],{},[606,1279,939,1282],{"href":1280,"rel":1281},"https:\u002F\u002Fgithub.com\u002Fdashpay\u002Fdash\u002Fblob\u002Fdevelop\u002Fsrc\u002Fchainparams.cpp",[610],[234,1283,1132],{},[234,1285,1135],{},[213,1287,1288,1290,1295],{},[231,1289,192],{},[231,1291,1292],{},[234,1293,1294],{},"24e92764",[231,1296,1297,424,1303,1305,1306,1311],{},[606,1298,955,1301],{"href":1299,"rel":1300},"https:\u002F\u002Fgithub.com\u002Fzcash\u002Fzcash\u002Fblob\u002Fmaster\u002Fsrc\u002Fchainparams.cpp",[610],[234,1302,1132],{},[234,1304,1135],{},"; ",[606,1307,1310],{"href":1308,"rel":1309},"https:\u002F\u002Fgithub.com\u002FZcashFoundation\u002Fzebra\u002Fblob\u002Fmain\u002Fzebra-chain\u002Fsrc\u002Fparameters\u002Fnetwork\u002Fmagic.rs",[610],"Zebra"," agrees",[213,1313,1314,1316,1320],{},[231,1315,164],{},[231,1317,1318],{},[234,1319,1096],{},[231,1321,1322,424,1330,1333,1334],{},[606,1323,1326,1327],{"href":1324,"rel":1325},"https:\u002F\u002Fgithub.com\u002Fdecred\u002Fdcrd\u002Fblob\u002Fmaster\u002Fwire\u002Fprotocol.go",[610],"dcrd ",[234,1328,1329],{},"wire\u002Fprotocol.go",[234,1331,1332],{},"MainNet CurrencyNet = 0xd9b400f9",", read little-endian by ",[606,1335,1338],{"href":1336,"rel":1337},"https:\u002F\u002Fgithub.com\u002Fdecred\u002Fdcrd\u002Fblob\u002Fmaster\u002Fwire\u002Fcommon.go",[610],[234,1339,1340],{},"wire\u002Fcommon.go",[202,1342,1344],{"id":1343},"proof-of-work","Proof of work",[405,1346,1347,1349,1350,1353],{},[234,1348,367],{}," names what a miner grinds. Mostly that's a hash of the block header, and the block counts once it lands under the target. Equihash is a puzzle instead: the header carries a solution, and only then does its SHA-256d face the target. Either way it's the one algorithm the whole chain agrees on. Pool software and mining hardware are sorted by it: an ASIC built for ",[234,1351,1352],{},"sha256d"," can't mine Litecoin.",[499,1355,1357],{"className":501,"code":1356,"language":503,"meta":504,"style":504},"create(\"zcash\").pow; \u002F\u002F \"equihash-200-9\"\ngetChain(\"xmr\").pow; \u002F\u002F \"randomx\"\ncreate(\"ethereum\").pow; \u002F\u002F undefined\n",[234,1358,1359,1374,1388],{"__ignoreMap":504},[508,1360,1361,1363,1365,1368,1371],{"class":510,"line":511},[508,1362,515],{"class":514},[508,1364,519],{"class":518},[508,1366,1367],{"class":522},"\"zcash\"",[508,1369,1370],{"class":518},").pow; ",[508,1372,1373],{"class":529},"\u002F\u002F \"equihash-200-9\"\n",[508,1375,1376,1378,1380,1383,1385],{"class":510,"line":533},[508,1377,536],{"class":514},[508,1379,519],{"class":518},[508,1381,1382],{"class":522},"\"xmr\"",[508,1384,1370],{"class":518},[508,1386,1387],{"class":529},"\u002F\u002F \"randomx\"\n",[508,1389,1390,1392,1394,1396,1398],{"class":510,"line":1055},[508,1391,515],{"class":514},[508,1393,519],{"class":518},[508,1395,1062],{"class":522},[508,1397,1370],{"class":518},[508,1399,1067],{"class":529},[405,1401,1402,1403,1405],{},"Twelve chains here mine. Ethereum left proof of work in 2022, and Cardano and most account chains never had it. Two are harder. Arweave does mine, but each round is one RandomX hash and then SHA-256 over chunks the miner actually stores. Octra's proof of useful work is encrypted computation, not a hash to grind. Neither fits in one string, so both stay ",[234,1404,469],{},".",[405,1407,1408,1409,1412],{},"Equihash has one more catch. It's a family, not a function, and (n, k) decide how much memory a solution costs. Zcash runs 200,9. Bitcoin Gold started there and moved to 144,5 in 2018 to shake off the Zcash ASICs. A bare ",[234,1410,1411],{},"\"equihash\""," would put both under one name, so the parameters are part of the value.",[405,1414,1415],{},"The value is today's mainnet algorithm. Decred switched from BLAKE-256 to BLAKE3 with DCP-0011, Monero went from CryptoNight to RandomX in 2019. Old blocks still verify under the old hash, the field only says what the next one needs.",[405,1417,1418],{},"Each value was read on 2026-09-24 from the node's own header check. Tests pin all twelve.",[207,1420,1421,1433],{},[210,1422,1423],{},[213,1424,1425,1427,1431],{},[216,1426,586],{},[216,1428,1429],{},[234,1430,367],{},[216,1432,592],{},[226,1434,1435,1455,1473,1491,1509,1529,1548,1566,1586,1608,1630,1651],{},[213,1436,1437,1439,1443],{},[231,1438,104],{},[231,1440,1441],{},[234,1442,1352],{},[231,1444,1445,424,1452],{},[606,1446,635,1449],{"href":1447,"rel":1448},"https:\u002F\u002Fgithub.com\u002Fbitcoin\u002Fbitcoin\u002Fblob\u002Fmaster\u002Fsrc\u002Fprimitives\u002Fblock.cpp",[610],[234,1450,1451],{},"primitives\u002Fblock.cpp",[234,1453,1454],{},"GetHash",[213,1456,1457,1459,1463],{},[231,1458,176],{},[231,1460,1461],{},[234,1462,1352],{},[231,1464,1465,424,1471],{},[606,1466,894,1469],{"href":1467,"rel":1468},"https:\u002F\u002Fgitlab.com\u002Fbitcoin-cash-node\u002Fbitcoin-cash-node\u002F-\u002Fblob\u002Fmaster\u002Fsrc\u002Fprimitives\u002Fblock.cpp",[610],[234,1470,1451],{},[234,1472,1454],{},[213,1474,1475,1477,1481],{},[231,1476,116],{},[231,1478,1479],{},[234,1480,1352],{},[231,1482,1483,424,1489],{},[606,1484,1225,1487],{"href":1485,"rel":1486},"https:\u002F\u002Fgithub.com\u002FBitcoin-ABC\u002Fbitcoin-abc\u002Fblob\u002Fmaster\u002Fsrc\u002Fprimitives\u002Fblock.cpp",[610],[234,1488,1451],{},[234,1490,1454],{},[213,1492,1493,1495,1499],{},[231,1494,180],{},[231,1496,1497],{},[234,1498,1352],{},[231,1500,1501,424,1507],{},[606,1502,909,1505],{"href":1503,"rel":1504},"https:\u002F\u002Fgithub.com\u002Fbitcoin-sv\u002Fbitcoin-sv\u002Fblob\u002Fmaster\u002Fsrc\u002Fprimitives\u002Fblock.cpp",[610],[234,1506,1451],{},[234,1508,1454],{},[213,1510,1511,1513,1518],{},[231,1512,108],{},[231,1514,1515],{},[234,1516,1517],{},"scrypt",[231,1519,1520,424,1526],{},[606,1521,652,1524],{"href":1522,"rel":1523},"https:\u002F\u002Fgithub.com\u002Flitecoin-project\u002Flitecoin\u002Fblob\u002Fmaster\u002Fsrc\u002Fprimitives\u002Fblock.cpp",[610],[234,1525,1451],{},[234,1527,1528],{},"GetPoWHash",[213,1530,1531,1533,1537],{},[231,1532,172],{},[231,1534,1535],{},[234,1536,1517],{},[231,1538,1539,424,1546],{},[606,1540,879,1543],{"href":1541,"rel":1542},"https:\u002F\u002Fgithub.com\u002Fdogecoin\u002Fdogecoin\u002Fblob\u002Fmaster\u002Fsrc\u002Fprimitives\u002Fpureheader.cpp",[610],[234,1544,1545],{},"primitives\u002Fpureheader.cpp",[234,1547,1528],{},[213,1549,1550,1552,1556],{},[231,1551,112],{},[231,1553,1554],{},[234,1555,1517],{},[231,1557,1558,424,1564],{},[606,1559,668,1562],{"href":1560,"rel":1561},"https:\u002F\u002Fgithub.com\u002Fpepecoinppc\u002Fpepecoin\u002Fblob\u002Fmaster\u002Fsrc\u002Fprimitives\u002Fpureheader.cpp",[610],[234,1563,1545],{},[234,1565,1528],{},[213,1567,1568,1570,1575],{},[231,1569,188],{},[231,1571,1572],{},[234,1573,1574],{},"x11",[231,1576,1577,424,1583],{},[606,1578,939,1581],{"href":1579,"rel":1580},"https:\u002F\u002Fgithub.com\u002Fdashpay\u002Fdash\u002Fblob\u002Fdevelop\u002Fsrc\u002Fprimitives\u002Fblock.cpp",[610],[234,1582,1451],{},[234,1584,1585],{},"HashX11",[213,1587,1588,1590,1595],{},[231,1589,192],{},[231,1591,1592],{},[234,1593,1594],{},"equihash-200-9",[231,1596,1597,424,1602,424,1605],{},[606,1598,955,1600],{"href":1299,"rel":1599},[610],[234,1601,1132],{},[234,1603,1604],{},"nEquihashN",[234,1606,1607],{},"nEquihashK",[213,1609,1610,1612,1617],{},[231,1611,184],{},[231,1613,1614],{},[234,1615,1616],{},"equihash-144-5",[231,1618,1619,424,1624,424,1627],{},[606,1620,924,1622],{"href":1261,"rel":1621},[610],[234,1623,1132],{},[234,1625,1626],{},"nEquihashNnew",[234,1628,1629],{},"nEquihashKnew",[213,1631,1632,1634,1639],{},[231,1633,164],{},[231,1635,1636],{},[234,1637,1638],{},"blake3",[231,1640,1641,424,1648],{},[606,1642,1326,1645],{"href":1643,"rel":1644},"https:\u002F\u002Fgithub.com\u002Fdecred\u002Fdcrd\u002Fblob\u002Fmaster\u002Fwire\u002Fblockheader.go",[610],[234,1646,1647],{},"wire\u002Fblockheader.go",[234,1649,1650],{},"PowHashV2",[213,1652,1653,1655,1660],{},[231,1654,160],{},[231,1656,1657],{},[234,1658,1659],{},"randomx",[231,1661,1662,424,1670],{},[606,1663,1666,1667],{"href":1664,"rel":1665},"https:\u002F\u002Fgithub.com\u002Fmonero-project\u002Fmonero\u002Fblob\u002Fmaster\u002Fsrc\u002Fcryptonote_core\u002Fcryptonote_tx_utils.cpp",[610],"Monero ",[234,1668,1669],{},"cryptonote_tx_utils.cpp",[234,1671,1672],{},"rx_slow_hash",[1674,1675,1676],"style",{},"html pre.shiki code .sK71F, html code.shiki .sK71F{--shiki-light:var(--shiki-token-function);--shiki-default:var(--shiki-token-function);--shiki-dark:var(--shiki-token-function)}html pre.shiki code .s38Sx, html code.shiki .s38Sx{--shiki-light:var(--ui-text-highlighted);--shiki-default:var(--ui-text-highlighted);--shiki-dark:var(--ui-text-highlighted)}html pre.shiki code .shU9J, html code.shiki .shU9J{--shiki-light:var(--shiki-token-string);--shiki-default:var(--shiki-token-string);--shiki-dark:var(--shiki-token-string)}html pre.shiki code .scIB-, html code.shiki .scIB-{--shiki-light:var(--shiki-token-comment);--shiki-default:var(--shiki-token-comment);--shiki-dark:var(--shiki-token-comment)}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":504,"searchDepth":533,"depth":533,"links":1678},[1679,1680,1681,1682,1683],{"id":204,"depth":533,"text":205},{"id":280,"depth":533,"text":488},{"id":961,"depth":533,"text":962},{"id":994,"depth":533,"text":995},{"id":1343,"depth":533,"text":1344},"Every field on a chain class. Which ones may be missing and why. Where each decimals value, magic and proof-of-work hash was checked.","md",null,{"icon":1688},"i-lucide-sigma",true,{"title":24,"description":1684},"_4OHGCuezjfDHj_I6oL7iNDUBYgcME1GOAnWFMdBB4U",[1693,1695],{"title":20,"path":21,"stem":22,"description":1694,"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":1696,"children":-1},"The chains command. Six subcommands and what each prints. Which ones exit 1.",1790870085142]