Loopscale uniquely supports lending markets across over 100 assets on Solana, from Orca Whirlpool LP positions to native-staked SOL. Powering these markets requires price infrastructure that is both reliable and flexible across a wide range of asset types.This infrastructure is made possible through our integration with Pyth Network.
Every transaction on Loopscale relies on accurate pricing. Loan-to-value ratios, liquidation thresholds, and risk management are all tied to the integrity of the price feed. Loopscale uses both spot and exponential moving average (EMA) prices from Pyth, applying each based on the type of transaction being performed.For live loan activities (like borrowing more, withdrawing collateral, or modifying an LP position) Loopscale uses EMA pricing. This helps protect against price manipulation by smoothing out short-term volatility. A user can’t exploit a temporary spike or dip in price to take out an unhealthy loan, because the EMA will lag slightly behind the spot price and reflect a more stable average.In contrast, Loopscale uses spot pricing for liquidations to reflect current market conditions as closely as possible. During sharp market moves, relying on a slower-moving EMA could result in stale prices that lag behind the market. This could make it harder to liquidate positions in time or at a fair value, increasing risk for lenders and liqudiators.Dynamic price infrastructure helps Loopscale maintain protocol safety while still enabling responsive, composable markets.
Loopscale supports a broad range of tokens and financial primitives. While Pyth serves as base oracle for all digital-native assets on Loopscale, Loopscale applies additional logic depending on the asset class. For standard tokens like USDC, SOL, wBTC, JUP, and BONK, Loopscale uses Pyth price feeds directly. These are straightforward assets with deep liquidity and reliable oracle support.For liquid staking and restaking tokens like jitoSOL or jupSOL, Loopscale reads the underlying stake pool state to determine how much native SOL each token represents. We then apply the corresponding Pyth feed to value the base asset. This allows Loopscale to accurately price derivative assets while adapting to changes in stake pool composition over time.LP tokens from AMMs like Orca Whirlpool, Raydium CLMM, and Meteora DLMM are handled by parsing on-chain position data. Loopscale directly reads the token balances in the LP account, then fetches individual prices using Pyth to calculate the total position value. Prices update dynamically as positions are modified. LTV and liquidation thresholds are based on the minimum threshold between the assets in the pair.For perpetual LP tokens from protocols like Flash (FLP), Adrena (ALP), and Jupiter (JLP), Loopscale performs a on-chain read of the pool’s composition and assigns value to each balance using Pyth feeds. Risk parameters depend on this pricing as well as each pool’s redemption mechanics, protocol design, and underlying asset liquidity.Principal tokens from platforms like RateX and Exponent are priced by first determining their exchange rate to the base asset based on maturity or expiry. Loopscale then applies a discount to reflect the token’s pre-maturity value and converts that into a USD-denominated price using Pyth. This ensures that fixed-term tokens reflect both their real-time market price and their time-based value accrual.
Loopscale’s price infrastructure is designed to be modular, ensuring composability for new oracle providers and emerging asset classes. We integrate directly with Pyth for high-frequency, low-latency feeds. These feeds provide the foundation for our price infrastructure, which support a growing range of assets and risk models. By combining on-chain reads with this real-time pricing from Pyth, Loopscale can safely support a diverse range of asset classes and respond quickly to market changes.
{"docsConfig":{"theme":"mint","$schema":"https://mintlify.com/docs.json","name":"Loopscale Blog","description":"Updates, stories, and announcements from the Loopscale team","colors":{"primary":"#276ED6","light":"#F8F9FB","dark":"#151619"},"logo":{"light":"https://mintcdn.com/loopscale2/U0KSNJ0nVPBXFaMz/static/assets/logo/light.svg?fit=max\u0026auto=format\u0026n=U0KSNJ0nVPBXFaMz\u0026q=85\u0026s=58786945a99d8d1612df5d3994ea3cfb","dark":"https://mintcdn.com/loopscale2/U0KSNJ0nVPBXFaMz/static/assets/logo/dark.svg?fit=max\u0026auto=format\u0026n=U0KSNJ0nVPBXFaMz\u0026q=85\u0026s=756518e943e547dacb58a1f35051c184","href":"https://blog.loopscale.com"},"favicon":"https://mintcdn.com/loopscale2/U0KSNJ0nVPBXFaMz/static/assets/favicon.svg?fit=max\u0026auto=format\u0026n=U0KSNJ0nVPBXFaMz\u0026q=85\u0026s=cd5cea43d18427ab7608e27d19e1c717","appearance":{"default":"light","strict":true},"navbar":{"primary":{"type":"button","label":"Launch App","href":"https://app.loopscale.com"}},"footer":{"socials":{"x":"https://x.com/Loopscale","discord":"https://discord.gg/loopscale","linkedin":"https://linkedin.com/company/LoopscaleLabs","website":"https://loopscale.com"}},"seo":{"metatags":{"canonical":"https://blog.loopscale.com"},"indexing":"all"},"fonts":{"family":"ABC Diatype Unlicensed Trial","source":"https://loopscale-site.s3.us-east-1.amazonaws.com/fonts/ABCDiatype-Regular-Trial.woff","format":"woff"},"icons":{"library":"fontawesome"},"styling":{"latex":true},"navigation":{"pages":[]}},"deployment":{"deploymentMetadataValue":{"subdomain":"loopscale2","hasAudioNarration":false,"actualSubdomain":"loopscale2","customDomains":["blog.loopscale.com"],"gitSource":{"type":"github","owner":"loopscalelabs","repo":"blog","deployBranch":"main","contentDirectory":"","isPrivate":true,"mountPath":"","label":""},"chroma":{"liveDeploymentHistoryId":"6a21e724a8fc07c2afd38655","collectionId":"c64f3955-4947-4958-9d51-0338af4b8d24","schemaVersion":"v2"},"entitlements":{"AI_CHAT":{"status":"DISABLED"}},"buildId":"6a21e724a8fc07c2afd38655:success","clientVersion":"0.0.4044","searchFilterCounts":[{"language":"default","tag":"Posts","count":15}]},"assistantConfig":{},"basePath":"","hasChatPermissions":false,"hasWebMcpPermissions":false,"toggles":[{"name":"kill-isr","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-mintlify-slack","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-integrations-settings","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-pr-grouping","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"custom-prefix","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"analytics-v7","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"user-flows-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"no-publish-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-onboarding","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"llms-txt-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving-live","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"stripTemperatureMiddleware","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"support-platform-pylon-zendesk","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"instant-rollback","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications-server","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-fable","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fixed-ai-action-pricing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automation-resolve-merge-conflict","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"scoped-publishing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"mintql","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"page-level-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-version-history-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"billing-page-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"full-page-search","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workspace-projects","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"assistant-v5","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"byok-sep-25","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fork-pr-previews","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"revalidation-jwt","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"vite-origin","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"billing-updated-9-15","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-sso-scim","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"hobby-abuse-scan","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"dashboard-inbox","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-signup","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"turbopuffer-dual-write","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-enabled","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"approve-review-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"sso-setup-deadline-banner","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false}],"googleFontsInlined":false},"customCss":[{"filePath":"static/styles.css","content":"@font-face{font-family:\"ABC Diatype Unlicensed Trial\";src:url(https://loopscale-site.s3.us-east-1.amazonaws.com/fonts/ABCDiatype-Medium-Trial.woff);font-weight:600}@font-face{font-family:\"ABC Diatype Unlicensed Trial\";src:url(https://loopscale-site.s3.us-east-1.amazonaws.com/fonts/ABCDiatype-Bold-Trial.woff);font-weight:700}:root{--blue:39 110 214;--light:248 249 251;--black:21 22 25;--gray:110 133 145;--white:255 255 255;--brand-blue:rgb(var(--blue));--brand-light:rgb(var(--light));--brand-black:rgb(var(--black));--brand-gray:rgb(var(--gray));--brand-white:rgb(var(--white));--brand-pink:#fac1e2;--brand-orange:#fd7448;--brand-prussian:#1a3b53;--primary-background-light:rgb(var(--black) / 0.02);--primary-background:rgb(var(--black) / 0.03);--rounded-full:12px;--rounded-lg:12px;--rounded-md:12px;font-family:\"ABC Diatype Unlicensed Trial\",system-ui,sans-serif}body{font-family:\"ABC Diatype Unlicensed Trial\",system-ui,sans-serif;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;text-rendering:optimizeLegibility}h1,h2,h3,h4,h5,h6 *{color:var(--brand-black)!important}hr{margin-top:1rem!important;margin-bottom:1rem!important}.prose{color:var(--brand-gray);--tw-prose-links:var(--brand-blue)}.prose a{border-bottom:1px solid rgb(var(--blue)/.2);outline-offset:2px}.prose h1.font-semibold,.prose h2.font-semibold,.prose h3.font-semibold,.prose h4.font-semibold,.prose h5.font-semibold,.prose h6.font-semibold{font-weight:700!important}a[aria-label=\"Navigate to header\"]{border-bottom:none}span>img{border-radius:var(--rounded-2xl, 1rem)}.mdx-content,img.rounded{margin-top:1rem}footer>:last-child{display:none}#assistant-entry,#pagination,#search-bar-entry,div#content-area>div.fixed{display:none!important}#navbar [class~=\"lg:hidden\"]{display:none}@media (max-width:480px){#content-container>div.pt-40{padding-top:7.5rem}}@media (min-width:640px){h1#page-title{font-size:2.875rem;line-height:3.125rem}}#navbar-transition{border-color:rgb(var(--black)/.07)}#navbar a[href=\"https://loopscale.com\"]{display:flex;column-gap:.5rem;align-items:center;padding-top:.25rem}@media (min-width:480px){#navbar a[href=\"https://loopscale.com\"]::after{content:\"Blog\";font-weight:600;font-size:.875rem;line-height:1.25rem}}#navigation-items a.text-primary,#navigation-items a.text-primary:hover{color:var(--brand-black)}#navigation-items li>*{background-color:transparent!important;color:var(--brand-gray);padding-top:.25rem;padding-bottom:.25rem;--font-weight-body-custom:500}#navigation-items li>:focus,#navigation-items li>:hover{color:rgb(91 92 94);background-color:transparent!important}#sidebar>div::-webkit-scrollbar,#table-of-contents-content::-webkit-scrollbar{display:none}#sidebar>div,#table-of-contents-content{-ms-overflow-style:none;scrollbar-width:none}button[aria-controls*=accordion]{transition-property:all;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}button[aria-controls*=accordion]:hover{background-color:var(--primary-background-light)}div[id*=accordion]>table{margin-top:0!important}img{margin:0!important}.metadata-card{width:100%;display:flex;flex-direction:row;align-items:center;gap:.75rem}.eyebrow{font-size:1rem!important}.metadata-author{display:flex;flex-direction:row;align-items:center;gap:.5rem;color:rgb(var(--black))}.metadata-author-avatar{border-radius:100px;padding:0!important;margin:0!important;height:28px;width:28px}.metadata-date{color:var(--gray)}.featured-card{display:flex;flex-direction:column;gap:1.5rem;text-decoration:none;color:inherit;padding:1rem 0;transition:opacity .2s ease;border-bottom:1px rgb(var(--black)/.07)}.featured-card:hover{opacity:.8}.featured-card-image-container{width:100%;display:flex;align-items:flex-start}.blog-card-image img,.featured-card-image-container img{width:100%;height:auto;border-radius:8px;display:block;margin:0}.featured-card-content{display:flex;flex-direction:column;justify-content:center;gap:.5rem}.featured-label{color:var(--brand-blue);font-size:.875rem;font-weight:700;margin:0;padding:0}.featured-card .featured-description,.featured-card .featured-title{font-size:1.5rem;font-weight:700;line-height:1.25;margin:0;color:var(--brand-black)!important}.featured-card .featured-description{font-size:1rem;line-height:1.5;font-weight:500;padding:0}.featured-card .featured-date{font-size:.875rem;color:var(--brand-gray);font-weight:500;margin:0}@media (min-width:640px){.featured-card{flex-direction:row;gap:1.75rem;align-items:flex-start;border:0!important}.featured-card-image-container{flex:0 0 57%;max-width:57%}.featured-card-content{flex:1;padding-top:0}.featured-card .featured-title{font-size:1.625rem}}.blog-grid{display:grid;grid-template-columns:1fr;gap:1rem}@media (min-width:640px){.blog-grid{grid-template-columns:repeat(2,1fr);gap:1rem .875rem}}.blog-card{display:flex;flex-direction:column;text-decoration:none;color:inherit;transition:opacity .3s ease;border-bottom:none!important;gap:1rem}.blog-card:hover{opacity:.8}.blog-card-image{width:100%}.blog-card-content{display:flex;flex-direction:column;gap:.25rem}.blog-card-title{font-size:1rem;font-weight:600;line-height:1.35;margin:0;color:var(--brand-black)}.blog-card-date{font-size:.875rem;color:var(--gray);font-weight:500;margin:0;padding:0}.blog-card-image img,.featured-card-image-container img,img{pointer-events:none}"}],"page":{"pagePath":"posts/priceinfra","slug":"/posts/priceinfra","pageMetadata":{"title":"Loopscale Scales Price Infrastructure with Pyth","mode":"center","twitter:image":"/static/assets/images/priceinfra.webp","og:image":"/static/assets/images/priceinfra.webp","og:description":"Loopscale integrates Pyth for reliable, flexible pricing across 100+ Solana assets, powering secure lending, liquidations, and diverse markets.","description":null,"href":"/posts/priceinfra"},"pageType":"default","mdx":{"mdxSource":{"compiledSource":"\"use strict\";const{Fragment:_Fragment,jsx:_jsx,jsxs:_jsxs}=arguments[0];const{useMDXComponents:_provideComponents}=arguments[0];const MetadataCard=({author_id,date})=>{const authors={loopscale:{name:`Loopscale`,avatar:`/static/assets/favicon.svg`},devin:{name:`Devin Black`,avatar:`/static/assets/authors/devin.png`},mary:{name:`Mary Gooneratne`,avatar:`/static/assets/authors/mary.png`},luke:{name:`Luke Truitt`,avatar:`/static/assets/authors/luke.png`},logan:{name:`Logan`,avatar:`/static/assets/authors/logan.webp`}};const author=authors[author_id]||authors[`loopscale`];return _jsxs(`div`,{className:`metadata-card`,children:[_jsxs(`div`,{className:`metadata-author`,children:[_jsx(`img`,{className:`metadata-author-avatar`,src:author.avatar,alt:author.name,style:{pointerEvents:`none`}}),_jsx(`p`,{className:`metadata-author-name`,children:author.name})]}),_jsx(`p`,{className:`metadata-date`,children:date})]})};function _createMdxContent(props){const _components={a:`a`,p:`p`,strong:`strong`,..._provideComponents(),...props.components},{Heading,OptimizedImage,_MdxComponentBoundary}=_components;if(!Heading)_missingMdxReference(`Heading`,true);if(!OptimizedImage)_missingMdxReference(`OptimizedImage`,true);if(!_MdxComponentBoundary)_missingMdxReference(`_MdxComponentBoundary`,true);return _jsxs(_Fragment,{children:[_jsx(_MdxComponentBoundary,{name:`MetadataCard`,children:_jsx(MetadataCard,{author_id:`luke`,date:`April 24, 2025`})}),`\n`,_jsx(OptimizedImage,{src:`https://mintcdn.com/loopscale2/jKpgtqsAcCYny30i/static/assets/images/priceinfra.webp?fit=max\u0026auto=format\u0026n=jKpgtqsAcCYny30i\u0026q=85\u0026s=b7aaff53e6ae68030e3259b43e20e611`,alt:``,\"data-og-width\":`3600`,width:`3600`,\"data-og-height\":`2025`,height:`2025`,\"data-path\":`static/assets/images/priceinfra.webp`,\"data-optimize\":`true`,\"data-opv\":`3`,srcset:`https://mintcdn.com/loopscale2/jKpgtqsAcCYny30i/static/assets/images/priceinfra.webp?w=280\u0026fit=max\u0026auto=format\u0026n=jKpgtqsAcCYny30i\u0026q=85\u0026s=b4b2e92bf0113a9e0aaef3f95718a792 280w, https://mintcdn.com/loopscale2/jKpgtqsAcCYny30i/static/assets/images/priceinfra.webp?w=560\u0026fit=max\u0026auto=format\u0026n=jKpgtqsAcCYny30i\u0026q=85\u0026s=ccb10ff160e732603e3708963e082622 560w, https://mintcdn.com/loopscale2/jKpgtqsAcCYny30i/static/assets/images/priceinfra.webp?w=840\u0026fit=max\u0026auto=format\u0026n=jKpgtqsAcCYny30i\u0026q=85\u0026s=710b0edc3d18af0ec105b3ad0aeca717 840w, https://mintcdn.com/loopscale2/jKpgtqsAcCYny30i/static/assets/images/priceinfra.webp?w=1100\u0026fit=max\u0026auto=format\u0026n=jKpgtqsAcCYny30i\u0026q=85\u0026s=f70bbc27408ee9532181afd1840d935e 1100w, https://mintcdn.com/loopscale2/jKpgtqsAcCYny30i/static/assets/images/priceinfra.webp?w=1650\u0026fit=max\u0026auto=format\u0026n=jKpgtqsAcCYny30i\u0026q=85\u0026s=d8a5d2b87a44e63bc037728b77019ac4 1650w, https://mintcdn.com/loopscale2/jKpgtqsAcCYny30i/static/assets/images/priceinfra.webp?w=2500\u0026fit=max\u0026auto=format\u0026n=jKpgtqsAcCYny30i\u0026q=85\u0026s=071145f896faf9346b4a198b95dbd8f4 2500w`}),`\n`,_jsxs(_components.p,{children:[`Loopscale uniquely `,_jsx(_components.a,{href:`/posts/flexappeal`,children:`supports lending markets across over 100 assets`}),` on Solana, from Orca Whirlpool LP positions to native-staked SOL. Powering these markets requires price infrastructure that is both reliable and flexible across a wide range of asset types.`]}),`\n`,_jsxs(_components.p,{children:[`This infrastructure is made possible through our integration with `,_jsx(_components.a,{href:`https://pyth.network`,children:`Pyth Network`}),`.`]}),`\n`,_jsx(Heading,{level:`2`,id:`role-of-oracles-in-lending`,children:`Role of Oracles in Lending`}),`\n`,_jsx(_components.p,{children:`Every transaction on Loopscale relies on accurate pricing. Loan-to-value ratios, liquidation thresholds, and risk management are all tied to the integrity of the price feed. Loopscale uses both spot and exponential moving average (EMA) prices from Pyth, applying each based on the type of transaction being performed.`}),`\n`,_jsxs(_components.p,{children:[`For live loan activities (like borrowing more, withdrawing collateral, or modifying an LP position) Loopscale uses `,_jsx(_components.strong,{children:`EMA pricing`}),`. This helps protect against price manipulation by smoothing out short-term volatility. A user can’t exploit a temporary spike or dip in price to take out an unhealthy loan, because the EMA will lag slightly behind the spot price and reflect a more stable average.`]}),`\n`,_jsxs(_components.p,{children:[`In contrast, Loopscale uses `,_jsx(_components.strong,{children:`spot pricing`}),` for liquidations to reflect current market conditions as closely as possible. During sharp market moves, relying on a slower-moving EMA could result in stale prices that lag behind the market. This could make it harder to liquidate positions in time or at a fair value, increasing risk for lenders and liqudiators.`]}),`\n`,_jsx(_components.p,{children:`Dynamic price infrastructure helps Loopscale maintain protocol safety while still enabling responsive, composable markets.`}),`\n`,_jsx(Heading,{level:`2`,id:`pricing-across-asset-types`,children:`Pricing Across Asset Types`}),`\n`,_jsx(_components.p,{children:`Loopscale supports a broad range of tokens and financial primitives. While Pyth serves as base oracle for all digital-native assets on Loopscale, Loopscale applies additional logic depending on the asset class. For standard tokens like USDC, SOL, wBTC, JUP, and BONK, Loopscale uses Pyth price feeds directly. These are straightforward assets with deep liquidity and reliable oracle support.`}),`\n`,_jsx(_components.p,{children:`For liquid staking and restaking tokens like jitoSOL or jupSOL, Loopscale reads the underlying stake pool state to determine how much native SOL each token represents. We then apply the corresponding Pyth feed to value the base asset. This allows Loopscale to accurately price derivative assets while adapting to changes in stake pool composition over time.`}),`\n`,_jsx(_components.p,{children:`LP tokens from AMMs like Orca Whirlpool, Raydium CLMM, and Meteora DLMM are handled by parsing on-chain position data. Loopscale directly reads the token balances in the LP account, then fetches individual prices using Pyth to calculate the total position value. Prices update dynamically as positions are modified. LTV and liquidation thresholds are based on the minimum threshold between the assets in the pair.`}),`\n`,_jsx(_components.p,{children:`For perpetual LP tokens from protocols like Flash (FLP), Adrena (ALP), and Jupiter (JLP), Loopscale performs a on-chain read of the pool’s composition and assigns value to each balance using Pyth feeds. Risk parameters depend on this pricing as well as each pool’s redemption mechanics, protocol design, and underlying asset liquidity.`}),`\n`,_jsx(_components.p,{children:`Principal tokens from platforms like RateX and Exponent are priced by first determining their exchange rate to the base asset based on maturity or expiry. Loopscale then applies a discount to reflect the token’s pre-maturity value and converts that into a USD-denominated price using Pyth. This ensures that fixed-term tokens reflect both their real-time market price and their time-based value accrual.`}),`\n`,_jsx(Heading,{level:`2`,id:`built-for-scale`,children:`Built for Scale`}),`\n`,_jsx(_components.p,{children:`Loopscale’s price infrastructure is designed to be modular, ensuring composability for new oracle providers and emerging asset classes. We integrate directly with Pyth for high-frequency, low-latency feeds. These feeds provide the foundation for our price infrastructure, which support a growing range of assets and risk models. By combining on-chain reads with this real-time pricing from Pyth, Loopscale can safely support a diverse range of asset classes and respond quickly to market changes.`})]})}function MDXContent(props={}){const{wrapper:MDXLayout}={..._provideComponents(),...props.components};return MDXLayout?_jsx(MDXLayout,{...props,children:_jsx(_createMdxContent,{...props})}):_createMdxContent(props)}return{MetadataCard,default:MDXContent};function _missingMdxReference(id,component){throw new Error(`Expected `+(component?`component`:`object`)+\" `\"+id+\"` to be defined: you likely forgot to import, pass, or provide it.\")}","frontmatter":{},"scope":{"config":{},"pageMetadata":{"title":"Loopscale Scales Price Infrastructure with Pyth","mode":"center","twitter:image":"/static/assets/images/priceinfra.webp","og:image":"/static/assets/images/priceinfra.webp","og:description":"Loopscale integrates Pyth for reliable, flexible pricing across 100+ Solana assets, powering secure lending, liquidations, and diverse markets.","description":null,"href":"/posts/priceinfra"}}},"mdxSourceWithNoJs":null,"noJsSplices":[[148,930,")=>null;function _cr"]]},"mdxExtracts":{"tableOfContents":[{"title":"Role of Oracles in Lending","slug":"role-of-oracles-in-lending","depth":2,"children":[]},{"title":"Pricing Across Asset Types","slug":"pricing-across-asset-types","depth":2,"children":[]},{"title":"Built for Scale","slug":"built-for-scale","depth":2,"children":[]}],"codeExamples":{}},"jsLinks":[],"subdomain":"loopscale2","siteName":"Loopscale Blog","title":"Loopscale Scales Price Infrastructure with Pyth - Loopscale Blog","navMaps":{"firstHrefInVersion":{},"firstHrefInLanguage":{}},"lastModified":"2026-04-23T18:33:13.881Z","originalFileLocation":"posts/priceinfra.mdx"},"headHtml":"\u003cscript data-mint-head>(function(){var d=document.documentElement,p=\"light\";if(!p){try{p=localStorage.getItem(\"isDarkMode\")}catch(e){}if(p==='true')p='dark';else if(p==='false')p='light';if(p!=='light'\u0026\u0026p!=='dark'\u0026\u0026p!=='system')p=\"light\"}var r=p==='system'?(matchMedia(\"(prefers-color-scheme: dark)\").matches?'dark':'light'):p;d.classList.remove(r==='dark'?'light':'dark');d.classList.add(r);d.setAttribute(\"data-theme-preference\",p)})();\u003c/script>\u003cmeta data-mint-head name=\"application-name\" content=\"Loopscale Blog\">\u003cmeta data-mint-head name=\"generator\" content=\"Mintlify\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/loopscale2/zGL9pQv3i_3EUrh6/_generated/favicon/android-chrome-192x192.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"apple-touch-icon\" type=\"image/png\" sizes=\"180x180\" href=\"/mintlify-assets/_mintlify/favicons/loopscale2/zGL9pQv3i_3EUrh6/_generated/favicon/apple-touch-icon.png\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/loopscale2/zGL9pQv3i_3EUrh6/_generated/favicon/favicon-16x16.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/mintlify-assets/_mintlify/favicons/loopscale2/zGL9pQv3i_3EUrh6/_generated/favicon/favicon-32x32.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/x-icon\" href=\"/mintlify-assets/_mintlify/favicons/loopscale2/zGL9pQv3i_3EUrh6/_generated/favicon/favicon.ico\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/loopscale2/zGL9pQv3i_3EUrh6/_generated/favicon-dark/android-chrome-192x192.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/loopscale2/zGL9pQv3i_3EUrh6/_generated/favicon-dark/favicon-16x16.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/mintlify-assets/_mintlify/favicons/loopscale2/zGL9pQv3i_3EUrh6/_generated/favicon-dark/favicon-32x32.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/x-icon\" href=\"/mintlify-assets/_mintlify/favicons/loopscale2/zGL9pQv3i_3EUrh6/_generated/favicon-dark/favicon.ico\" media=\"(prefers-color-scheme: dark)\">\u003cmeta data-mint-head property=\"og:title\" content=\"Loopscale Scales Price Infrastructure with Pyth - Loopscale Blog\">\u003cmeta data-mint-head property=\"og:description\" content=\"Loopscale integrates Pyth for reliable, flexible pricing across 100+ Solana assets, powering secure lending, liquidations, and diverse markets.\">\u003cmeta data-mint-head property=\"og:site_name\" content=\"Loopscale Blog\">\u003cmeta data-mint-head property=\"og:url\" content=\"https://blog.loopscale.com/posts/priceinfra\">\u003cmeta data-mint-head property=\"og:type\" content=\"website\">\u003cmeta data-mint-head property=\"og:image\" content=\"https://loopscale2.mintlify.app/static/assets/images/priceinfra.webp\">\u003cmeta data-mint-head property=\"og:image:width\" content=\"1200\">\u003cmeta data-mint-head property=\"og:image:height\" content=\"630\">\u003cmeta data-mint-head name=\"twitter:card\" content=\"summary_large_image\">\u003cmeta data-mint-head name=\"twitter:title\" content=\"Loopscale Scales Price Infrastructure with Pyth - Loopscale Blog\">\u003cmeta data-mint-head name=\"twitter:description\" content=\"Loopscale integrates Pyth for reliable, flexible pricing across 100+ Solana assets, powering secure lending, liquidations, and diverse markets.\">\u003cmeta data-mint-head name=\"twitter:image\" content=\"https://loopscale2.mintlify.app/static/assets/images/priceinfra.webp\">\u003cmeta data-mint-head name=\"twitter:image:width\" content=\"1200\">\u003cmeta data-mint-head name=\"twitter:image:height\" content=\"630\">\u003cmeta data-mint-head name=\"msapplication-config\" content=\"/mintlify-assets/_mintlify/favicons/loopscale2/zGL9pQv3i_3EUrh6/_generated/favicon/browserconfig.xml\">\u003cmeta data-mint-head name=\"apple-mobile-web-app-title\" content=\"Loopscale Blog\">\u003cmeta data-mint-head name=\"msapplication-TileColor\" content=\"#276ED6\">\u003clink data-mint-head rel=\"canonical\" href=\"https://blog.loopscale.com/posts/priceinfra\">\u003clink data-mint-head rel=\"alternate\" type=\"application/xml\" href=\"/sitemap.xml\">\u003clink data-mint-head rel=\"alternate\" type=\"text/markdown\" href=\"/posts/priceinfra.md\">\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@graph\":[{\"@type\":\"Organization\",\"@id\":\"https://blog.loopscale.com/#organization\",\"name\":\"Loopscale Blog\",\"url\":\"https://blog.loopscale.com\",\"logo\":{\"@type\":\"ImageObject\",\"url\":\"https://mintcdn.com/loopscale2/U0KSNJ0nVPBXFaMz/static/assets/logo/light.svg?fit=max\u0026auto=format\u0026n=U0KSNJ0nVPBXFaMz\u0026q=85\u0026s=58786945a99d8d1612df5d3994ea3cfb\"}},{\"@type\":\"WebSite\",\"@id\":\"https://blog.loopscale.com#website\",\"name\":\"Loopscale Blog\",\"url\":\"https://blog.loopscale.com\",\"publisher\":{\"@id\":\"https://blog.loopscale.com/#organization\"}},{\"@type\":\"WebPage\",\"@id\":\"https://blog.loopscale.com/posts/priceinfra#webpage\",\"url\":\"https://blog.loopscale.com/posts/priceinfra\",\"name\":\"Loopscale Scales Price Infrastructure with Pyth\",\"dateModified\":\"2026-04-23T18:33:13.881Z\",\"isPartOf\":{\"@id\":\"https://blog.loopscale.com#website\"},\"breadcrumb\":{\"@id\":\"https://blog.loopscale.com/posts/priceinfra#breadcrumb\"}},{\"@type\":\"BreadcrumbList\",\"@id\":\"https://blog.loopscale.com/posts/priceinfra#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Posts\",\"item\":\"https://blog.loopscale.com/posts/loops2launch\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Loopscale Scales Price Infrastructure with Pyth\",\"item\":\"https://blog.loopscale.com/posts/priceinfra\"}]},{\"@type\":[\"Article\",\"TechArticle\"],\"@id\":\"https://blog.loopscale.com/posts/priceinfra#article\",\"headline\":\"Loopscale Scales Price Infrastructure with Pyth\",\"name\":\"Loopscale Scales Price Infrastructure with Pyth\",\"url\":\"https://blog.loopscale.com/posts/priceinfra\",\"mainEntityOfPage\":{\"@id\":\"https://blog.loopscale.com/posts/priceinfra#webpage\"},\"image\":\"https://blog.loopscale.com/static/assets/images/priceinfra.webp\",\"dateModified\":\"2026-04-23T18:33:13.881Z\",\"publisher\":{\"@id\":\"https://blog.loopscale.com/#organization\"},\"isPartOf\":{\"@id\":\"https://blog.loopscale.com#website\"}}]}\u003c/script>\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@type\":\"WebSite\",\"name\":\"Loopscale Blog\",\"creator\":{\"@type\":\"Organization\",\"name\":\"Mintlify\",\"url\":\"https://mintlify.com\"}}\u003c/script>","siteName":"Loopscale Blog","nav":{"global":null,"pages":[{"title":"Loopscale Blog","mode":"center","href":"/home"},{"group":"Posts","pages":[{"title":"Loops 2.0 is now live: Leveraged Borrowing for Every Onchain Asset","mode":"center","href":"/posts/loops2launch"},{"title":"How Loopscale Collateralizes CLMM Liquidity Positions","mode":"center","href":"/posts/clmm"},{"title":"ACRED RWA Looping: USDG Subscriptions Now Live","mode":"center","href":"/posts/acred"},{"title":"Loopscale Q4 2025 Recap","mode":"center","href":"/posts/q42025recap"},{"title":"Loopscale Q3 2025 Recap","mode":"center","href":"/posts/q32025recap"},{"title":"How OnRe Increased TVL by 15% by Integrating with Loopscale","mode":"center","href":"/posts/onre"},{"title":"Loopscale Q2 2025 Recap","mode":"center","href":"/posts/q22025recap"},{"title":"Post-Mortem: PT Collateral Pricing Incident","mode":"center","description":null,"href":"/posts/postmortem"},{"title":"Loopscale Scales Price Infrastructure with Pyth","mode":"center","href":"/posts/priceinfra"},{"title":"Introducing Loopscale Genesis Phase","mode":"center","description":null,"href":"/posts/genesis"},{"title":"Loopscale is now live: A new standard for onchain borrowing and lending","mode":"center","href":"/posts/launch"},{"title":"From Order Books to Yield Loops: How Loopscale Powers DeFi Structured Products","mode":"center","href":"/posts/structuredproducts"},{"title":"Flex Appeal: Lending for Any Token","mode":"center","href":"/posts/flexappeal"},{"title":"Pool-based DeFi lending is inefficient by design. Here’s how Loopscale fixes it.","mode":"center","href":"/posts/modularlending"},{"title":"Access the Loopscale Closed Beta","mode":"center","href":"/posts/closedbeta"},{"title":"Orca and raydium clmm","href":"/posts/orca-and-raydium-clmm"}]}]},"basePath":"","title":"Loopscale Scales Price Infrastructure with Pyth - Loopscale Blog","buildId":"dpl_DeHjVRGfFnhYQwHnfC2pjeXXv8h9","deploymentId":"dpl_DeHjVRGfFnhYQwHnfC2pjeXXv8h9","dynamics":["a74be98ba7"],"chunks":["zoom-image-lightbox-BG6oD64b.js","lightbox-handle-r17bVUz3.js"]}