[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"navigation":3,"\u002Fapi-reference\u002Fprotocol\u002Frecipes\u002Fnetwork-supply":264,"\u002Fapi-reference\u002Fprotocol\u002Frecipes\u002Fnetwork-supply-surround":527},[4,22,110,153,182,191,247],{"title":5,"path":6,"stem":7,"children":8,"page":21},"Agents","\u002Fagents","agents",[9,13,17],{"title":10,"path":11,"stem":12},"LLMs.txt","\u002Fagents\u002Fllms-txt","agents\u002Fllms-txt",{"title":14,"path":15,"stem":16},"MCP Server","\u002Fagents\u002Fmcp-server","agents\u002Fmcp-server",{"title":18,"path":19,"stem":20},"Skills","\u002Fagents\u002Fskills","agents\u002Fskills",false,{"title":23,"path":24,"stem":25,"children":26,"page":21},"Api Reference","\u002Fapi-reference","api-reference",[27,31,64],{"title":28,"path":29,"stem":30},"API Reference","\u002Fapi-reference\u002Fintroduction","api-reference\u002Fintroduction",{"title":32,"path":33,"stem":34,"children":35,"page":21},"Orchestration","\u002Fapi-reference\u002Forchestration","api-reference\u002Forchestration",[36,40,44,48,52,56,60],{"title":37,"path":38,"stem":39},"POST \u002Forders\u002F{originChain}\u002F{orderId}\u002Fcancel","\u002Fapi-reference\u002Forchestration\u002Fcancel-order","api-reference\u002Forchestration\u002Fcancel-order",{"title":41,"path":42,"stem":43},"GET \u002Forders\u002F{originChain}\u002F{orderId}","\u002Fapi-reference\u002Forchestration\u002Forder-status","api-reference\u002Forchestration\u002Forder-status",{"title":45,"path":46,"stem":47},"GET \u002Forders","\u002Fapi-reference\u002Forchestration\u002Forders","api-reference\u002Forchestration\u002Forders",{"title":49,"path":50,"stem":51},"Orchestration API","\u002Fapi-reference\u002Forchestration\u002Foverview","api-reference\u002Forchestration\u002Foverview",{"title":53,"path":54,"stem":55},"POST \u002Fquote","\u002Fapi-reference\u002Forchestration\u002Fquote","api-reference\u002Forchestration\u002Fquote",{"title":57,"path":58,"stem":59},"GET \u002Fsupported-assets","\u002Fapi-reference\u002Forchestration\u002Fsupported-assets","api-reference\u002Forchestration\u002Fsupported-assets",{"title":61,"path":62,"stem":63},"TypeScript Type Generation","\u002Fapi-reference\u002Forchestration\u002Ftype-generation","api-reference\u002Forchestration\u002Ftype-generation",{"title":65,"path":66,"stem":67,"children":68,"page":21},"Protocol","\u002Fapi-reference\u002Fprotocol","api-reference\u002Fprotocol",[69,73],{"title":70,"path":71,"stem":72},"Protocol API","\u002Fapi-reference\u002Fprotocol\u002Foverview","api-reference\u002Fprotocol\u002Foverview",{"title":74,"path":75,"stem":76,"children":77,"page":21},"Recipes","\u002Fapi-reference\u002Fprotocol\u002Frecipes","api-reference\u002Fprotocol\u002Frecipes",[78,82,86,90,94,98,102,106],{"title":79,"path":80,"stem":81},"Collateral Composition","\u002Fapi-reference\u002Fprotocol\u002Frecipes\u002Fcollateral-composition","api-reference\u002Fprotocol\u002Frecipes\u002Fcollateral-composition",{"title":83,"path":84,"stem":85},"Daily Yields","\u002Fapi-reference\u002Fprotocol\u002Frecipes\u002Fdaily-yields","api-reference\u002Fprotocol\u002Frecipes\u002Fdaily-yields",{"title":87,"path":88,"stem":89},"Earner Rate History","\u002Fapi-reference\u002Fprotocol\u002Frecipes\u002Fearner-rate-history","api-reference\u002Fprotocol\u002Frecipes\u002Fearner-rate-history",{"title":91,"path":92,"stem":93},"Minter Daily Expenses","\u002Fapi-reference\u002Fprotocol\u002Frecipes\u002Fminter-daily-expenses","api-reference\u002Fprotocol\u002Frecipes\u002Fminter-daily-expenses",{"title":95,"path":96,"stem":97},"Network Supply","\u002Fapi-reference\u002Fprotocol\u002Frecipes\u002Fnetwork-supply","api-reference\u002Fprotocol\u002Frecipes\u002Fnetwork-supply",{"title":99,"path":100,"stem":101},"Protocol Configuration","\u002Fapi-reference\u002Fprotocol\u002Frecipes\u002Fprotocol-config","api-reference\u002Fprotocol\u002Frecipes\u002Fprotocol-config",{"title":103,"path":104,"stem":105},"Token Holders","\u002Fapi-reference\u002Fprotocol\u002Frecipes\u002Ftoken-holders","api-reference\u002Fprotocol\u002Frecipes\u002Ftoken-holders",{"title":107,"path":108,"stem":109},"Token Overview","\u002Fapi-reference\u002Fprotocol\u002Frecipes\u002Ftoken-overview","api-reference\u002Fprotocol\u002Frecipes\u002Ftoken-overview",{"title":111,"path":112,"stem":113,"children":114,"page":21},"Build","\u002Fbuild","build",[115,119,123,127,131,135,139,143,147,150],{"title":116,"path":117,"stem":118},"Integrating with the M0 Portals","\u002Fbuild\u002Fbridging-developer","build\u002Fbridging-developer",{"title":120,"path":121,"stem":122},"Bridging M And wM Tokens","\u002Fbuild\u002Fbridging-user","build\u002Fbridging-user",{"title":124,"path":125,"stem":126},"Stablecoin Extension Templates","\u002Fbuild\u002Fchoosing-your-model","build\u002Fchoosing-your-model",{"title":128,"path":129,"stem":130},"How to Design Your Stablecoin","\u002Fbuild\u002Foverview","build\u002Foverview",{"title":132,"path":133,"stem":134},"Implementation Guide: NoYield","\u002Fbuild\u002Fsvm-noyield-guide","build\u002Fsvm-noyield-guide",{"title":136,"path":137,"stem":138},"Getting started","\u002Fbuild\u002Fsvm-noyield-guide-overview","build\u002Fsvm-noyield-guide-overview",{"title":140,"path":141,"stem":142},"Implementation Guide: MYieldToOne (Onshore)","\u002Fbuild\u002Ftreasury-guide","build\u002Ftreasury-guide",{"title":144,"path":145,"stem":146},"Implementation Guide: JMI (Offshore)","\u002Fbuild\u002Ftreasury-jmi-guide","build\u002Ftreasury-jmi-guide",{"title":136,"path":148,"stem":149},"\u002Fbuild\u002Ftreasury-jmi-overview","build\u002Ftreasury-jmi-overview",{"title":136,"path":151,"stem":152},"\u002Fbuild\u002Ftreasury-model","build\u002Ftreasury-model",{"title":154,"path":155,"stem":156,"children":157,"page":21},"Get Started","\u002Fget-started","get-started",[158,162,166,170,174,178],{"title":159,"path":160,"stem":161},"Accessing Liquidity","\u002Fget-started\u002Faccessing-liquidity","get-started\u002Faccessing-liquidity",{"title":163,"path":164,"stem":165},"Cross Chain Interoperability","\u002Fget-started\u002Fcross-chain","get-started\u002Fcross-chain",{"title":167,"path":168,"stem":169},"Architecture Overview","\u002Fget-started\u002Fhow-it-works","get-started\u002Fhow-it-works",{"title":171,"path":172,"stem":173},"Overview","\u002Fget-started\u002Foverview","get-started\u002Foverview",{"title":175,"path":176,"stem":177},"Platform Mechanics & Reward Programmability","\u002Fget-started\u002Fprotocol-mechanics","get-started\u002Fprotocol-mechanics",{"title":179,"path":180,"stem":181},"Stablecoin Features","\u002Fget-started\u002Fstablecoin-features","get-started\u002Fstablecoin-features",{"title":183,"path":184,"stem":185,"children":186,"page":21},"Issuers","\u002Fissuers","issuers",[187],{"title":188,"path":189,"stem":190},"Issue Your Stablecoin","\u002Fissuers\u002Foverview","issuers\u002Foverview",{"title":65,"path":192,"stem":193,"children":194,"page":21},"\u002Fprotocol","protocol",[195,199,203,207,211,215,219,223,227,231,235,239,243],{"title":196,"path":197,"stem":198},"Distribution Vault","\u002Fprotocol\u002Fdistribution-vault","protocol\u002Fdistribution-vault",{"title":200,"path":201,"stem":202},"M0 Extensions","\u002Fprotocol\u002Fextensions","protocol\u002Fextensions",{"title":204,"path":205,"stem":206},"Limit Order Protocol","\u002Fprotocol\u002Flimit-order-protocol","protocol\u002Flimit-order-protocol",{"title":208,"path":209,"stem":210},"M0 Portals","\u002Fprotocol\u002Fm-portals","protocol\u002Fm-portals",{"title":212,"path":213,"stem":214},"M Token","\u002Fprotocol\u002Fm-token","protocol\u002Fm-token",{"title":216,"path":217,"stem":218},"M Token Specification","\u002Fprotocol\u002Fm-token-spec","protocol\u002Fm-token-spec",{"title":220,"path":221,"stem":222},"Minting & Burning (MinterGateway)","\u002Fprotocol\u002Fminting-burning","protocol\u002Fminting-burning",{"title":224,"path":225,"stem":226},"Portal V2","\u002Fprotocol\u002Fportal-v2","protocol\u002Fportal-v2",{"title":228,"path":229,"stem":230},"Rate Models & Yield","\u002Fprotocol\u002Frate-models","protocol\u002Frate-models",{"title":232,"path":233,"stem":234},"Roles","\u002Fprotocol\u002Froles","protocol\u002Froles",{"title":236,"path":237,"stem":238},"M0 On Solana","\u002Fprotocol\u002Fsolana","protocol\u002Fsolana",{"title":240,"path":241,"stem":242},"Wrapped M (wM)","\u002Fprotocol\u002Fwrapped-m","protocol\u002Fwrapped-m",{"title":244,"path":245,"stem":246},"Wrapped M Specification","\u002Fprotocol\u002Fwrapped-m-spec","protocol\u002Fwrapped-m-spec",{"title":248,"path":249,"stem":250,"children":251,"page":21},"Resources","\u002Fresources","resources",[252,256,260],{"title":253,"path":254,"stem":255},"Deployments","\u002Fresources\u002Faddresses","resources\u002Faddresses",{"title":257,"path":258,"stem":259},"Audits","\u002Fresources\u002Faudits","resources\u002Faudits",{"title":261,"path":262,"stem":263},"Glossary","\u002Fresources\u002Fglossary","resources\u002Fglossary",{"id":265,"title":95,"body":266,"description":518,"draft":21,"extension":519,"links":520,"meta":521,"navigation":522,"path":96,"seo":523,"stem":97,"__hash__":526},"docs\u002Fapi-reference\u002Fprotocol\u002Frecipes\u002Fnetwork-supply.md",{"type":267,"value":268,"toc":515},"minimark",[269,273,279,338,349,488,491,499,504,511],[270,271,272],"p",{},"Use this query to get the current network supply and the reserves (collateral) of the M0 Protocol.",[274,275,276],"note",{},[270,277,278],{},"Heads up! supply is currently only available on Ethereum. See Limitations\nbelow.",[280,281,286],"pre",{"className":282,"code":283,"language":284,"meta":285,"style":285},"language-graphql shiki shiki-themes material-theme-lighter material-theme material-theme-palenight","query NetworkSupplyQuery($from: String!, $to: String!) {\n  supply: totalOwedMs(orderBy: blockTimestamp, orderDirection: desc, first: 1) {\n    amount\n  }\n  collateral: CollateralTimeSeriesGroupByType(from: $from, to: $to) {\n    eligibleTotal\n  }\n}\n","graphql","",[287,288,289,297,303,309,315,321,327,332],"code",{"__ignoreMap":285},[290,291,294],"span",{"class":292,"line":293},"line",1,[290,295,296],{},"query NetworkSupplyQuery($from: String!, $to: String!) {\n",[290,298,300],{"class":292,"line":299},2,[290,301,302],{},"  supply: totalOwedMs(orderBy: blockTimestamp, orderDirection: desc, first: 1) {\n",[290,304,306],{"class":292,"line":305},3,[290,307,308],{},"    amount\n",[290,310,312],{"class":292,"line":311},4,[290,313,314],{},"  }\n",[290,316,318],{"class":292,"line":317},5,[290,319,320],{},"  collateral: CollateralTimeSeriesGroupByType(from: $from, to: $to) {\n",[290,322,324],{"class":292,"line":323},6,[290,325,326],{},"    eligibleTotal\n",[290,328,330],{"class":292,"line":329},7,[290,331,314],{},[290,333,335],{"class":292,"line":334},8,[290,336,337],{},"}\n",[270,339,340,341,344,345,348],{},"Example output with ",[287,342,343],{},"from"," and ",[287,346,347],{},"to"," variables set to the last \"2025-10-03\":",[280,350,354],{"className":351,"code":352,"language":353,"meta":285,"style":285},"language-json shiki shiki-themes material-theme-lighter material-theme material-theme-palenight","{\n  \"data\": {\n    \"supply\": [\n      {\n        \"amount\": \"779753099463256\"\n      }\n    ],\n    \"collateral\": [\n      {\n        \"eligibleTotal\": 797237488334889\n      }\n    ]\n  }\n}\n","json",[287,355,356,362,380,396,401,424,429,434,447,452,467,472,478,483],{"__ignoreMap":285},[290,357,358],{"class":292,"line":293},[290,359,361],{"class":360},"sMK4o","{\n",[290,363,364,367,371,374,377],{"class":292,"line":299},[290,365,366],{"class":360},"  \"",[290,368,370],{"class":369},"spNyl","data",[290,372,373],{"class":360},"\"",[290,375,376],{"class":360},":",[290,378,379],{"class":360}," {\n",[290,381,382,385,389,391,393],{"class":292,"line":305},[290,383,384],{"class":360},"    \"",[290,386,388],{"class":387},"sBMFI","supply",[290,390,373],{"class":360},[290,392,376],{"class":360},[290,394,395],{"class":360}," [\n",[290,397,398],{"class":292,"line":311},[290,399,400],{"class":360},"      {\n",[290,402,403,406,410,412,414,417,421],{"class":292,"line":317},[290,404,405],{"class":360},"        \"",[290,407,409],{"class":408},"sbssI","amount",[290,411,373],{"class":360},[290,413,376],{"class":360},[290,415,416],{"class":360}," \"",[290,418,420],{"class":419},"sfazB","779753099463256",[290,422,423],{"class":360},"\"\n",[290,425,426],{"class":292,"line":323},[290,427,428],{"class":360},"      }\n",[290,430,431],{"class":292,"line":329},[290,432,433],{"class":360},"    ],\n",[290,435,436,438,441,443,445],{"class":292,"line":334},[290,437,384],{"class":360},[290,439,440],{"class":387},"collateral",[290,442,373],{"class":360},[290,444,376],{"class":360},[290,446,395],{"class":360},[290,448,450],{"class":292,"line":449},9,[290,451,400],{"class":360},[290,453,455,457,460,462,464],{"class":292,"line":454},10,[290,456,405],{"class":360},[290,458,459],{"class":408},"eligibleTotal",[290,461,373],{"class":360},[290,463,376],{"class":360},[290,465,466],{"class":408}," 797237488334889\n",[290,468,470],{"class":292,"line":469},11,[290,471,428],{"class":360},[290,473,475],{"class":292,"line":474},12,[290,476,477],{"class":360},"    ]\n",[290,479,481],{"class":292,"line":480},13,[290,482,314],{"class":360},[290,484,486],{"class":292,"line":485},14,[290,487,337],{"class":360},[270,489,490],{},"As you noticed, the collateral query is a time series query, so you can get the collateral information for a specific\ntime range.",[270,492,493,494,498],{},"For detailed breakdowns of collateral by remaining term and on-chain tokens, see\n",[495,496,497],"a",{"href":80},"Collateral composition",".",[500,501,503],"h3",{"id":502},"limitations","Limitations",[270,505,506,507,510],{},"Note that network supply is currently only available for Ethereum through the Protocol API. Support for other chains\nwhere ",[287,508,509],{},"$M"," is present (Arbitrum, Hyperliquid, etc.) is coming soon.",[512,513,514],"style",{},"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);}html pre.shiki code .sMK4o, html code.shiki .sMK4o{--shiki-light:#39ADB5;--shiki-default:#89DDFF;--shiki-dark:#89DDFF}html pre.shiki code .spNyl, html code.shiki .spNyl{--shiki-light:#9C3EDA;--shiki-default:#C792EA;--shiki-dark:#C792EA}html pre.shiki code .sBMFI, html code.shiki .sBMFI{--shiki-light:#E2931D;--shiki-default:#FFCB6B;--shiki-dark:#FFCB6B}html pre.shiki code .sbssI, html code.shiki .sbssI{--shiki-light:#F76D47;--shiki-default:#F78C6C;--shiki-dark:#F78C6C}html pre.shiki code .sfazB, html code.shiki .sfazB{--shiki-light:#91B859;--shiki-default:#C3E88D;--shiki-dark:#C3E88D}",{"title":285,"searchDepth":293,"depth":299,"links":516},[517],{"id":502,"depth":305,"text":503},"Query the current network supply and reserves (collateral) of the M0 Protocol.","md",null,{},true,{"title":524,"description":525},"Network Supply Query | M0 Protocol API","GraphQL query for M0 network supply. Returns total $M supply, earning and non-earning balances, and extension supply across supported chains.","eOLNmks5Ii9_vIb-HRM7r9dPBxjhs7H2fXNVUhOB2Rs",[528,530],{"title":91,"path":92,"stem":93,"description":529,"children":-1},"Query the daily expenses of a Minter by address over a given date range.",{"title":99,"path":100,"stem":101,"description":531,"children":-1},"Query historical values for protocol configuration parameters."]