[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"navigation":3,"\u002Fapi-reference\u002Frecipes\u002Fdaily-yields":260,"\u002Fapi-reference\u002Frecipes\u002Fdaily-yields-surround":1463},[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":78,"body":262,"description":1456,"extension":1457,"links":1458,"meta":1459,"navigation":1460,"path":79,"seo":1461,"stem":80,"__hash__":1462},"docs\u002Fapi-reference\u002Frecipes\u002Fdaily-yields.md",{"type":263,"value":264,"toc":1439},"minimark",[265,269,274,277,285,290,450,453,457,504,508,552,566,570,573,698,702,727,731,741,787,793,855,861,902,911,917,961,966,1014,1018,1021,1071,1075,1085,1135,1148,1246,1249,1292,1306,1375,1379,1382,1435],[266,267,268],"p",{},"This guide outlines how to retrieve daily yield accrual data for various stablecoins using our GraphQL API. Depending on\nthe stablecoin, yield values can be queried as aggregated data for specific stablecoins or for individual holders.",[270,271,273],"h2",{"id":272},"aggregated-yield-data-by-stablecoin","Aggregated Yield Data by Stablecoin",[266,275,276],{},"For most of our stablecoins, we provide aggregated yield and supply data per chain. This includes chain-specific queries\nwith a prefix for other stablecoins.",[266,278,279,280,284],{},"The snippets below use ",[281,282,283],"strong",{},"Metamask USD (mUSD)"," as an example. You can find all supported stablecoins and chain prefixes\nbelow",[286,287,289],"h3",{"id":288},"aggregated-data","Aggregated data",[291,292,297],"pre",{"className":293,"code":294,"language":295,"meta":296,"style":296},"language-graphql shiki shiki-themes material-theme-lighter material-theme material-theme-palenight","# Fetches aggregated data for mUSD on Mainnet, Linea, and BSC\nquery GetMusdStablecoin {\n  mainnet: musd_mainnet_stablecoins {\n    id\n    claimed\n    minted\n    accruedYield\n    supply\n    lastUpdate\n  }\n  linea: musd_linea_stablecoins {\n    id\n    claimed\n    minted\n    accruedYield\n    supply\n    lastUpdate\n  }\n  bsc: musd_bsc_stablecoins {\n    id\n    claimed\n    minted\n    accruedYield\n    supply\n    lastUpdate\n  }\n}\n","graphql","",[298,299,300,308,314,320,326,332,338,344,350,356,362,368,373,378,383,388,393,398,403,409,414,419,424,429,434,439,444],"code",{"__ignoreMap":296},[301,302,305],"span",{"class":303,"line":304},"line",1,[301,306,307],{},"# Fetches aggregated data for mUSD on Mainnet, Linea, and BSC\n",[301,309,311],{"class":303,"line":310},2,[301,312,313],{},"query GetMusdStablecoin {\n",[301,315,317],{"class":303,"line":316},3,[301,318,319],{},"  mainnet: musd_mainnet_stablecoins {\n",[301,321,323],{"class":303,"line":322},4,[301,324,325],{},"    id\n",[301,327,329],{"class":303,"line":328},5,[301,330,331],{},"    claimed\n",[301,333,335],{"class":303,"line":334},6,[301,336,337],{},"    minted\n",[301,339,341],{"class":303,"line":340},7,[301,342,343],{},"    accruedYield\n",[301,345,347],{"class":303,"line":346},8,[301,348,349],{},"    supply\n",[301,351,353],{"class":303,"line":352},9,[301,354,355],{},"    lastUpdate\n",[301,357,359],{"class":303,"line":358},10,[301,360,361],{},"  }\n",[301,363,365],{"class":303,"line":364},11,[301,366,367],{},"  linea: musd_linea_stablecoins {\n",[301,369,371],{"class":303,"line":370},12,[301,372,325],{},[301,374,376],{"class":303,"line":375},13,[301,377,331],{},[301,379,381],{"class":303,"line":380},14,[301,382,337],{},[301,384,386],{"class":303,"line":385},15,[301,387,343],{},[301,389,391],{"class":303,"line":390},16,[301,392,349],{},[301,394,396],{"class":303,"line":395},17,[301,397,355],{},[301,399,401],{"class":303,"line":400},18,[301,402,361],{},[301,404,406],{"class":303,"line":405},19,[301,407,408],{},"  bsc: musd_bsc_stablecoins {\n",[301,410,412],{"class":303,"line":411},20,[301,413,325],{},[301,415,417],{"class":303,"line":416},21,[301,418,331],{},[301,420,422],{"class":303,"line":421},22,[301,423,337],{},[301,425,427],{"class":303,"line":426},23,[301,428,343],{},[301,430,432],{"class":303,"line":431},24,[301,433,349],{},[301,435,437],{"class":303,"line":436},25,[301,438,355],{},[301,440,442],{"class":303,"line":441},26,[301,443,361],{},[301,445,447],{"class":303,"line":446},27,[301,448,449],{},"}\n",[266,451,452],{},"You can also get daily snapshots for yield and supply for these stablecoins.",[286,454,456],{"id":455},"daily-yield-snapshots","Daily Yield Snapshots",[291,458,460],{"className":293,"code":459,"language":295,"meta":296,"style":296},"# Fetches daily yield snapshots for mUSD on Mainnet\nquery GetMusdDailyYields {\n  musd_mainnet_yieldStats_collection(interval: day) {\n    id\n    timestamp\n    amount\n    blockNumber\n  }\n}\n",[298,461,462,467,472,477,481,486,491,496,500],{"__ignoreMap":296},[301,463,464],{"class":303,"line":304},[301,465,466],{},"# Fetches daily yield snapshots for mUSD on Mainnet\n",[301,468,469],{"class":303,"line":310},[301,470,471],{},"query GetMusdDailyYields {\n",[301,473,474],{"class":303,"line":316},[301,475,476],{},"  musd_mainnet_yieldStats_collection(interval: day) {\n",[301,478,479],{"class":303,"line":322},[301,480,325],{},[301,482,483],{"class":303,"line":328},[301,484,485],{},"    timestamp\n",[301,487,488],{"class":303,"line":334},[301,489,490],{},"    amount\n",[301,492,493],{"class":303,"line":340},[301,494,495],{},"    blockNumber\n",[301,497,498],{"class":303,"line":346},[301,499,361],{},[301,501,502],{"class":303,"line":352},[301,503,449],{},[286,505,507],{"id":506},"daily-supply-snapshots","Daily Supply Snapshots",[291,509,511],{"className":293,"code":510,"language":295,"meta":296,"style":296},"# Fetches daily supply snapshots for mUSD on Mainnet\nquery GetMusdDailySupply {\n  musd_mainnet_supplyStats_collection(interval: day) {\n    id\n    timestamp\n    amount\n    blockNumber\n  }\n}\n",[298,512,513,518,523,528,532,536,540,544,548],{"__ignoreMap":296},[301,514,515],{"class":303,"line":304},[301,516,517],{},"# Fetches daily supply snapshots for mUSD on Mainnet\n",[301,519,520],{"class":303,"line":310},[301,521,522],{},"query GetMusdDailySupply {\n",[301,524,525],{"class":303,"line":316},[301,526,527],{},"  musd_mainnet_supplyStats_collection(interval: day) {\n",[301,529,530],{"class":303,"line":322},[301,531,325],{},[301,533,534],{"class":303,"line":328},[301,535,485],{},[301,537,538],{"class":303,"line":334},[301,539,490],{},[301,541,542],{"class":303,"line":340},[301,543,495],{},[301,545,546],{"class":303,"line":346},[301,547,361],{},[301,549,550],{"class":303,"line":352},[301,551,449],{},[553,554,555],"note",{},[266,556,557,558,565],{},"You can find more supported queries in the interactive\n",[559,560,564],"a",{"href":561,"rel":562},"https:\u002F\u002Fprotocol-api.m0.org\u002Fgraphql",[563],"nofollow","GraphQL Playground documentation",".",[286,567,569],{"id":568},"supported-stablecoins-and-prefixes","Supported Stablecoins and Prefixes",[266,571,572],{},"The following table lists the stablecoins that support prefixed queries and the corresponding prefixes for each chain.",[574,575,576,593],"table",{},[577,578,579],"thead",{},[580,581,582,587,590],"tr",{},[583,584,586],"th",{"align":585},"left","Stablecoin",[583,588,589],{"align":585},"Ticker",[583,591,592],{"align":585},"Prefixes",[594,595,596,610,627,640,653,666,685],"tbody",{},[580,597,598,602,605],{},[599,600,601],"td",{"align":585},"USDhl",[599,603,604],{"align":585},"USDHL",[599,606,607],{"align":585},[298,608,609],{},"usdhl_hyperevm_",[580,611,612,615,618],{},[599,613,614],{"align":585},"Braid Dollar",[599,616,617],{"align":585},"USDZ",[599,619,620,623,624],{"align":585},[298,621,622],{},"usdz_mainnet_",", ",[298,625,626],{},"usdz_arbitrum_",[580,628,629,632,635],{},[599,630,631],{"align":585},"Dfns Rewards",[599,633,634],{"align":585},"0fns",[599,636,637],{"align":585},[298,638,639],{},"dfns_mainnet_",[580,641,642,645,648],{},[599,643,644],{"align":585},"Startale USD",[599,646,647],{"align":585},"USDSC",[599,649,650],{"align":585},[298,651,652],{},"usdsc_soneium_",[580,654,655,658,661],{},[599,656,657],{"align":585},"MANTRA USD",[599,659,660],{"align":585},"mantraUSD",[599,662,663],{"align":585},[298,664,665],{},"mantrausd_mantra_",[580,667,668,671,674],{},[599,669,670],{"align":585},"Metamask USD",[599,672,673],{"align":585},"mUSD",[599,675,676,623,679,623,682],{"align":585},[298,677,678],{},"musd_mainnet_",[298,680,681],{},"musd_linea_",[298,683,684],{},"musd_binance_",[580,686,687,690,693],{},[599,688,689],{"align":585},"Daylight USD",[599,691,692],{"align":585},"GRID",[599,694,695],{"align":585},[298,696,697],{},"grid_plasma_",[270,699,701],{"id":700},"yield-snapshots-on-ethereum","Yield Snapshots on Ethereum",[266,703,704,705,708,709,712,713,716,717,720,721,723,724,565],{},"For stablecoins like Noble Dollar (USDN), Wrapped ",[298,706,707],{},"$M"," (",[298,710,711],{},"$wM","), Usual (UsualM), and USDai, use the ",[298,714,715],{},"MHolderSnapshots"," and\n",[298,718,719],{},"MHolders"," queries that return yield information for ",[298,722,707],{}," Earners on ",[281,725,726],{},"Ethereum",[286,728,730],{"id":729},"for-noble-dollar-usdn","For Noble Dollar (USDN)",[266,732,733,734,737,738,740],{},"This query returns daily snapshots of accrued yield for a given USDN holder. You can specify a starting date with the\n",[298,735,736],{},"from"," parameter. If ",[298,739,736],{}," is omitted, it defaults to the last 30 days.",[291,742,744],{"className":293,"code":743,"language":295,"meta":296,"style":296},"# Fetches daily yield snapshots for a USDN holder\nquery UsdnYieldSnapshots($address: String!, $from: String) {\n  MHolderSnapshots(address: $address, from: $from) {\n    balance\n    accruedYield\n    timestamp\n    principal\n  }\n}\n",[298,745,746,751,756,761,766,770,774,779,783],{"__ignoreMap":296},[301,747,748],{"class":303,"line":304},[301,749,750],{},"# Fetches daily yield snapshots for a USDN holder\n",[301,752,753],{"class":303,"line":310},[301,754,755],{},"query UsdnYieldSnapshots($address: String!, $from: String) {\n",[301,757,758],{"class":303,"line":316},[301,759,760],{},"  MHolderSnapshots(address: $address, from: $from) {\n",[301,762,763],{"class":303,"line":322},[301,764,765],{},"    balance\n",[301,767,768],{"class":303,"line":328},[301,769,343],{},[301,771,772],{"class":303,"line":334},[301,773,485],{},[301,775,776],{"class":303,"line":340},[301,777,778],{},"    principal\n",[301,780,781],{"class":303,"line":346},[301,782,361],{},[301,784,785],{"class":303,"line":352},[301,786,449],{},[266,788,789,792],{},[281,790,791],{},"Example:"," Get accrued yield snapshots for a USDN holder since April 1st, 2025.",[291,794,798],{"className":795,"code":796,"language":797,"meta":296,"style":296},"language-json shiki shiki-themes material-theme-lighter material-theme material-theme-palenight","{\n  \"address\": \"0x83Ae82Bd4054e815fB7B189C39D9CE670369ea16\",\n  \"from\": \"2025-04-01\"\n}\n","json",[298,799,800,806,833,851],{"__ignoreMap":296},[301,801,802],{"class":303,"line":304},[301,803,805],{"class":804},"sMK4o","{\n",[301,807,808,811,815,818,821,824,828,830],{"class":303,"line":310},[301,809,810],{"class":804},"  \"",[301,812,814],{"class":813},"spNyl","address",[301,816,817],{"class":804},"\"",[301,819,820],{"class":804},":",[301,822,823],{"class":804}," \"",[301,825,827],{"class":826},"sfazB","0x83Ae82Bd4054e815fB7B189C39D9CE670369ea16",[301,829,817],{"class":804},[301,831,832],{"class":804},",\n",[301,834,835,837,839,841,843,845,848],{"class":303,"line":316},[301,836,810],{"class":804},[301,838,736],{"class":813},[301,840,817],{"class":804},[301,842,820],{"class":804},[301,844,823],{"class":804},[301,846,847],{"class":826},"2025-04-01",[301,849,850],{"class":804},"\"\n",[301,852,853],{"class":303,"line":322},[301,854,449],{"class":804},[266,856,857,858,860],{},"To get only the current values for USDN holders, you can use the ",[298,859,719],{}," query.",[291,862,864],{"className":293,"code":863,"language":295,"meta":296,"style":296},"# Fetches current yield values for the top 100 USDN holders\nquery GetUsdnHolders {\n  MHolders(first: 100) {\n    address\n    balance\n    accruedYield\n  }\n}\n",[298,865,866,871,876,881,886,890,894,898],{"__ignoreMap":296},[301,867,868],{"class":303,"line":304},[301,869,870],{},"# Fetches current yield values for the top 100 USDN holders\n",[301,872,873],{"class":303,"line":310},[301,874,875],{},"query GetUsdnHolders {\n",[301,877,878],{"class":303,"line":316},[301,879,880],{},"  MHolders(first: 100) {\n",[301,882,883],{"class":303,"line":322},[301,884,885],{},"    address\n",[301,887,888],{"class":303,"line":328},[301,889,765],{},[301,891,892],{"class":303,"line":334},[301,893,343],{},[301,895,896],{"class":303,"line":340},[301,897,361],{},[301,899,900],{"class":303,"line":346},[301,901,449],{},[286,903,905,906,708,908,910],{"id":904},"for-wrapped-m-wm-usual-usualm","For Wrapped ",[298,907,707],{},[298,909,711],{},") \u002F Usual (UsualM)",[266,912,913,914,916],{},"This query returns daily snapshots of accrued yield for a given wM holder. Like the previous query, it supports the\n",[298,915,736],{}," parameter and defaults to the last 30 days if omitted.",[291,918,920],{"className":293,"code":919,"language":295,"meta":296,"style":296},"# Fetches daily yield snapshots for a wM holder\nquery WmYieldSnapshots($address: String!, $from: String) {\n  WMHolderSnapshots(address: $address, from: $from) {\n    balance\n    accruedYield\n    timestamp\n    principal\n  }\n}\n",[298,921,922,927,932,937,941,945,949,953,957],{"__ignoreMap":296},[301,923,924],{"class":303,"line":304},[301,925,926],{},"# Fetches daily yield snapshots for a wM holder\n",[301,928,929],{"class":303,"line":310},[301,930,931],{},"query WmYieldSnapshots($address: String!, $from: String) {\n",[301,933,934],{"class":303,"line":316},[301,935,936],{},"  WMHolderSnapshots(address: $address, from: $from) {\n",[301,938,939],{"class":303,"line":322},[301,940,765],{},[301,942,943],{"class":303,"line":328},[301,944,343],{},[301,946,947],{"class":303,"line":334},[301,948,485],{},[301,950,951],{"class":303,"line":340},[301,952,778],{},[301,954,955],{"class":303,"line":346},[301,956,361],{},[301,958,959],{"class":303,"line":352},[301,960,449],{},[266,962,963,965],{},[281,964,791],{}," Get accrued yield snapshots for a wM holder since April 1st, 2025.",[291,967,969],{"className":795,"code":968,"language":797,"meta":296,"style":296},"{\n  \"address\": \"0x4Cbc25559DbBD1272EC5B64c7b5F48a2405e6470\",\n  \"from\": \"2025-04-01\"\n}\n",[298,970,971,975,994,1010],{"__ignoreMap":296},[301,972,973],{"class":303,"line":304},[301,974,805],{"class":804},[301,976,977,979,981,983,985,987,990,992],{"class":303,"line":310},[301,978,810],{"class":804},[301,980,814],{"class":813},[301,982,817],{"class":804},[301,984,820],{"class":804},[301,986,823],{"class":804},[301,988,989],{"class":826},"0x4Cbc25559DbBD1272EC5B64c7b5F48a2405e6470",[301,991,817],{"class":804},[301,993,832],{"class":804},[301,995,996,998,1000,1002,1004,1006,1008],{"class":303,"line":316},[301,997,810],{"class":804},[301,999,736],{"class":813},[301,1001,817],{"class":804},[301,1003,820],{"class":804},[301,1005,823],{"class":804},[301,1007,847],{"class":826},[301,1009,850],{"class":804},[301,1011,1012],{"class":303,"line":322},[301,1013,449],{"class":804},[286,1015,1017],{"id":1016},"for-usdai-on-arbitrum","For USDai on Arbitrum",[266,1019,1020],{},"This query retrieves current yield values for USDai holders on Arbitrum.",[291,1022,1024],{"className":293,"code":1023,"language":295,"meta":296,"style":296},"# Fetches current yield values for USDai holders on Arbitrum\nquery GetUsdaiArbitrumData {\n  WMHoldersArbitrum {\n    address\n    balance\n    accruedYield\n    claimedYield\n    unclaimedYield\n  }\n}\n",[298,1025,1026,1031,1036,1041,1045,1049,1053,1058,1063,1067],{"__ignoreMap":296},[301,1027,1028],{"class":303,"line":304},[301,1029,1030],{},"# Fetches current yield values for USDai holders on Arbitrum\n",[301,1032,1033],{"class":303,"line":310},[301,1034,1035],{},"query GetUsdaiArbitrumData {\n",[301,1037,1038],{"class":303,"line":316},[301,1039,1040],{},"  WMHoldersArbitrum {\n",[301,1042,1043],{"class":303,"line":322},[301,1044,885],{},[301,1046,1047],{"class":303,"line":328},[301,1048,765],{},[301,1050,1051],{"class":303,"line":334},[301,1052,343],{},[301,1054,1055],{"class":303,"line":340},[301,1056,1057],{},"    claimedYield\n",[301,1059,1060],{"class":303,"line":346},[301,1061,1062],{},"    unclaimedYield\n",[301,1064,1065],{"class":303,"line":352},[301,1066,361],{},[301,1068,1069],{"class":303,"line":358},[301,1070,449],{},[270,1072,1074],{"id":1073},"yield-snapshots-on-solana","Yield Snapshots on Solana",[266,1076,1077,1078,1081,1082,1084],{},"Use ",[298,1079,1080],{},"MSolanaYieldSnapshots"," to retrieve daily yield snapshots for ",[298,1083,707],{}," earners on Solana.",[291,1086,1088],{"className":293,"code":1087,"language":295,"meta":296,"style":296},"# Fetches daily yield snapshots for all $M earners on Solana\nquery GetMSolanaDailyYields {\n  MSolanaYieldSnapshots {\n    address\n    dayTimestamp\n    balance\n    accruedYield\n    earned\n  }\n}\n",[298,1089,1090,1095,1100,1105,1109,1114,1118,1122,1127,1131],{"__ignoreMap":296},[301,1091,1092],{"class":303,"line":304},[301,1093,1094],{},"# Fetches daily yield snapshots for all $M earners on Solana\n",[301,1096,1097],{"class":303,"line":310},[301,1098,1099],{},"query GetMSolanaDailyYields {\n",[301,1101,1102],{"class":303,"line":316},[301,1103,1104],{},"  MSolanaYieldSnapshots {\n",[301,1106,1107],{"class":303,"line":322},[301,1108,885],{},[301,1110,1111],{"class":303,"line":328},[301,1112,1113],{},"    dayTimestamp\n",[301,1115,1116],{"class":303,"line":334},[301,1117,765],{},[301,1119,1120],{"class":303,"line":340},[301,1121,343],{},[301,1123,1124],{"class":303,"line":346},[301,1125,1126],{},"    earned\n",[301,1128,1129],{"class":303,"line":352},[301,1130,361],{},[301,1132,1133],{"class":303,"line":358},[301,1134,449],{},[266,1136,1137,1138,1140,1141,1144,1145,565],{},"The ",[298,1139,814],{}," and date filters are optional. For date ranges, use ",[298,1142,1143],{},"day_timestamp_gte"," and ",[298,1146,1147],{},"day_timestamp_lte",[291,1149,1151],{"className":293,"code":1150,"language":295,"meta":296,"style":296},"# Fetches daily yield snapshots for a specific holder in a time range\nquery GetMSolanaDailyYieldsForAddress(\n  $address: String!\n  $from: String!\n  $to: String!\n) {\n  MSolanaYieldSnapshots(\n    address: $address\n    day_timestamp_gte: $from\n    day_timestamp_lte: $to\n    orderDirection: desc\n  ) {\n    address\n    dayTimestamp\n    balance\n    accruedYield\n    earned\n    fromTs\n  }\n}\n",[298,1152,1153,1158,1163,1168,1173,1178,1183,1188,1193,1198,1203,1208,1213,1217,1221,1225,1229,1233,1238,1242],{"__ignoreMap":296},[301,1154,1155],{"class":303,"line":304},[301,1156,1157],{},"# Fetches daily yield snapshots for a specific holder in a time range\n",[301,1159,1160],{"class":303,"line":310},[301,1161,1162],{},"query GetMSolanaDailyYieldsForAddress(\n",[301,1164,1165],{"class":303,"line":316},[301,1166,1167],{},"  $address: String!\n",[301,1169,1170],{"class":303,"line":322},[301,1171,1172],{},"  $from: String!\n",[301,1174,1175],{"class":303,"line":328},[301,1176,1177],{},"  $to: String!\n",[301,1179,1180],{"class":303,"line":334},[301,1181,1182],{},") {\n",[301,1184,1185],{"class":303,"line":340},[301,1186,1187],{},"  MSolanaYieldSnapshots(\n",[301,1189,1190],{"class":303,"line":346},[301,1191,1192],{},"    address: $address\n",[301,1194,1195],{"class":303,"line":352},[301,1196,1197],{},"    day_timestamp_gte: $from\n",[301,1199,1200],{"class":303,"line":358},[301,1201,1202],{},"    day_timestamp_lte: $to\n",[301,1204,1205],{"class":303,"line":364},[301,1206,1207],{},"    orderDirection: desc\n",[301,1209,1210],{"class":303,"line":370},[301,1211,1212],{},"  ) {\n",[301,1214,1215],{"class":303,"line":375},[301,1216,885],{},[301,1218,1219],{"class":303,"line":380},[301,1220,1113],{},[301,1222,1223],{"class":303,"line":385},[301,1224,765],{},[301,1226,1227],{"class":303,"line":390},[301,1228,343],{},[301,1230,1231],{"class":303,"line":395},[301,1232,1126],{},[301,1234,1235],{"class":303,"line":400},[301,1236,1237],{},"    fromTs\n",[301,1239,1240],{"class":303,"line":405},[301,1241,361],{},[301,1243,1244],{"class":303,"line":411},[301,1245,449],{},[266,1247,1248],{},"All timestamps are in seconds.",[1250,1251,1252,1258,1264,1274,1286],"ul",{},[1253,1254,1255,1257],"li",{},[298,1256,814],{},": is the earner's Solana address",[1253,1259,1260,1263],{},[298,1261,1262],{},"dayTimestamp",": timestamp for the day entry",[1253,1265,1266,1269,1270,1273],{},[298,1267,1268],{},"timestamp",": timestamp at which the ",[298,1271,1272],{},"earned"," value got calculated",[1253,1275,1276,1278,1279,1282,1283,1285],{},[298,1277,1272],{},": yield accrual between ",[298,1280,1281],{},"fromTs"," to ",[298,1284,1268],{}," value",[1253,1287,1288,1291],{},[298,1289,1290],{},"accruedYield",": total earnings",[266,1293,1294,1297,1298],{},[281,1295,1296],{},"Example holder:"," ",[559,1299,1302,1303],{"href":1300,"rel":1301},"https:\u002F\u002Fsolscan.io\u002Faccount\u002FBVo36cZqxD6KUJGhHPZvBDPbe1Q5fR7ekYDj1mbReVjc",[563],"USDKY ",[298,1304,1305],{},"BVo3...eVjc",[291,1307,1309],{"className":795,"code":1308,"language":797,"meta":296,"style":296},"{\n  \"address\": \"BVo36cZqxD6KUJGhHPZvBDPbe1Q5fR7ekYDj1mbReVjc\",\n  \"from\": \"2025-01-01\",\n  \"to\": \"2025-01-31\"\n}\n",[298,1310,1311,1315,1334,1353,1371],{"__ignoreMap":296},[301,1312,1313],{"class":303,"line":304},[301,1314,805],{"class":804},[301,1316,1317,1319,1321,1323,1325,1327,1330,1332],{"class":303,"line":310},[301,1318,810],{"class":804},[301,1320,814],{"class":813},[301,1322,817],{"class":804},[301,1324,820],{"class":804},[301,1326,823],{"class":804},[301,1328,1329],{"class":826},"BVo36cZqxD6KUJGhHPZvBDPbe1Q5fR7ekYDj1mbReVjc",[301,1331,817],{"class":804},[301,1333,832],{"class":804},[301,1335,1336,1338,1340,1342,1344,1346,1349,1351],{"class":303,"line":316},[301,1337,810],{"class":804},[301,1339,736],{"class":813},[301,1341,817],{"class":804},[301,1343,820],{"class":804},[301,1345,823],{"class":804},[301,1347,1348],{"class":826},"2025-01-01",[301,1350,817],{"class":804},[301,1352,832],{"class":804},[301,1354,1355,1357,1360,1362,1364,1366,1369],{"class":303,"line":322},[301,1356,810],{"class":804},[301,1358,1359],{"class":813},"to",[301,1361,817],{"class":804},[301,1363,820],{"class":804},[301,1365,823],{"class":804},[301,1367,1368],{"class":826},"2025-01-31",[301,1370,850],{"class":804},[301,1372,1373],{"class":303,"line":328},[301,1374,449],{"class":804},[286,1376,1378],{"id":1377},"supported-solana-earners","Supported Solana earners",[266,1380,1381],{},"Currently, the query above will provide information for the following earners",[574,1383,1384,1394],{},[577,1385,1386],{},[580,1387,1388,1391],{},[583,1389,1390],{"align":585},"Earner",[583,1392,1393],{"align":585},"Vault's token account",[594,1395,1396,1403,1411,1419,1427],{},[580,1397,1398,1401],{},[599,1399,1400],{"align":585},"USDKY",[599,1402,1329],{"align":585},[580,1404,1405,1408],{},[599,1406,1407],{"align":585},"USDK",[599,1409,1410],{"align":585},"EHNaRY1ZdtaoPVMqE3TW6pacACzEoU1e9V1ToLyavowN",[580,1412,1413,1416],{},[599,1414,1415],{"align":585},"wM",[599,1417,1418],{"align":585},"7upNeuSPSpinN7zzEsrxMe6p3N6tMub67dkkm5LFBTvp",[580,1420,1421,1424],{},[599,1422,1423],{"align":585},"USD+",[599,1425,1426],{"align":585},"67GWo9en5KtPfeZn5LWrCyhL2w31rf1oqeCoszPUKsAs",[580,1428,1429,1432],{},[599,1430,1431],{"align":585},"XO",[599,1433,1434],{"align":585},"GeBTfYujk4JLr2MBCZznMTLTGch1QrUyYcMKen4KUFU2",[1436,1437,1438],"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 .sfazB, html code.shiki .sfazB{--shiki-light:#91B859;--shiki-default:#C3E88D;--shiki-dark:#C3E88D}",{"title":296,"searchDepth":304,"depth":310,"links":1440},[1441,1447,1453],{"id":272,"depth":310,"text":273,"children":1442},[1443,1444,1445,1446],{"id":288,"depth":316,"text":289},{"id":455,"depth":316,"text":456},{"id":506,"depth":316,"text":507},{"id":568,"depth":316,"text":569},{"id":700,"depth":310,"text":701,"children":1448},[1449,1450,1452],{"id":729,"depth":316,"text":730},{"id":904,"depth":316,"text":1451},"For Wrapped $M ($wM) \u002F Usual (UsualM)",{"id":1016,"depth":316,"text":1017},{"id":1073,"depth":310,"text":1074,"children":1454},[1455],{"id":1377,"depth":316,"text":1378},"Retrieve daily yield accrual data for various stablecoins using the GraphQL API.","md",null,{},true,{"title":78,"description":1456},"NrXA0SySofyuonaj_Ncq6AzJwdtpdiBDQbEs6LppQ_Y",[1464,1466],{"title":74,"path":75,"stem":76,"description":1465,"children":-1},"Retrieve current collateral stats, daily averages, and time-series grouped by remaining term and on-chain tokens.",{"title":82,"path":83,"stem":84,"description":1467,"children":-1},"Query snapshots of the earner rate over time."]