{"_id":"danogo-clmm","_rev":"56-6d212fc9baf8598d0a5d6a68e1305325","name":"danogo-clmm","dist-tags":{"latest":"0.1.6"},"versions":{"0.0.0":{"name":"danogo-clmm","version":"0.0.0","_id":"danogo-clmm@0.0.0","maintainers":[{"name":"dungton","email":"nguyenphatdat3004@gmail.com"}],"dist":{"shasum":"6a6409275d2b26c6bd349dbcb2a3e362e76edbc9","tarball":"https://registry.npmjs.org/danogo-clmm/-/danogo-clmm-0.0.0.tgz","fileCount":6,"integrity":"sha512-okOb841/I2PSGK4JY4VkJtehXLRBIUlr4ldokAHHH3Zz9EXlwhoq0O0Tl87PCrGG1Hisgf2b8FR/gyJf3eHhaw==","signatures":[{"sig":"MEUCIQDSeQTe4EoP1gshl+yZOKI3L0CHIt+3ZURz+htkVdGWDAIgMw5W0cHcc7DV05WrwcFQBE68iiw1+LYeQA0T0GIfpUA=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":27918},"main":"./dist/sdk.js","types":"./dist/sdk.d.ts","module":"./dist/sdk.mjs","gitHead":"82478f0f182dbfd591a9d745ae36eabbba2add3d","scripts":{"build":"tsup src/sdk.ts --format cjs,esm --dts --minify --clean --no-splitting","prepublishOnly":"npm run build"},"_npmUser":{"name":"dungton","email":"nguyenphatdat3004@gmail.com"},"_npmVersion":"11.4.2","description":"An SDK to calculate and execute swaps on the Danogo liquidity platform with Lucid Evolution.","directories":{},"_nodeVersion":"22.17.0","dependencies":{"cbor":"^10.0.11","@lucid-evolution/lucid":"0.4.29"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"tsup":"^8.0.0","ts-node":"^10.9.2","typescript":"^5.9.2"},"peerDependencies":{"@lucid-evolution/lucid":"0.4.29"},"_npmOperationalInternal":{"tmp":"tmp/danogo-clmm_0.0.0_1766112905554_0.49822874702970665","host":"s3://npm-registry-packages-npm-production"}},"0.0.15":{"name":"danogo-clmm","version":"0.0.15","keywords":["cardano","danogo","swap","clmm"],"_id":"danogo-clmm@0.0.15","maintainers":[{"name":"dungton","email":"nguyenphatdat3004@gmail.com"}],"dist":{"shasum":"eede568769be98ec2ac63baecdb9943fbabe568e","tarball":"https://registry.npmjs.org/danogo-clmm/-/danogo-clmm-0.0.15.tgz","fileCount":6,"integrity":"sha512-/lWApy2SdSOQWEO0bXUxpd4gMX1rKuyC1G3GgGbKtcbCR99I6Rr5fREwjYw42HrbHAR7N0ZOrUbOL8L38hJALA==","signatures":[{"sig":"MEUCIQCp7ntqpFHRzWLbhRvOjv1S8eIK+iIIY5wcx2En71JxuAIgC6QhZ/d9Q0f2/QrrLZRqLyZbvntIwvv7kC4INRd1HgA=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":31262},"main":"./dist/sdk.js","types":"./dist/sdk.d.ts","module":"./dist/sdk.mjs","gitHead":"309b3e33a9ebf50197d772e4a7fe2ff20bb17d88","scripts":{"build":"tsup src/sdk.ts --format cjs,esm --dts --minify --clean --no-splitting","start":"tsc && node dist/main.js","prepublishOnly":"npm run build"},"_npmUser":{"name":"dungton","email":"nguyenphatdat3004@gmail.com"},"_npmVersion":"11.4.2","description":"An SDK to calculate and execute swaps on the Danogo liquidity platform.","directories":{},"_nodeVersion":"22.17.0","dependencies":{"cbor":"^10.0.11","axios":"^1.13.2","@lucid-evolution/lucid":"0.4.29"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"tsup":"^8.0.0","ts-node":"^10.9.2","typescript":"^5.9.2"},"peerDependencies":{"@lucid-evolution/lucid":"0.4.29"},"_npmOperationalInternal":{"tmp":"tmp/danogo-clmm_0.0.15_1774971142861_0.30108148416294167","host":"s3://npm-registry-packages-npm-production"}},"0.1.1":{"name":"danogo-clmm","version":"0.1.1","keywords":["cardano","dano-finance","swap","clmm"],"_id":"danogo-clmm@0.1.1","maintainers":[{"name":"dungton","email":"nguyenphatdat3004@gmail.com"}],"homepage":"https://github.com/dano-finance/clmm-sdk#readme","bugs":{"url":"https://github.com/dano-finance/clmm-sdk/issues"},"dist":{"shasum":"ec5651d60eec11402e248e34611086a4718706fc","tarball":"https://registry.npmjs.org/danogo-clmm/-/danogo-clmm-0.1.1.tgz","fileCount":6,"integrity":"sha512-UpIgSEsFVESmyBr3/Evss/EYGw37VjnZxcqB8LTpcnzm0Lf1xmqz0tvrIk4hGfYEdv+YRt8K17boR1K0IaVS1Q==","signatures":[{"sig":"MEUCIQDGvofj0R11Tx9odWXf27twcFtFdGD8qsaHpvJaqPheyAIgLvQvAdYbFNxTS1PInRZtgOzIQcnVoc2CZA/CovyKUiE=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":34442},"main":"./dist/sdk.js","types":"./dist/sdk.d.ts","module":"./dist/sdk.mjs","exports":{".":{"import":"./dist/sdk.mjs","require":"./dist/sdk.js"}},"gitHead":"14e92ecf4efe261e20551235e9c87d83d7026f79","scripts":{"build":"tsup src/sdk.ts --format cjs,esm --dts --minify --clean --no-splitting","prepublishOnly":"npm run build"},"_npmUser":{"name":"dungton","email":"nguyenphatdat3004@gmail.com"},"repository":{"url":"git+https://github.com/dano-finance/clmm-sdk.git","type":"git"},"_npmVersion":"11.4.2","description":"An SDK to calculate and execute swaps on the Danogo liquidity platform.","directories":{},"_nodeVersion":"22.17.0","dependencies":{"@cardano-ogmios/client":"^6.14.0","@cardano-ogmios/schema":"^6.14.0","@evolution-sdk/evolution":"^0.3.31"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"tsup":"^8.0.0","typescript":"^5.9.2"},"_npmOperationalInternal":{"tmp":"tmp/danogo-clmm_0.1.1_1775116500436_0.47655562875063406","host":"s3://npm-registry-packages-npm-production"}},"0.1.2":{"name":"danogo-clmm","version":"0.1.2","keywords":["cardano","dano-finance","swap","clmm"],"_id":"danogo-clmm@0.1.2","maintainers":[{"name":"dungton","email":"nguyenphatdat3004@gmail.com"}],"homepage":"https://github.com/dano-finance/clmm-sdk#readme","bugs":{"url":"https://github.com/dano-finance/clmm-sdk/issues"},"dist":{"shasum":"0c36886572afde3a6b60bc471929c4212e95d168","tarball":"https://registry.npmjs.org/danogo-clmm/-/danogo-clmm-0.1.2.tgz","fileCount":6,"integrity":"sha512-/CX3baw0SuzsVQt4ZXrTa2Beesuw1/v22Wor3mklh7fTlvDUez+LPvQIW9L/iAjRmDwxSMjSDE7YT9ERoiC1JA==","signatures":[{"sig":"MEUCIQCIc5qaTVUNhRrm24GXH+xMtar+aFklVeHgzK4hek42AgIgVtScq732fJO1pKNiv9AF9HJLsV6NGVKXOGaSgpZ5tZE=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":41225},"main":"./dist/sdk.js","types":"./dist/sdk.d.ts","module":"./dist/sdk.mjs","exports":{".":{"import":"./dist/sdk.mjs","require":"./dist/sdk.js"}},"gitHead":"a13d8b2b2cf2681e3ceebc4cb0507f1fbaaeae3c","scripts":{"build":"tsup src/sdk.ts --format cjs,esm --dts --minify --clean --no-splitting","prepublishOnly":"npm run build"},"_npmUser":{"name":"dungton","email":"nguyenphatdat3004@gmail.com"},"repository":{"url":"git+https://github.com/dano-finance/clmm-sdk.git","type":"git"},"_npmVersion":"11.4.2","description":"An SDK to calculate and execute swaps on the Danogo liquidity platform.","directories":{},"_nodeVersion":"22.17.0","dependencies":{"@cardano-ogmios/client":"^6.14.0","@cardano-ogmios/schema":"^6.14.0","@evolution-sdk/evolution":"^0.3.31"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"tsup":"^8.0.0","typescript":"^5.9.2"},"_npmOperationalInternal":{"tmp":"tmp/danogo-clmm_0.1.2_1775451167366_0.45759383536269005","host":"s3://npm-registry-packages-npm-production"}},"0.1.3":{"name":"danogo-clmm","version":"0.1.3","keywords":["cardano","dano-finance","swap","clmm"],"_id":"danogo-clmm@0.1.3","maintainers":[{"name":"dungton","email":"nguyenphatdat3004@gmail.com"}],"homepage":"https://github.com/dano-finance/clmm-sdk#readme","bugs":{"url":"https://github.com/dano-finance/clmm-sdk/issues"},"dist":{"shasum":"34cb41e173ba6428638514ded35b7ff8458656ac","tarball":"https://registry.npmjs.org/danogo-clmm/-/danogo-clmm-0.1.3.tgz","fileCount":6,"integrity":"sha512-PHRNqy7B363bxy9AfSCIDp5d8XlUbko/DVkMs30MJowGXVezhejie5PVcsunWx2HQKAsQ7VmzHhfYDEw/NBtqw==","signatures":[{"sig":"MEYCIQCVLSoB56LsZ15VNbOy5xdf6qb5SeuIaark/MeJBVGLSgIhANmu60Pb7l41lDsQikowCHj2rksBhV+eRf9xXdkAWjfL","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":41694},"main":"./dist/sdk.js","types":"./dist/sdk.d.ts","module":"./dist/sdk.mjs","exports":{".":{"import":"./dist/sdk.mjs","require":"./dist/sdk.js"}},"gitHead":"8795272131609be71e91299e06d3ad84679c0b98","scripts":{"build":"tsup src/sdk.ts --format cjs,esm --dts --minify --clean --no-splitting","prepublishOnly":"npm run build"},"_npmUser":{"name":"dungton","email":"nguyenphatdat3004@gmail.com"},"repository":{"url":"git+https://github.com/dano-finance/clmm-sdk.git","type":"git"},"_npmVersion":"11.4.2","description":"An SDK to calculate and execute swaps on the Danogo liquidity platform.","directories":{},"_nodeVersion":"22.17.0","dependencies":{"@cardano-ogmios/client":"6.14.0","@cardano-ogmios/schema":"6.14.0","@evolution-sdk/evolution":"0.3.32"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"tsup":"^8.0.0","typescript":"^5.9.2"},"_npmOperationalInternal":{"tmp":"tmp/danogo-clmm_0.1.3_1775555759478_0.7830822412409699","host":"s3://npm-registry-packages-npm-production"}},"0.1.4":{"name":"danogo-clmm","version":"0.1.4","keywords":["cardano","dano-finance","swap","clmm"],"_id":"danogo-clmm@0.1.4","maintainers":[{"name":"dungton","email":"nguyenphatdat3004@gmail.com"}],"homepage":"https://github.com/dano-finance/clmm-sdk#readme","bugs":{"url":"https://github.com/dano-finance/clmm-sdk/issues"},"dist":{"shasum":"266e90555a2ce5195fc9c07cac501228d749e5ba","tarball":"https://registry.npmjs.org/danogo-clmm/-/danogo-clmm-0.1.4.tgz","fileCount":6,"integrity":"sha512-aTGG67JwJQ+VGYOHqQL5vMg+GN8NcZP/isGhSkpwa8s3l8Sxis+KOXv7dzgtYg+z6ikBAuOoHkTusL4vuzoJAg==","signatures":[{"sig":"MEQCIDNZ7j4z5Sxl6S9ufwl7D9M/N0x1ExyDRBqnZuHBLuCtAiBCj87E/sFBvlzN4KGt8dAL4gBS+ueLta/cxZact7ftvg==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":41864},"main":"./dist/sdk.js","types":"./dist/sdk.d.ts","module":"./dist/sdk.mjs","exports":{".":{"import":"./dist/sdk.mjs","require":"./dist/sdk.js"}},"gitHead":"e09053bce8d7b62080b0d941a1847d2e7e959ed9","scripts":{"build":"tsup src/sdk.ts --format cjs,esm --dts --minify --clean --no-splitting","prepublishOnly":"npm run build"},"_npmUser":{"name":"dungton","email":"nguyenphatdat3004@gmail.com"},"repository":{"url":"git+https://github.com/dano-finance/clmm-sdk.git","type":"git"},"_npmVersion":"11.4.2","description":"An SDK to calculate and execute swaps on the Danogo liquidity platform.","directories":{},"_nodeVersion":"22.17.0","dependencies":{"@cardano-ogmios/client":"6.14.0","@cardano-ogmios/schema":"6.14.0","@evolution-sdk/evolution":"0.3.32"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"tsup":"^8.0.0","typescript":"^5.9.2"},"_npmOperationalInternal":{"tmp":"tmp/danogo-clmm_0.1.4_1775642304986_0.3227618839783142","host":"s3://npm-registry-packages-npm-production"}},"0.1.5":{"name":"danogo-clmm","version":"0.1.5","keywords":["cardano","dano-finance","swap","clmm"],"license":"MIT","_id":"danogo-clmm@0.1.5","maintainers":[{"name":"dungton","email":"nguyenphatdat3004@gmail.com"}],"homepage":"https://github.com/dano-finance/clmm-sdk#readme","bugs":{"url":"https://github.com/dano-finance/clmm-sdk/issues"},"dist":{"shasum":"9e53322fffb70048c8b361fe433dca7f76742dc6","tarball":"https://registry.npmjs.org/danogo-clmm/-/danogo-clmm-0.1.5.tgz","fileCount":6,"integrity":"sha512-ROsEcBf4ynFw7K3NTwRUF4dY7bcJmRF5rxwGGtD2nieCDggCo0in04bYuVo6oomEvUr353Iwbi+UXF+JjxMX4A==","signatures":[{"sig":"MEYCIQCIF5tIAMJM1KV3LNC3WNVsMvoENneb2oVDaPFQNJrzQQIhAL5JewQkb8lsbZSNu0Klia3uFJIb3QaXCeASQ5f9qcXn","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":41212},"main":"./dist/sdk.js","types":"./dist/sdk.d.ts","module":"./dist/sdk.mjs","exports":{".":{"import":"./dist/sdk.mjs","require":"./dist/sdk.js"}},"gitHead":"b4b7c0b7fe87141e05c97df97b6ad8f71cf2fa1f","scripts":{"build":"tsup src/sdk.ts --format cjs,esm --dts --minify --clean --no-splitting","prepublishOnly":"npm run build"},"_npmUser":{"name":"dungton","email":"nguyenphatdat3004@gmail.com"},"repository":{"url":"git+https://github.com/dano-finance/clmm-sdk.git","type":"git"},"_npmVersion":"11.4.2","description":"An SDK to calculate and execute swaps on the Danogo liquidity platform.","directories":{},"_nodeVersion":"22.17.0","dependencies":{"@cardano-ogmios/client":"6.14.0","@cardano-ogmios/schema":"6.14.0","@evolution-sdk/evolution":"0.3.32"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"tsup":"^8.0.0","typescript":"^5.9.2"},"_npmOperationalInternal":{"tmp":"tmp/danogo-clmm_0.1.5_1775793832064_0.6144022971439398","host":"s3://npm-registry-packages-npm-production"}},"0.1.6":{"name":"danogo-clmm","version":"0.1.6","description":"An SDK to calculate and execute swaps on the Danogo liquidity platform.","main":"./dist/sdk.js","module":"./dist/sdk.mjs","types":"./dist/sdk.d.ts","exports":{".":{"import":"./dist/sdk.mjs","require":"./dist/sdk.js"}},"keywords":["cardano","dano-finance","swap","clmm"],"license":"MIT","repository":{"type":"git","url":"git+https://github.com/dano-finance/clmm-sdk.git"},"scripts":{"build":"tsup src/sdk.ts --format cjs,esm --dts --minify --clean --no-splitting","prepublishOnly":"npm run build"},"publishConfig":{"access":"public"},"dependencies":{"@cardano-ogmios/client":"6.14.0","@cardano-ogmios/schema":"6.14.0","@evolution-sdk/evolution":"0.3.32"},"devDependencies":{"tsup":"^8.0.0","typescript":"^5.9.2"},"_id":"danogo-clmm@0.1.6","gitHead":"feaf32051d91c0a5b928c080133d88fb55c8e3a8","bugs":{"url":"https://github.com/dano-finance/clmm-sdk/issues"},"homepage":"https://github.com/dano-finance/clmm-sdk#readme","_nodeVersion":"22.17.0","_npmVersion":"11.4.2","dist":{"integrity":"sha512-x1xOEjxYziQqYetd+UCWVi3cY6wshGdR2rrX2VG0e1F6lgCbJLDZRRm5SWRsDlarrSwebVFa59r7szLTCbEiWA==","shasum":"acefdd43d7d3de5a3b7b6012864d569522fa98ee","tarball":"https://registry.npmjs.org/danogo-clmm/-/danogo-clmm-0.1.6.tgz","fileCount":6,"unpackedSize":41230,"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEQCIGS1WJZ3+lQ9yXMMzkd33AyYa8UShhWrD32gsYCEiL5OAiAGnzym3HwJRZ0LLGifiT610G1U45DAQnQCFh1hEOS21w=="}]},"_npmUser":{"name":"dungton","email":"nguyenphatdat3004@gmail.com"},"directories":{},"maintainers":[{"name":"dungton","email":"nguyenphatdat3004@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/danogo-clmm_0.1.6_1776054742159_0.33624350200501896"},"_hasShrinkwrap":false}},"time":{"created":"2025-12-19T02:55:05.476Z","modified":"2026-04-13T04:32:22.410Z","0.0.0":"2025-12-19T02:55:05.714Z","0.0.1":"2026-03-31T04:14:25.641Z","0.0.2":"2026-03-31T12:13:54.780Z","0.0.3":"2026-03-31T12:21:09.860Z","0.0.4":"2026-03-31T12:46:32.478Z","0.0.5":"2026-03-31T13:13:59.606Z","0.0.6":"2026-03-31T13:28:31.549Z","0.0.7":"2026-03-31T13:49:33.880Z","0.0.8":"2026-03-31T14:57:19.080Z","0.0.9":"2026-03-31T15:05:20.463Z","0.0.10":"2026-03-31T15:07:47.305Z","0.0.11":"2026-03-31T15:24:12.583Z","0.0.12":"2026-03-31T15:28:17.644Z","0.0.13":"2026-03-31T15:28:41.840Z","0.0.14":"2026-03-31T15:29:14.457Z","0.0.15":"2026-03-31T15:32:23.004Z","0.1.0":"2026-04-01T11:04:50.037Z","0.1.0-test":"2026-04-01T11:30:21.342Z","0.1.0-test1":"2026-04-02T03:05:03.793Z","0.1.0-test2":"2026-04-02T03:14:30.460Z","0.1.0-test3":"2026-04-02T03:50:49.215Z","0.1.0-test4":"2026-04-02T04:31:15.956Z","0.1.0-test5":"2026-04-02T07:36:09.906Z","0.1.1":"2026-04-02T07:55:00.587Z","0.1.2-test":"2026-04-03T11:06:40.006Z","0.1.2-test1":"2026-04-06T02:42:53.185Z","0.1.2-test2":"2026-04-06T04:43:21.346Z","0.1.2":"2026-04-06T04:52:47.545Z","0.1.3":"2026-04-07T09:55:59.616Z","0.1.4":"2026-04-08T09:58:25.120Z","0.1.5":"2026-04-10T04:03:52.212Z","0.1.6":"2026-04-13T04:32:22.294Z"},"bugs":{"url":"https://github.com/dano-finance/clmm-sdk/issues"},"license":"MIT","homepage":"https://github.com/dano-finance/clmm-sdk#readme","keywords":["cardano","dano-finance","swap","clmm"],"repository":{"type":"git","url":"git+https://github.com/dano-finance/clmm-sdk.git"},"description":"An SDK to calculate and execute swaps on the Danogo liquidity platform.","maintainers":[{"name":"dungton","email":"nguyenphatdat3004@gmail.com"}],"readme":"# Danogo CLMM SDK\n\nAn SDK to calculate and execute swaps on the Danogo liquidity platform on the Cardano network.\n\n## Installation\n\n```bash\nnpm install danogo-clmm\n```\n\n## Prerequisites\n\nThis SDK requires:\n- Node.js 18+\n- `@evolution-sdk/evolution` version `0.32.2` for wallet management and transaction building\n- A Kupmios provider for blockchain data and transaction submission\n- Support network: Preprod & Mainnet\n\n## Usage\n\n### Initialization\n\nInitialize the SDK and the Evolution client.\n```typescript\nimport DanogoClmm from \"danogo-clmm\";\nimport { client, preprod } from \"@evolution-sdk/evolution\";\n\nconst danogoClmm = new DanogoClmm();\n\nconst evolutionClient = client(preprod)\n  .withKupmios({\n    kupoUrl: \"your_kupo_url\",\n    ogmiosUrl: \"your_ogmios_url\",\n  })\n  .withSeed({\n    mnemonic: \"your_seed_phrase\",\n    accountIndex: 0,\n  });\n```\n\n### 1. Calculate Swap Output (Quote)\n\nCalculate the expected output of a swap without submitting a transaction. You can swap through one or more pools to get better price execution.\n\n#### Examples\n```typescript\nconst quote = await danogoClmm.calculateSwapOut(evolutionClient, {\n  pools: [\n    {\n      poolOutRef: \"tx_hash#index\",\n      deltaAmount: 5_000_000n,\n      stakingOutRef: \"tx_hash#index\" // required if pool contains ADA and swap for the first time in current epoch\n    },\n    {\n      poolOutRef: \"tx_hash#index\",\n      deltaAmount: 5_000_000n,\n      stakingOutRef: \"tx_hash#index\" // required if pool contains ADA and swap for the first time in current epoch\n    }\n  ]\n});\n```\n\n### 2. Submit Swap Transaction\n\nBuild and submit a swap transaction across one or more pools.\n\n#### Examples\n```typescript\nconst txHash = await danogoClmm.submitSwap(evolutionClient, {\n  pools: [\n    {\n      poolOutRef: \"tx_hash#index\",\n      deltaAmount: 5_000_000n,\n      minOutChangeAmount: 4_500_000n, // retrieve from calculateSwapOut to avoid slippage\n      stakingOutRef: \"tx_hash#index\" // required if pool contains ADA and swap for the first time in current epoch\n    },\n    {\n      poolOutRef: \"tx_hash#index\",\n      deltaAmount: 5_000_000n,\n      minOutChangeAmount: 4_500_000n, // retrieve from calculateSwapOut to avoid slippage\n      stakingOutRef: \"tx_hash#index\" // required if pool contains ADA and swap for the first time in current epoch\n    }\n  ],\n  protocolConfigOutRef: \"tx_hash#index\"\n});\n```\n\n> `protocolConfigOutRef` is optional and defaults to the SDK's internal constants. In rare cases where the protocol configuration has updated but the SDK has not yet been updated, you can manually provide the latest `protocolConfigOutRef` in your request. Refer to `src/constants.ts` for the constants.\n\n### 4. Get Pool Info from Ogmios Transaction\n\nExtract pool data directly from an Ogmios transaction object.\n\n```typescript\nimport DanogoClmm from \"danogo-clmm\";\nimport { createChainSynchronizationClient, createInteractionContext } from \"@cardano-ogmios/client\";\nimport { Point } from \"@cardano-ogmios/schema\";\n\nconst danogoClmm = new DanogoClmm();\n\nasync function main() {\n  const context = await createInteractionContext(\n    console.error,\n    () => console.log(\"closed\"),\n    {\n      connection: {\n        host: \"your_ogmios_host\",\n        port: 443,\n        tls: true\n      },\n    }\n  );\n\n  const client = await createChainSynchronizationClient(context, {\n    rollForward: async ({ block }, requestNext) => {\n      if (\"transactions\" in block) {\n        for (const tx of block.transactions!) {\n          const networkId = 0; // 0 for Preprod, 1 for Mainnet\n          const pools = danogoClmm.getPoolsFromOgmiosTx(tx, networkId);\n          // your logic with pools\n        }\n      }\n      requestNext();\n    },\n\n    rollBackward: async ({ point }, requestNext) => {\n      // handle rollbacks\n      requestNext();\n    },\n  });\n\n  const checkpoint: Point = {\n    slot: 109847210, // Replace with your slot\n    id: \"your_block_hash\",\n  };\n\n  await client.resume([checkpoint]);\n}\n```\n\n### ⚠️ TypeScript Compatibility Note\n\nThe dependency `@evolution-sdk/evolution` currently ships with some TypeScript type definitions that may cause compilation errors in strict projects.\n\nIf you encounter type errors originating from `node_modules/@evolution-sdk/evolution`, you can safely enable the following option in your `tsconfig.json`:\n\n```json\n{\n  \"compilerOptions\": {\n    \"skipLibCheck\": true\n  }\n}\n```","readmeFilename":"README.md"}