Walrus blob · mainnet
On-chain registration not yet visible.
The aggregator served this blob, but we couldn't locate a matching BlobRegistered event in our scan window. It may not be certified yet, or live further back than we paged.
Lifecycle data is unavailable until the blob registration is visible on-chain.
{
"timestamp": "2026-08-17T12:00:09.691Z",
"version": "2",
"sui_price_usd": 0.691155,
"token_prices": {
"0x2::sui::SUI": 0.691155,
"0x8993129d72e733985f7f1a00396cbd055bad6f817fee36576ce483c8bbb8b87b::sudeng::SUDENG": 0.00012358,
"0x06864a6f921804860930db6ddbe2e16acdf8504495ea7481637a1c8b9a8fe54b::cetus::CETUS": 0.01940327
},
"epoch_protocol": {
"total_vaults_mainnet": 3,
"top_tokens": [
{
"coin_type": "0x8993129d72e733985f7f1a00396cbd055bad6f817fee36576ce483c8bbb8b87b::sudeng::SUDENG",
"vault_count": 1,
"price_usd": 0.00012358
},
{
"coin_type": "0x2::sui::SUI",
"vault_count": 1,
"price_usd": 0.691155
},
{
"coin_type": "0x06864a6f921804860930db6ddbe2e16acdf8504495ea7481637a1c8b9a8fe54b::cetus::CETUS",
"vault_count": 1,
"price_usd": 0.01940327
}
],
"recent_vaults": [
{
"vault_type": "0x848cb7edf8b5f7650b3188dec459394472c8ccf206a031497bf55fe40c165da2::vesting::MultiVestingVault<0x8993129d72e733985f7f1a00396cbd055bad6f817fee36576ce483c8bbb8b87b::sudeng::SUDENG>",
"kind": "multi",
"created_at": "2026-05-12T00:14:58.524Z"
},
{
"vault_type": "0x848cb7edf8b5f7650b3188dec459394472c8ccf206a031497bf55fe40c165da2::vesting::MultiVestingVault<0x2::sui::SUI>",
"kind": "multi",
"created_at": "2026-05-12T00:10:19.414Z"
},
{
"vault_type": "0x848cb7edf8b5f7650b3188dec459394472c8ccf206a031497bf55fe40c165da2::vesting::MultiVestingVault<0x06864a6f921804860930db6ddbe2e16acdf8504495ea7481637a1c8b9a8fe54b::cetus::CETUS>",
"kind": "multi",
"created_at": "2026-05-12T00:08:26.136Z"
}
]
},
"protocols": {
"sui": {
"name": "Sui Blockchain",
"type": "L1",
"docs_url": "https://docs.sui.io/",
"packageId_mainnet": null,
"github": null,
"pages": {}
},
"scallop": {
"name": "Scallop",
"type": "Lending/Borrowing",
"docs_url": "https://docs.scallop.io/",
"packageId_mainnet": null,
"github": null,
"pages": {
"readme": "> For the complete documentation index, see llms.txt. Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as Markdown. # Introduction to Scallop ## **Scallop** Scallop Logo Scallop is the pioneering Next Generation peer-to-peer Money Market for the Sui ecosystem and is also the first DeFi protocol to receive an official grant from the Sui Foundation. Emphasizes institutional-grade quality, enhanced composability, transparency, and robust security. Offers Lending/Borrowing, lending derivatives, Sui PTB building tools, flash loans, SDKs, and a UI for swaps and bridges.\\ \\ Scallop: https://www.scallop.io ## **What is Sui?** Sui Logo Sui is a Layer 1 blockchain, aiming to provide creators and developers with an easier-to-build experience for the next billion Web3 users. Sui is a decentralized proof-of-stake blockchain with horizontally scalable throughput and storage, allowing high-speed and low-cost application development. Sui's growth company is Mysten Labs, which was co-founded by several employees from the Facebook (later renamed Meta) Novi research team. Sui is not a derivative of the Diem network, nor is it an incremental improvement, but a functional advancement based on blockchain technology to meet the needs of the next generation of cryptocurrency users and developers. Sui aims to become the first Internet-scale programmable blockchain platform by introducing innovative underlying technologies. **The Sui protocol has the following main features:** 1. Scalability and instant settlement: Sui supports horizontally scalable processing and storage for high-throughput and low-latency transaction settlement. 2. Secure smart contract language: Sui provides a secure smart contract language for developers to define rich and composable on-chain assets for a better user experience. 3. Narwhal and Bullshark DAG memory pool and efficient Byzantine fault-tolerant consensus: Sui uses Narwhal and Bullshark DAG as a memory pool and efficient Byzantine fault-tolerant consensus mechanism to ensure the reliability and consistency of transactions. 4. Causal order and total order enable massively parallel execution: Sui's causal order and total order mechanism allow the execution of many transactions in massive parallel, reducing latency and increasing throughput. 5. Object-based data model and Move programming language: Sui's data model is object-centric and utilizes the object-based Move programming language, enabling composable objects and non-fungible tokens (NFTs). This simplifies the developer experience."
}
},
"suilend": {
"name": "Suilend",
"type": "Lending",
"docs_url": "https://docs.suilend.fi/",
"packageId_mainnet": "0xf95b06141ed4a174f239417323bde3f209b972f5930d8521ea38a52aff3a6ddf",
"github": "https://github.com/suilend/suilend-fe-public",
"pages": {
"introduction-to-suis-defi-suite": "> For the complete documentation index, see llms.txt. Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as Markdown. # Introduction to Sui's DeFi Suite ## Sui's DeFi Suite With years of experience navigating the toughest crypto markets, our team has designed Sui's DeFi Suite: offering lending, infinite liquid staking via SpringSui, and a Superfluid AMM with STEAMM. Sui’s DeFi Suite is designed for efficiency, security, and a seamless user experience on the Sui blockchain. ## Suilend Suilend is the largest lending protocol on Sui, built by the team behind Save (formerly known as Solend).  With Suilend, you can do the following: * Earn interest * Borrow * Leverage long * Short * Swap * Liquid Stake SUI (with SpringSui) * Provide Liquidity (with STEAMM)   Since launching in March 2024, Suilend has rapidly become the #1 DeFi protocol on Sui. In December 2024, we introduced SEND, our token, through the pioneering mdrop mechanism and represents our efforts across Suilend, SpringSui and STEAMM. SEND holders will play a key role in shaping the future of Suilend, with the ability to participate in governance decisions for the upcoming Suilend DAO. Additionally, they stand to benefit from potential revenue-sharing, further aligning incentives between the protocol and its community. In January 2025, Suilend & SpringSui achieved $1 billion in total TVL and now boasts over 50,000 monthly active wallets (MAW). In February 2025, we launched STEAMM, our Superfluid AMM, in beta—seamlessly integrating deep liquidity and lending functionality with Suilend. Suilend is backed by leading firms such as Robot Ventures, Delphi Ventures, DeFi Alliance, Mechanism Capital, and Karatage, alongside prominent angels including Mert, Balaji, and DCFGod.",
"sdk": "# Page Not Found The URL `developers/sdk` does not exist. This page may have been moved, renamed, or deleted. ## Suggested Pages You may be looking for one of the following: - Suilend SDK Guide - STEAMM Developer Integration Guide - Rootlets Holder Snapshot - Risks - SEND DAO Addresses ## How to find the correct page If the exact page cannot be found, you can still retrieve the information using the documentation query interface. ### Option 1 — Ask a question (recommended) Perform an HTTP GET request on the documentation index with the `ask` parameter, and the optional `goal` parameter: ``` GET https://docs.suilend.fi/ecosystem/suilend-sdk-guide.md?ask= &goal= ``` `ask` is the immediate question: it should be specific, self-contained, and written in natural language. `goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal. The response will contain a direct answer to the question and relevant excerpts and sources from the documentation. ### Option 2 — Browse the documentation index Full index: https://docs.suilend.fi/sitemap.md Use this to discover valid page paths or navigate the documentation structure. ### Option 3 — Retrieve the full documentation corpus Full export: https://docs.suilend.fi/llms-full.txt Use this to access all content at once and perform your own parsing or retrieval. It will be more expensive. ## Tips for requesting documentation Prefer `.md` URLs for structured content, append `.md` to URLs (e.g., `/ecosystem/suilend-sdk-guide.md`). You may also use `Accept: text/markdown` header for content negotiation.",
"smart-contracts": "# Page Not Found The URL `developers/smart-contracts` does not exist. This page may have been moved, renamed, or deleted. ## Suggested Pages You may be looking for one of the following: - What are Account NFTs? - STEAMM Developer Integration Guide - SEND from SLND/SAVE Conversion - How can I claim Account Rewards? - The Rootlets Manifesto ## How to find the correct page If the exact page cannot be found, you can still retrieve the information using the documentation query interface. ### Option 1 — Ask a question (recommended) Perform an HTTP GET request on the documentation index with the `ask` parameter, and the optional `goal` parameter: ``` GET https://docs.suilend.fi/faq/what-are-account-nfts.md?ask= &goal= ``` `ask` is the immediate question: it should be specific, self-contained, and written in natural language. `goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal. The response will contain a direct answer to the question and relevant excerpts and sources from the documentation. ### Option 2 — Browse the documentation index Full index: https://docs.suilend.fi/sitemap.md Use this to discover valid page paths or navigate the documentation structure. ### Option 3 — Retrieve the full documentation corpus Full export: https://docs.suilend.fi/llms-full.txt Use this to access all content at once and perform your own parsing or retrieval. It will be more expensive. ## Tips for requesting documentation Prefer `.md` URLs for structured content, append `.md` to URLs (e.g., `/faq/what-are-account-nfts.md`). You may also use `Accept: text/markdown` header for content negotiation.",
"lending-and-borrowing": "# Page Not Found The URL `protocol/lending-and-borrowing` does not exist. This page may have been moved, renamed, or deleted. ## Suggested Pages You may be looking for one of the following: - Tokenomics & Mdrops - Suilend Integration Links - mSEND & SEND Cointypes - What are Suilend Points and Capsules? - How to Create your own SpringSui LST ## How to find the correct page If the exact page cannot be found, you can still retrieve the information using the documentation query interface. ### Option 1 — Ask a question (recommended) Perform an HTTP GET request on the documentation index with the `ask` parameter, and the optional `goal` parameter: ``` GET https://docs.suilend.fi/send/tokenomics-and-mdrops.md?ask= &goal= ``` `ask` is the immediate question: it should be specific, self-contained, and written in natural language. `goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal. The response will contain a direct answer to the question and relevant excerpts and sources from the documentation. ### Option 2 — Browse the documentation index Full index: https://docs.suilend.fi/sitemap.md Use this to discover valid page paths or navigate the documentation structure. ### Option 3 — Retrieve the full documentation corpus Full export: https://docs.suilend.fi/llms-full.txt Use this to access all content at once and perform your own parsing or retrieval. It will be more expensive. ## Tips for requesting documentation Prefer `.md` URLs for structured content, append `.md` to URLs (e.g., `/send/tokenomics-and-mdrops.md`). You may also use `Accept: text/markdown` header for content negotiation.",
"liquidations": "# Page Not Found The URL `protocol/liquidations` does not exist. This page may have been moved, renamed, or deleted. ## Suggested Pages You may be looking for one of the following: - Liquidations - SpringSui Integration - Suilend Integration Links - mDrops Integration - SpringSui Audit ## How to find the correct page If the exact page cannot be found, you can still retrieve the information using the documentation query interface. ### Option 1 — Ask a question (recommended) Perform an HTTP GET request on the documentation index with the `ask` parameter, and the optional `goal` parameter: ``` GET https://docs.suilend.fi/security/liquidations.md?ask= &goal= ``` `ask` is the immediate question: it should be specific, self-contained, and written in natural language. `goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal. The response will contain a direct answer to the question and relevant excerpts and sources from the documentation. ### Option 2 — Browse the documentation index Full index: https://docs.suilend.fi/sitemap.md Use this to discover valid page paths or navigate the documentation structure. ### Option 3 — Retrieve the full documentation corpus Full export: https://docs.suilend.fi/llms-full.txt Use this to access all content at once and perform your own parsing or retrieval. It will be more expensive. ## Tips for requesting documentation Prefer `.md` URLs for structured content, append `.md` to URLs (e.g., `/security/liquidations.md`). You may also use `Accept: text/markdown` header for content negotiation."
}
},
"turbos": {
"name": "Turbos Finance",
"type": "DEX/CLMM",
"docs_url": "https://turbos.gitbook.io/turbos",
"packageId_mainnet": null,
"github": "https://github.com/turbos-finance",
"pages": {
"dev-overview": "> For the complete documentation index, see llms.txt. Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as Markdown. # Dev Overview **Token Address:** **TURBOS Token Coin Type** 0x5d1f47ea69bb0de31c313d7acf89b890dbb8991ea8e03c6c355171f84bb1ba4a::turbos::TURBOS ### **SDKs & Contract Endpoints:** To integrate with the Turbos Protocol, you have two options: 1. **Typescript SDK Integration**: This method allows you to perform various actions such as querying data, managing liquidity, and displaying information on the frontend efficiently. 2. **Direct Contract Integration**: This involves directly interfacing with the Turbos CLMM contract. Choose the integration approach that best **Typescript SDK:** **Smart Contract Interface**: ### Latest contract address: Below is a list of primary contract addresses. We will update this form in Contract Type Address clmm pool package-id 0x91bfbc386a41afcfd9b2533058d7e915a1d3829089cc268ff4333d54d6339ca1 clmm pool published-at 0xa5a0c25c79e428eba04fb98b3fb2a34db45ab26d4c8faf0d7e39d66a63891e64 pool config shared object id 0xc294552b2765353bcafa7c359cd28fd6bc237662e5db8f09877558d81669170c positions shared object id 0xf5762ae5ae19a2016bb233c72d9a4b2cba5a302237a82724af66292ae43ae52d versioned shared object id 0xf1cf0e81048df168ebeb1b8030fad24b3e0b53ae827c25053fff0779c1445b6f 10bps shared object id 0x49dcf28ac3b5480e65bee812ad2d6e60108ab8037d5a815c3c11bbe7bc47c270 100bps shared object id 0x18136d55969b970330e6991e0deaa713fca99f4e526152c10d5592a01d45f857 500bps shared object id 0xdfcd1043f54fef3aa649eccd4d0b2b09a3da6c87a8a62736467b686268869365 2000bps shared object id 0x5121798d1ac50ee8d5c3213c69d4955814318901070ac06a8accfba39fb30198 2500bps shared object id 0x0dfa811ff9d86f7680f212a78b2dd886f10916383d80accf287612a0df3906a0 3000bps shared object id 0x6bc433c8604f58272155d0c65327ae0b316f63869e5de3846f70aef4625d8c46 10000bps shared object id 0xd30c41ec4b4d0eb9b30b0b898c53f81cd53a9eb0f75b5d3273584cd874b2d4c4 20000bps shared object id 0x9724fd1e579956dcaabe97399a374c7726cb96eabea2dec53a5509c41f2c1573 Contract Type Address clmm pool package-id 0x3526c88f5304c78fb93ed1cc1961d56b8517108550c9938b8a5a0e6c90fbe2a5 clmm pool published-at 0xbce833e2aa9266eacad68c8db25e83cb52941a2eba168c4a28bb4aa38a2be9ea pool config shared object id 0x2041acff5d98b1892ac5be1faa075936a05f64922657dc94c374c43ce2291a8d positions shared object id 0x8d916e3eaa3a5ce2949a4d845ec8082f7d46768ffd4c15984c32b3c5f4cabf22 versioned shared object id 0x0ec5aedfc4a3a99aebd8a54b6b39df34b7696ada57008c35f69d6b4bb346b5c4 10bps shared object id 0x082ef6ca8112c65a3ceff44c7dd160221ef92d18ad6c0314c95a443dffe16df3 100bps shared object id 0x26b21a736613daa65462d13f3e79b2fe09072a596ec5b0466313df08ab217577 500bps shared object id 0x15d883f76337c7062817eb2231dc62e291474cac4147ee47047029d7df5c7ffb 3000bps shared object id 0xdafb286b57abcbb4bd5be7f7930587048250002d4b1f60cdf0874026a3cb4709 10000bps shared object id 0xf7791adbed4be7a4276b1d8d5f83279a709663acc51753fe6bbcf6eb9e2a878c 20000bps shared object id 0x4bf5fb4974bce137ae1c4b6fb6a4149eb14c7654f268be0d2b4a4a4efecd432e 2000bps shared object id 0x55799e99561b546d84b194fd81d87aa40b1f91a86e84afb9b51b7efbc6ea2be0 2500bps shared object id 0x73c168d6ec583288ddff9e9cd180ed8c6f0f94f5a77b37b7716bae5f62245bd1 1000bps shared object id 0x82e9c6626655965f2b5a0b33428a193b7b367d258f0e6b9a43f66efa20ff4f29 ### Latest npm package version npm package latest version: 3.6.4 ### Latest endpoint contract version ``` TurbosCLMM = { git = \"git@github.com:turbos-finance/turbos-sui-move-interface.git\", subdir = \"clmm\", rev = \"mainnet-v0.1.8\", override = true } ``` ``` TurbosCLMM = { git = \"git@github.com:turbos-finance/turbos-sui-move-interface.git\", subdir = \"clmm\", rev = \"testnet-v0.0.9\", override = true } ```",
"token-address": "> For the complete documentation index, see llms.txt. Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as Markdown. # Token Address Item Address $TURBOS (SUI Network) 0x5d1f47ea69bb0de31c313d7acf89b890dbb8991ea8e03c6c355171f84bb1ba4a::turbos::TURBOS $TURBOS (BNB Chain) 0xA1E6410bF311C03429B37A76a80C8A5E61616e7F MVR name @turbos/turbos > More contract addresses can be referred to:"
}
},
"aftermath": {
"name": "Aftermath Finance",
"type": "DEX/Perps",
"docs_url": "https://docs.aftermath.finance/",
"packageId_mainnet": "0xefe8b36d5b2e43728cc323298626b83177803521d195cfb11e15b031e6245a97",
"github": null,
"pages": {
"readme": "> For the complete documentation index, see llms.txt. Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as Markdown. # About Us Aftermath is a fully on-chain exchange built on the Sui blockchain. Trades, liquidations, and settlement are executed by smart contracts and finalized on-chain, so the results can be independently verified. ### Why this matters Centralized exchanges custody your assets. When they fail, you may end up an unsecured creditor. Many \"on-chain\" venues improve custody, but still rely on off-chain matching, a black box that users can’t fully audit. We believe trust alone is insufficient. On Aftermath, the blockchain is the exchange: core execution logic is on-chain, fills and liquidations are auditable, and any permissions or parameters are visible on-chain. Don’t trust. Verify."
}
},
"7k": {
"name": "7K Aggregator",
"type": "DEX Aggregator",
"docs_url": "https://docs.7k.ag/",
"packageId_mainnet": null,
"github": null,
"pages": {
"quickstart": "> For the complete documentation index, see llms.txt. Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as Markdown. # Quickstart User Guides /pages/VS9f0iEXTfj1yhCMEqmV /files/BiQgSAqem3lySPWVgMjJ Integrate 7K Aggregator To Your Exchange /pages/hhvsQrmabXECloluItSG /files/BQwiXpzCAgGzLzhLHlcz Business Inquiries & User Support /pages/kyFmWWEO3fEfoQIyufsr /files/jMMYVc6i5VGa1jhWr2s0"
}
},
"cetus": {
"name": "Cetus Protocol",
"type": "DEX/CLMM",
"docs_url": "https://cetus-1.gitbook.io/cetus-docs",
"packageId_mainnet": "0x1eabed72c53feb3805120a081dc15963c204dc8d091542592abaf7a35689b2fb",
"github": "https://github.com/CetusProtocol",
"pages": {
"clmm-overview": "> For the complete documentation index, see llms.txt. Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as Markdown. # CLMM Overview **Cetus CLMM (Concentrated Liquidity Market Maker)** is an advanced AMM design that allows liquidity to be concentrated into specific price ranges rather than uniformly along the entire price curve. Traditional AMMs often leave most liquidity idle, particularly for assets with predictable prices like stablecoins. CLMM solves this by enabling LPs to allocate capital precisely where trading activity occurs, maximizing fee generation and capital efficiency. LPs can create multiple positions in the same pool with independent price ranges, simulating custom liquidity curves to match market trends. Swaps interact dynamically with these positions, providing tighter execution and optimized slippage. Cetus CLMM is inspired by the classic Uniswap V3 model and fully developed in Move on Sui, optimized for Sui’s native blockchain capabilities and unique architecture.",
"introduction": "> For the complete documentation index, see llms.txt. Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as Markdown. # Introduction Cetus is a pioneer DEX and concentrated liquidity protocol built on the Sui and Aptos blockchain. The mission of Cetus is building a powerful and flexible underlying liquidity network to make trading easier for any users and assets. It focuses on delivering the best trading experience and superior liquidity efficiency to DeFi users through the process of building its concentrated liquidity protocol and a series of affiliate interoperable functional modules. #### Permissionless All the major tools and functions on Cetus are basically built with a permissionless standard. It allows users or other applications to utilize its protocols for their own use cases at any time. No matter it’s to set up a new trading pool, or to allocate incentives to rent liquidity from the public. #### Programmable Cetus is building a highly-customizable liquidity protocol based on CLMM. Through flexible composition of swap, range order and limit order, users can almost conduct all kinds of complex trading strategies that could be achieved on a CEX. Besides, liquidity providers are also able to execute various Maker strategies using CLMM to maximize their liquidity efficiency.  #### Composability Cetus embraces the concept of “Liquidity As A Service”, so it puts emphasis on the ease of integration when building its products. Developers and applications can easily access the liquidity on Cetus to build their own products such as liquidity vault, derivatives, leveraged farming, etc. A new project team can also easily set up a swap interface on its own front end by integrating Cetus SDK, which will help them access the liquidity of Cetus and even the whole market real quick. #### Sustainability Cetus adopts a double-token model fueled by CETUS and xCETUS. Long term and dynamic incentivization sustained by protocol earnings is implemented to reward those active participants of the protocol. It wants to make sure the real contributors of the protocol can be effectively incentivized by the scientific token economy."
}
},
"magma": {
"name": "Magma Finance",
"type": "DEX/ALMM (Adaptive Liquidity Market Maker, bin-based)",
"docs_url": "https://magma-finance-1.gitbook.io/magma-developer-sdk/",
"packageId_mainnet": "0xc7f4524aad685d7a334b559aea1a1464287a2a62d571243be1877ef53e2a916b",
"github": null,
"pages": {
"8.swap": "> For the complete documentation index, see llms.txt. Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as Markdown. # Swap Swaps typically occur in two steps: ## 1. calc swap amount Use functions provided by `@magmaprotocol/calc_almm` ```typescript import { get_swap_out, get_swap_in } from \"@magmaprotocol/calc_almm\"; ``` ## Example ```typescript import { get_swap_out, get_swap_in } from \"@magmaprotocol/calc_almm\"; const pools = await magmaClmmSDK.Almm.getPoolInfo([ \"0x540e56df0e57ac0d779a64d1f9f01fe9ac03d4758623105e05b4f9facc5d0f61\", ]); const bins = await magmaClmmSDK.Almm.fetchBins({ pair: \"0x540e56df0e57ac0d779a64d1f9f01fe9ac03d4758623105e05b4f9facc5d0f61\", coinTypeA: \"0xdba34672e30cb065b1f93e3ab55318768fd6fef66c15942c9f7cb846e2f900e7::usdc::USDC\", coinTypeB: \"0x06864a6f921804860930db6ddbe2e16acdf8504495ea7481637a1c8b9a8fe54b::cetus::CETUS\", offset: 0, limit: 500, }); const params_str = JSON.stringify({ params: pools[0].params, bins, bin_step: pools[0].bin_step, }); const now_timestamp = Date.now(); const swap_out = get_swap_out( params_str, BigInt(10000), true, BigInt(now_timestamp), ); console.log(\"swap_out: \", swap_out); // { amount_in_left: 10, amount_out: 110849443, fee: 10 } const swap_in = get_swap_in( params_str, BigInt(110849443), true, BigInt(now_timestamp), ); console.log(\"swap_in: \", swap_in); // { amount_in: 9999, amount_out_left: 0, fee: 10 } ``` ## Swap ### Method Method: `sdk.Almm.swap({ pair: string coinTypeA: string coinTypeB: string amountIn: number minAmountOut: number swapForY: boolean to: string }: ALMMSwapParams )` ### Params * `pool_id`: The pool object ID. * `coinTypeA`: the coin type address about coinA. * `coinTypeB`: the coin type address about coinB. * `amountIn`: the amount of input coin * `minAmountOut`: the amount limit of coin what you get. * `swapForY`: if true, swap X to Y; if false, swap Y to X * `to`: swap result will transfer to whom ### Example: ```typescript const res = await magmaClmmSDK.Almm.swap({ pair: \"0x540e56df0e57ac0d779a64d1f9f01fe9ac03d4758623105e05b4f9facc5d0f61\", coinTypeA: \"0xdba34672e30cb065b1f93e3ab55318768fd6fef66c15942c9f7cb846e2f900e7::usdc::USDC\", coinTypeB: \"0x06864a6f921804860930db6ddbe2e16acdf8504495ea7481637a1c8b9a8fe54b::cetus::CETUS\", amountIn: 9999, minAmountOut: 0, swapForY: true, to: \"YourAddress\", }); ```",
"2.retrieve-almm-pools": "> For the complete documentation index, see llms.txt. Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as Markdown. # Retrieve ALMM pools ## 1. Retrieve all pools Method: `magmaClmmSDK.Almm.getPools()` ### Example ```typescript async function retrievelAllPools() { const almmPools = await mainnetSDK.Almm.getPools(); console.log(`pool length: ${almmPools.length}`); } // retrievelAllPools() // pool length: 82 ```",
"1.getting-started": "> For the complete documentation index, see llms.txt. Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as Markdown. # Latest ALMM SDK config * mainnet configs | package name | address | | ----------------- | ------------------------------------------------------------------ | | almm package id | 0xc7f4524aad685d7a334b559aea1a1464287a2a62d571243be1877ef53e2a916b | | global\\_vault\\_id | 0x8dad571fa854177a599b41571057bed93579739190ad4c2ab4b66df847a919d9 | | aggregator | 0x00e1fa55e6c7b893684b85b60e228437b29b66a951fb22402548b0bf00f8b6f2 | | magma\\_integrate | 0x3e5412c072c805249ad38d62e5b773d4f77e85698eaff35952c988496b92481b |",
"4.retrieve-positions": "> For the complete documentation index, see llms.txt. Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as Markdown. # Retrieve positions of ALMM pools ## 1. Retrieve all pools Method: `magmaSDK.Almm.getUserPositions()` Params: * `accountAddress`: The user account address. * `assignPoolIds`: An array of pool ID. * `showDisplay`: When some testnet rpc nodes can't return object's display data, you can set this option to false, avoid returning errors. Default set true. ### Example ```typescript async function retrievelAllPositions() { const almmPositions = await mainnetSDK.Almm.getUserPositions(); console.log(`positions length: ${almmPositions.length}`); } // retrievelAllPositions() // positions length:: 2 ```",
"5.collect-fees": "> For the complete documentation index, see llms.txt. Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as Markdown. # Collect fees When you add liquidity within a valid price range, all transaction fees generated within this range will be distributed based on the proportional share of effective liquidity from all positions within the current range. ## 1. Retrieve the fee list Method: `sdk.Almm.getEarnedFeesLimit({ pool_id: string coin_a: string coin_b: string position_id: string }: AlmmCollectFeeParams )` ### Params * `pool_id`: The pool object ID. * `position_id`: Which position you want to query * `coin_a`: Coin A type. * `coin_b`: Coin B type. ## 2. Claim fees Method: `sdk.Almm.collectFees({ pool_id: string coin_a: string coin_b: string position_id: string }: AlmmCollectFeeParams )` ### Params * `pool_id`: The pool object ID. * `position_id`: Which position you want to query * `coin_a`: Coin A type. * `coin_b`: Coin B type."
}
}
},
"meta": {
"generated_by": "epoch-walrus",
"public": true,
"description": "Epoch Protocol ecosystem snapshot — Sui token prices + vesting stats + full protocol documentation. Stored on Walrus, freely consumable by any app or AI.",
"sources": [
{
"id": "sui",
"name": "Sui Blockchain",
"type": "L1",
"docs": "https://docs.sui.io/"
},
{
"id": "cetus",
"name": "Cetus Protocol",
"type": "DEX/CLMM",
"docs": "https://cetus-1.gitbook.io/cetus-docs"
},
{
"id": "turbos",
"name": "Turbos Finance",
"type": "DEX/CLMM",
"docs": "https://turbos.gitbook.io/turbos"
},
{
"id": "scallop",
"name": "Scallop",
"type": "Lending/Borrowing",
"docs": "https://docs.scallop.io/"
},
{
"id": "suilend",
"name": "Suilend",
"type": "Lending",
"docs": "https://docs.suilend.fi/"
},
{
"id": "aftermath",
"name": "Aftermath Finance",
"type": "DEX/Perps",
"docs": "https://docs.aftermath.finance/"
},
{
"id": "7k",
"name": "7K Aggregator",
"type": "DEX Aggregator",
"docs": "https://docs.7k.ag/"
},
{
"id": "magma",
"name": "Magma Finance",
"type": "DEX/ALMM (Adaptive Liquidity Market Maker, bin-based)",
"docs": "https://magma-finance-1.gitbook.io/magma-developer-sdk/"
}
]
}
}