[{"data":1,"prerenderedAt":356},["ShallowReactive",2],{"navigation_docs":3,"-providers-arweave":120,"-providers-arweave-surround":351},[4,56,116],{"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-solar-book-2-linear",{"title":57,"path":58,"stem":59,"children":60,"icon":115},"Providers","\u002Fproviders","2.providers\u002F0.index",[61,63,67,71,75,79,83,87,91,95,99,103,107,111],{"title":62,"path":58,"stem":59},"Overview",{"title":64,"path":65,"stem":66},"Etherscan","\u002Fproviders\u002Fetherscan","2.providers\u002F01.etherscan",{"title":68,"path":69,"stem":70},"Blockscout","\u002Fproviders\u002Fblockscout","2.providers\u002F02.blockscout",{"title":72,"path":73,"stem":74},"Blockchair","\u002Fproviders\u002Fblockchair","2.providers\u002F03.blockchair",{"title":76,"path":77,"stem":78},"Mempool","\u002Fproviders\u002Fmempool","2.providers\u002F04.mempool",{"title":80,"path":81,"stem":82},"Blockstream","\u002Fproviders\u002Fblockstream","2.providers\u002F05.blockstream",{"title":84,"path":85,"stem":86},"Solscan","\u002Fproviders\u002Fsolscan","2.providers\u002F06.solscan",{"title":88,"path":89,"stem":90},"Helius","\u002Fproviders\u002Fhelius","2.providers\u002F07.helius",{"title":92,"path":93,"stem":94},"TONAPI","\u002Fproviders\u002Fton","2.providers\u002F08.ton",{"title":96,"path":97,"stem":98},"TRONSCAN","\u002Fproviders\u002Ftronscan","2.providers\u002F09.tronscan",{"title":100,"path":101,"stem":102},"Aptos Explorer","\u002Fproviders\u002Faptos","2.providers\u002F10.aptos",{"title":104,"path":105,"stem":106},"Blockberry","\u002Fproviders\u002Fblockberry","2.providers\u002F11.blockberry",{"title":108,"path":109,"stem":110},"Koios","\u002Fproviders\u002Fkoios","2.providers\u002F12.koios",{"title":112,"path":113,"stem":114},"Arweave gateway","\u002Fproviders\u002Farweave","2.providers\u002F13.arweave","i-solar-library-linear",{"title":117,"path":118,"stem":119},"Chains","\u002Fchains","3.chains",{"id":121,"title":112,"body":122,"description":343,"extension":344,"links":345,"meta":346,"navigation":348,"path":113,"seo":349,"stem":114,"__hash__":350},"docs\u002F2.providers\u002F13.arweave.md",{"type":123,"value":124,"toc":337},"minimark",[125,129,134,224,235,239,249,253,324,328,333],[126,127],"provider-facts",{"provider":128},"arweave",[130,131,133],"h2",{"id":132},"address-it","Address it",[135,136,141],"pre",{"className":137,"code":138,"language":139,"meta":140,"style":140},"language-ts shiki shiki-themes github-light github-light poimandres","const arweave = await create(\"arweave\"); \u002F\u002F or new Arweave({ baseUrl: \"https:\u002F\u002Far-io.dev\" })\nawait arweave.getBalance(\"FPjbN_btYKzcf8QASjs30v5C0FPv7XpwKXENBW8dqVw\", \"arweave\");\n","ts","",[142,143,144,188],"code",{"__ignoreMap":140},[145,146,149,153,157,160,164,168,172,176,179,181,184],"span",{"class":147,"line":148},"line",1,[145,150,152],{"class":151},"s1TYA","const",[145,154,156],{"class":155},"saoiD"," arweave",[145,158,159],{"class":151}," =",[145,161,163],{"class":162},"sZW6a"," await",[145,165,167],{"class":166},"sULi6"," create",[145,169,171],{"class":170},"sKlNE","(",[145,173,175],{"class":174},"scVjq","\"",[145,177,128],{"class":178},"sQ7BG",[145,180,175],{"class":174},[145,182,183],{"class":170},"); ",[145,185,187],{"class":186},"sjhu3","\u002F\u002F or new Arweave({ baseUrl: \"https:\u002F\u002Far-io.dev\" })\n",[145,189,191,194,197,200,203,205,207,210,212,215,217,219,221],{"class":147,"line":190},2,[145,192,193],{"class":162},"await",[145,195,156],{"class":196},"spVlQ",[145,198,199],{"class":170},".",[145,201,202],{"class":166},"getBalance",[145,204,171],{"class":170},[145,206,175],{"class":174},[145,208,209],{"class":178},"FPjbN_btYKzcf8QASjs30v5C0FPv7XpwKXENBW8dqVw",[145,211,175],{"class":174},[145,213,214],{"class":170},", ",[145,216,175],{"class":174},[145,218,128],{"class":178},[145,220,175],{"class":174},[145,222,223],{"class":170},");\n",[225,226,227,230,231,234],"p",{},[142,228,229],{},"baseUrl"," is the gateway root for both APIs and defaults to ",[142,232,233],{},"https:\u002F\u002Farweave.net",". Every request stays on that gateway; there is no fallback to another node.",[130,236,238],{"id":237},"what-it-reads","What it reads",[225,240,241,244,245,248],{},[142,242,243],{},"\u002Fwallet\u002F:address\u002Fbalance"," and ",[142,246,247],{},"\u002Fblock\u002Fheight\u002F:n"," over REST, transaction history and details through the gateway's GraphQL index.",[130,250,252],{"id":251},"gotchas","Gotchas",[254,255,256,282,288,295,314,321],"ul",{},[257,258,259,260,263,264,244,267,214,270,273,274,277,278,281],"li",{},"History merges owner and recipient queries, drops the duplicate rows a transfer to yourself produces, honours ",[142,261,262],{},"sort",", inclusive ",[142,265,266],{},"startBlock",[142,268,269],{},"endBlock",[142,271,272],{},"limit"," from 1 to 100 and ",[142,275,276],{},"page"," from 1, and caps each read at ",[142,279,280],{},"page * limit \u003C= 1000",". Use block bounds for older history. Index coverage depends on the gateway, particularly for bundled data items.",[257,283,284,285,199],{},"Winstons, twelve decimals. A data item's fee is omitted because its parent bundle pays the network fee; bundle membership, data metadata and tags stay in ",[142,286,287],{},"raw",[257,289,290,291,294],{},"An empty recipient stays ",[142,292,293],{},"\"\"",", a data upload, not contract creation. A missing block means pending, with block number 0 and no timestamp.",[257,296,297,298,301,302,305,306,309,310,313],{},"Balance answers carry no height or hash, so both snapshot fields are ",[142,299,300],{},"null",". There is no gas: block gas fields hold ",[142,303,304],{},"\"0\"",", and ",[142,307,308],{},"\u002Fprice\u002F{bytes}"," quotes a storage cost, not a price per gas unit, so ",[142,311,312],{},"getGasData"," stays unsupported.",[257,315,316,317,320],{},"Addresses and transaction ids share a shape. The CLI needs ",[142,318,319],{},"-m detail"," for a transaction id, and the explorer's address page offers the transaction reading as a link.",[257,322,323],{},"SmartWeave and AO execution status is not inferred from inclusion in a block.",[130,325,327],{"id":326},"where-it-lives","Where it lives",[225,329,330,199],{},[142,331,332],{},"src\u002Fproviders\u002Farweave.ts",[334,335,336],"style",{},"html pre.shiki code .s1TYA, html code.shiki .s1TYA{--shiki-light:#D73A49;--shiki-default:#D73A49;--shiki-dark:#91B4D5}html pre.shiki code .saoiD, html code.shiki .saoiD{--shiki-light:#005CC5;--shiki-default:#005CC5;--shiki-dark:#E4F0FB}html pre.shiki code .sZW6a, html code.shiki .sZW6a{--shiki-light:#D73A49;--shiki-default:#D73A49;--shiki-dark:#5DE4C7C0}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 .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 pre.shiki code .spVlQ, html code.shiki .spVlQ{--shiki-light:#24292E;--shiki-default:#24292E;--shiki-dark:#E4F0FB}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":140,"searchDepth":190,"depth":190,"links":338},[339,340,341,342],{"id":132,"depth":190,"text":133},{"id":237,"depth":190,"text":238},{"id":251,"depth":190,"text":252},{"id":326,"depth":190,"text":327},"Wallet and block REST plus the GraphQL index of a gateway, arweave.net by default. Winstons, no gas, and history that stays on one gateway.","md",null,{"icon":347},"i-solar-history-linear",true,{"title":112,"description":343},"lxO41tMMtaGqLTik7AkjxQb_q-MLgw4IyuZPsHYbU28",[352,354],{"title":108,"path":109,"stem":110,"description":353,"children":-1},"Cardano over the Koios PostgREST API. Balances with totals, history, details and native token holdings, keyless, a little slow on busy addresses.",{"title":117,"path":118,"stem":119,"description":355,"children":-1},"The 23 chains the built-in providers serve, which provider answers for each, and which operations any of them cover. Read from the registry, not typed in.",1788626961518]