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