[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill-uniswap-lp-integration":3,"mdc--uu1f2d-key":36,"related-repo-uniswap-lp-integration":11900,"related-org-uniswap-lp-integration":11989},{"slug":4,"name":4,"fn":5,"description":6,"org":7,"tags":11,"stars":25,"repoUrl":26,"updatedAt":27,"license":28,"forks":29,"topics":30,"repo":31,"sourceUrl":34,"mdContent":35},"lp-integration","integrate Uniswap liquidity provisioning","Integrate Uniswap liquidity provisioning (LP) into applications via the LP REST API. Use when the user says \"LP API\", \"liquidity provisioning API\", \"provide liquidity programmatically\", \"create LP position via API\", \"add liquidity via API\", \"increase liquidity\", \"decrease liquidity\", \"remove liquidity\", \"claim LP fees\", \"collect LP fees\", \"manage LP positions in code\", or mentions building a backend, bot, or frontend that creates or manages Uniswap v2\u002Fv3\u002Fv4 liquidity positions through an API. Also use when debugging LP API calls (e.g. \u002Flp\u002Fcreate, \u002Flp\u002Fcheck_approval, \u002Flp\u002Fincrease, \u002Flp\u002Fdecrease, \u002Flp\u002Fclaim_fees), unexpected response fields, the approval or EIP-712 permit flow, or transaction-building errors for liquidity positions. For generating deep links to the Uniswap web app instead of calling the API, use the liquidity-planner skill; for using the Uniswap v4 SDK directly rather than the REST API, use the v4-sdk-integration skill.",{"slug":8,"name":9,"logoUrl":10,"githubOrg":9},"uniswap","Uniswap","https:\u002F\u002Fpexgzepcugksgbtrxkhf.supabase.co\u002Fstorage\u002Fv1\u002Fobject\u002Fpublic\u002Forg-logos\u002Funiswap.png",[12,16,19,22],{"name":13,"slug":14,"type":15},"Web3","web3","tag",{"name":17,"slug":18,"type":15},"DeFi","defi",{"name":20,"slug":21,"type":15},"Liquidity","liquidity",{"name":23,"slug":24,"type":15},"API Development","api-development",215,"https:\u002F\u002Fgithub.com\u002FUniswap\u002Funiswap-ai","2026-07-17T06:08:13.704465","MIT",35,[],{"repoUrl":26,"stars":25,"forks":29,"topics":32,"description":33},[],"AI tools for building on Uniswap — skills, plugins, and agents for any coding agent.","https:\u002F\u002Fgithub.com\u002FUniswap\u002Funiswap-ai\u002Ftree\u002FHEAD\u002Fpackages\u002Fplugins\u002Funiswap-trading\u002Fskills\u002Flp-integration","---\nname: lp-integration\ndescription: Integrate Uniswap liquidity provisioning (LP) into applications via the LP REST API. Use when the user says \"LP API\", \"liquidity provisioning API\", \"provide liquidity programmatically\", \"create LP position via API\", \"add liquidity via API\", \"increase liquidity\", \"decrease liquidity\", \"remove liquidity\", \"claim LP fees\", \"collect LP fees\", \"manage LP positions in code\", or mentions building a backend, bot, or frontend that creates or manages Uniswap v2\u002Fv3\u002Fv4 liquidity positions through an API. Also use when debugging LP API calls (e.g. \u002Flp\u002Fcreate, \u002Flp\u002Fcheck_approval, \u002Flp\u002Fincrease, \u002Flp\u002Fdecrease, \u002Flp\u002Fclaim_fees), unexpected response fields, the approval or EIP-712 permit flow, or transaction-building errors for liquidity positions. For generating deep links to the Uniswap web app instead of calling the API, use the liquidity-planner skill; for using the Uniswap v4 SDK directly rather than the REST API, use the v4-sdk-integration skill.\nallowed-tools: Read, Write, Edit, Glob, Grep, Bash(npm:*), Bash(npx:*), Bash(yarn:*), Bash(curl:*), WebFetch, Task(subagent_type:swap-integration-expert)\nmodel: opus\nlicense: MIT\nmetadata:\n  author: uniswap\n  version: '0.1.0'\n---\n\n# LP Integration\n\nIntegrate Uniswap liquidity provisioning into frontends, backends, and bots using the Uniswap LP API.\n\nThe LP API is a transaction-building service. You send position parameters; the API fetches live pool state, computes the dependent token amount, and returns a fully-formed, unsigned transaction. Your application signs and broadcasts it. The API never holds keys, never moves funds, and never broadcasts.\n\n## Prerequisites\n\nThis skill assumes familiarity with viem basics (client setup, account management, contract interactions, transaction signing). Install the **uniswap-viem** plugin for comprehensive viem\u002Fwagmi guidance: `claude plugin add @uniswap\u002Funiswap-viem`\n\nFor token swaps (not liquidity), see the sibling **swap-integration** skill in this plugin.\n\n## Base URL\n\n```text\nLP_API_BASE_URL = https:\u002F\u002Fliquidity.api.uniswap.org\n```\n\nAll LP endpoints are POST requests under the `\u002Flp\u002F` prefix (e.g. `https:\u002F\u002Fliquidity.api.uniswap.org\u002Flp\u002Fcreate`).\n\n> **The LP API host is intentionally different from the swap Trading API.** Liquidity provisioning lives at `https:\u002F\u002Fliquidity.api.uniswap.org` (no `\u002Fv1` prefix), not the `https:\u002F\u002Ftrade-api.gateway.uniswap.org\u002Fv1` host used for swaps. Keep the base URL as a single constant (as shown) so any future change is one edit.\n\n## Authentication\n\nEvery write\u002Fapproval endpoint requires an API key sent as the `x-api-key` header; a missing or invalid key returns `401` with `{\"code\":\"unauthenticated\"}`. (`\u002Flp\u002Fpool_info` is a read endpoint and does not strictly enforce the key, but always send it for consistency and rate-limit attribution.)\n\n```text\nContent-Type: application\u002Fjson\nAccept: application\u002Fjson\nx-api-key: \u003Cyour-api-key>\n```\n\n**Getting a key:** Register at the [Uniswap Developer Platform dashboard](https:\u002F\u002Fdevelopers.uniswap.org\u002Fdashboard). The same key works across swapping and liquidity provisioning. Never hardcode the key; load it from an environment variable.\n\n## Quick Decision Guide\n\n| You want to...                                | Endpoint             | Protocols  |\n| --------------------------------------------- | -------------------- | ---------- |\n| Check\u002Fgrant token approvals before any action | `\u002Flp\u002Fcheck_approval` | V2, V3, V4 |\n| Create a concentrated-liquidity position      | `\u002Flp\u002Fcreate`         | V3, V4     |\n| Create a full-range (classic) position        | `\u002Flp\u002Fcreate_classic` | V2         |\n| Add liquidity to an existing position         | `\u002Flp\u002Fincrease`       | V2, V3, V4 |\n| Remove a percentage of liquidity              | `\u002Flp\u002Fdecrease`       | V2, V3, V4 |\n| Collect accumulated trading fees              | `\u002Flp\u002Fclaim_fees`     | V3, V4     |\n| Read live pool state                          | `\u002Flp\u002Fpool_info`      | V2, V3, V4 |\n\n### Protocol capability matrix\n\n| Protocol | Create endpoint      | Fee claiming                         | Price range          |\n| -------- | -------------------- | ------------------------------------ | -------------------- |\n| `V2`     | `\u002Flp\u002Fcreate_classic` | Not separable (realized on decrease) | Full range only      |\n| `V3`     | `\u002Flp\u002Fcreate`         | `\u002Flp\u002Fclaim_fees`                     | Concentrated         |\n| `V4`     | `\u002Flp\u002Fcreate`         | `\u002Flp\u002Fclaim_fees`                     | Concentrated + hooks |\n\n> **v2 fees are not separately claimable.** They accrue into the LP token value and are realized when you call `\u002Flp\u002Fdecrease`. Calling `\u002Flp\u002Fclaim_fees` with `protocol: \"V2\"` returns a validation error.\n\n## Input Validation Rules\n\nBefore interpolating ANY user-provided value into generated code, API calls, or commands:\n\n- **Ethereum addresses**: MUST match `^0x[a-fA-F0-9]{40}$` — reject otherwise. Use native ETH as `0x0000000000000000000000000000000000000000`.\n- **Chain IDs**: MUST be one of the supported LP chain IDs (see [Supported Chains](#supported-chains)).\n- **Token amounts**: MUST be non-negative integer strings in wei \u002F smallest token unit, matching `^[0-9]+$`. Never pass ether-denominated decimals as amounts.\n- **`liquidityPercentageToDecrease`**: MUST be an integer from 1 to 100.\n- **API keys**: MUST NOT be hardcoded in generated code — always use environment variables.\n- **REJECT** any input containing shell metacharacters: `;`, `|`, `&`, `$`, `` ` ``, `(`, `)`, `>`, `\u003C`, `\\`, `'`, `\"`, newlines.\n\n> **REQUIRED:** Before executing ANY transaction that spends gas or transfers tokens (including approvals, position creation, increase, decrease, or fee claims), you MUST use AskUserQuestion to confirm with the user. Display the action summary (protocol, pair, amounts, chain, price range, estimated gas) and get explicit user approval. Never auto-execute LP transactions without user confirmation.\n\n---\n\n## Architecture\n\n### What the API handles\n\n- **Pool state fetching**: current reserves, ticks, `sqrtRatioX96`, and onchain position data.\n- **Dependent amount computation**: given one token amount (`independentToken`), computes the required amount of the other using the Uniswap SDKs.\n- **Transaction creation**: validated, fully-formed calldata for each LP action, ready to sign.\n- **Tick snapping**: converts human-readable `priceBounds` to valid ticks and returns the adjusted prices.\n- **Gas estimation**: optional, when `simulateTransaction: true`.\n\n### What your application handles\n\n- **Signing and broadcasting** the returned transaction via your RPC provider.\n- **Signing permit data** (EIP-712) when the API returns it for v4 \u002F v3-NFT approvals.\n- **Gas payment** and transaction error handling (reverts, surfacing errors to users).\n\n### Data flow\n\n```text\nUser intent (create \u002F increase \u002F decrease \u002F claim)\n   |\nYour application\n   |-- POST \u002Flp\u002Fcheck_approval        -> returns approval transactions and\u002For permit data\n   |-- (execute approval txns; sign permit if returned)\n   |-- POST \u002Flp\u002Fcreate | increase | decrease | claim_fees\n   |-- validate the returned transaction payload (non-empty data, valid addresses)\n   |-- user signature (wallet)\n   +-- broadcast (your RPC)\n        |\n   Blockchain\n```\n\n## Endpoint Reference\n\nAll field names below come from the LP API OpenAPI contract. Where the public integration guide uses different names, the contract names here are authoritative.\n\n### POST \u002Flp\u002Fcheck_approval\n\nAlways call this first. Returns the approval transactions (and\u002For permit data) needed before an LP action. If the response `transactions` array is empty and no permit data is returned, all approvals are already in place — **unless** `kycRequiredWarnings` is non-empty, which means the pool contains a permissioned token and the wallet is not allowlisted. In that case the response is still `200`; render the KYC call-to-action from each warning's `kycUrl` instead of attempting the LP action.\n\n**Request**\n\n```json\n{\n  \"walletAddress\": \"0x...\",\n  \"protocol\": \"V4\",\n  \"chainId\": 1,\n  \"lpTokens\": [\n    { \"tokenAddress\": \"0x...\", \"amount\": \"1000000000000000000\" },\n    { \"tokenAddress\": \"0x...\", \"amount\": \"500000000\" }\n  ],\n  \"action\": \"CREATE\"\n}\n```\n\n| Field                         | Required | Notes                                                                       |\n| ----------------------------- | -------- | --------------------------------------------------------------------------- |\n| `walletAddress`               | Yes      | The position owner                                                          |\n| `protocol`                    | Yes      | `V2` \\| `V3` \\| `V4`                                                        |\n| `chainId`                     | Yes      | Supported chain ID                                                          |\n| `lpTokens`                    | Yes      | Array of `{ tokenAddress, amount }` to be spent                             |\n| `action`                      | Yes      | `CREATE` \\| `INCREASE` \\| `DECREASE` \\| `MIGRATE`                           |\n| `simulateTransaction`         | No       | Include gas estimates                                                       |\n| `includeGasInfo`              | No       | Include gas info on returned approvals                                      |\n| `generatePermitAsTransaction` | No       | If `true`, return permit as an executable transaction instead of typed data |\n| `urgency`                     | No       | `NORMAL` \\| `FAST` \\| `URGENT`                                              |\n| `v3NftTokenId`                | No       | v3 NFT id when approving a position-manager NFT                             |\n\n**Response**\n\n```ts\ninterface CheckApprovalResponse {\n  requestId: string;\n  transactions: ApprovalTransactionRequest[]; \u002F\u002F sign each .transaction; empty (with kycRequiredWarnings also empty) = nothing to approve\n  v4BatchPermitData?: NullablePermit; \u002F\u002F v4: sign and pass into \u002Flp\u002Fcreate or \u002Flp\u002Fincrease\n  v3NftPermitData?: NullablePermit; \u002F\u002F v3 NFT permit\n  kycRequiredWarnings: KycRequiredWarning[]; \u002F\u002F permissioned pools: non-empty when the wallet is NOT allowlisted. Always present (usually []).\n}\n\ninterface ApprovalTransactionRequest {\n  transaction: TransactionRequest; \u002F\u002F the tx to sign and broadcast\n  cancelApproval: boolean;\n  action: 'CREATE' | 'INCREASE' | 'DECREASE' | 'MIGRATE';\n  gasFee?: string;\n}\n\ninterface KycRequiredWarning {\n  kycUrl: string;\n  tokenAddress: string;\n  chainId: number;\n}\n```\n\n> **The response field is `transactions`, not `approvals`.** Each element WRAPS a transaction. Sign `element.transaction`, never the element object itself. There are no top-level `token`\u002F`spender` fields.\n\n### POST \u002Flp\u002Fcreate\n\nCreate a v3 or v4 concentrated-liquidity position. Specify a price range and one token amount; the API computes the other from live pool state.\n\n**Pool specification** — provide exactly one of:\n\n- `existingPool`: `{ token0Address, token1Address, poolReference }` where `poolReference` is the pool address (v3) or pool ID (v4).\n- `newPool`: `{ token0Address, token1Address, fee, tickSpacing, hooks?, initialPrice }` where `initialPrice` is a `sqrtRatioX96` string (`hooks` is v4-only).\n\n**Price range** — provide exactly one of:\n\n- `priceBounds`: `{ minPrice, maxPrice, quotedTokenAddress }` — `minPrice`\u002F`maxPrice` are decimal price strings and `quotedTokenAddress` is **required** (it must equal `token0Address` or `token1Address`). `quotedTokenAddress` sets which token the prices are denominated in; there is no default, and omitting it returns a `400`. The API snaps to valid ticks and returns the adjusted prices.\n- `tickBounds`: `{ tickLower, tickUpper }` raw integers.\n\n**Request**\n\n```json\n{\n  \"walletAddress\": \"0x...\",\n  \"chainId\": 1,\n  \"protocol\": \"V3\",\n  \"existingPool\": {\n    \"token0Address\": \"0x1f9840a85d5af5bf1d1762f925bdaddc4201f984\",\n    \"token1Address\": \"0xdAC17F958D2ee523a2206206994597C13D831ec7\",\n    \"poolReference\": \"0x3470447f3cecffac709d3e783a307790b0208d60\"\n  },\n  \"independentToken\": {\n    \"tokenAddress\": \"0x1f9840a85d5af5bf1d1762f925bdaddc4201f984\",\n    \"amount\": \"198251669183062942\"\n  },\n  \"priceBounds\": {\n    \"minPrice\": \"0.00000000000324\",\n    \"maxPrice\": \"0.00000000000393\",\n    \"quotedTokenAddress\": \"0xdAC17F958D2ee523a2206206994597C13D831ec7\"\n  },\n  \"simulateTransaction\": false\n}\n```\n\n| Field                                                      | Required     | Notes                                                                                    |\n| ---------------------------------------------------------- | ------------ | ---------------------------------------------------------------------------------------- |\n| `walletAddress`, `chainId`, `protocol`, `independentToken` | Yes          | `independentToken` is `{ tokenAddress, amount }`                                         |\n| `existingPool` \\| `newPool`                                | One required | See pool specification above                                                             |\n| `priceBounds` \\| `tickBounds`                              | One required | See price range above                                                                    |\n| `dependentToken`                                           | No           | Override the computed dependent amount                                                   |\n| `slippageTolerance`                                        | No           | Decimal percent (e.g. `0.5`)                                                             |\n| `deadline`                                                 | No           | Unix seconds                                                                             |\n| `simulateTransaction`                                      | No           | Include `gasFee` in response                                                             |\n| `urgency`                                                  | No           | `NORMAL` \\| `FAST` \\| `URGENT`                                                           |\n| `batchPermitData` + `signature`                            | No           | v4 permit from `\u002Flp\u002Fcheck_approval` (note: create uses `batchPermitData`)                |\n| `nativeTokenBalance`                                       | No           | Used when one side is native ETH                                                         |\n| `includeApprovalSimulation`                                | No           | Include approval pre-calls in the gas simulation (only with `simulateTransaction: true`) |\n\n**Response**\n\n```ts\ninterface CreatePositionResponse {\n  requestId: string;\n  token0: LPToken; \u002F\u002F { tokenAddress, amount }\n  token1: LPToken;\n  adjustedMinPrice: string; \u002F\u002F show THIS to the user, not your input minPrice\n  adjustedMaxPrice: string;\n  tickLower: number;\n  tickUpper: number;\n  create: TransactionRequest;\n  gasFee?: string; \u002F\u002F present when simulateTransaction: true\n  slippage?: number; \u002F\u002F effective slippage the API applied (e.g. native-token v4 cases)\n}\n```\n\n> **Display `adjustedMinPrice` \u002F `adjustedMaxPrice`** (the tick-snapped values), not the original `priceBounds` you sent.\n\n### POST \u002Flp\u002Fcreate_classic\n\nCreate a v2 (full-range) position. Provide one `independentToken` amount; the API computes the `dependentToken` from current pair reserves.\n\n**Request**\n\n```json\n{\n  \"walletAddress\": \"0x...\",\n  \"poolParameters\": {\n    \"token0Address\": \"0xc02fe7317d4eb8753a02c35fe019786854a92001\",\n    \"token1Address\": \"0x0000000000000000000000000000000000000000\",\n    \"chainId\": 130\n  },\n  \"independentToken\": {\n    \"tokenAddress\": \"0xc02fe7317d4eb8753a02c35fe019786854a92001\",\n    \"amount\": \"1000000000000000\"\n  },\n  \"simulateTransaction\": false\n}\n```\n\n| Field                                                                                          | Required | Notes                                                                        |\n| ---------------------------------------------------------------------------------------------- | -------- | ---------------------------------------------------------------------------- |\n| `walletAddress`                                                                                | Yes      |                                                                              |\n| `poolParameters`                                                                               | Yes      | `{ token0Address, token1Address, chainId }`                                  |\n| `independentToken`                                                                             | Yes      | `{ tokenAddress, amount }`                                                   |\n| `dependentToken`                                                                               | No       | If omitted, computed from reserves. Required when creating a brand-new pool. |\n| `slippageTolerance`, `deadline`, `simulateTransaction`, `urgency`, `includeApprovalSimulation` | No       |                                                                              |\n\n**Response**: `{ requestId, independentToken, dependentToken, create: TransactionRequest, gasFee? }`. Note the create_classic response names the tokens `independentToken` \u002F `dependentToken` (not `token0` \u002F `token1`).\n\n### POST \u002Flp\u002Fincrease\n\nAdd liquidity to an existing v2\u002Fv3\u002Fv4 position. Provide one token amount; the API computes the other.\n\n**Request**\n\n```json\n{\n  \"walletAddress\": \"0x...\",\n  \"chainId\": 130,\n  \"protocol\": \"V4\",\n  \"token0Address\": \"0x0000000000000000000000000000000000000000\",\n  \"token1Address\": \"0x078D782b760474a361dDA0AF3839290b0EF57AD6\",\n  \"nftTokenId\": \"1833079\",\n  \"independentToken\": {\n    \"tokenAddress\": \"0x078D782b760474a361dDA0AF3839290b0EF57AD6\",\n    \"amount\": \"8223\"\n  },\n  \"simulateTransaction\": false\n}\n```\n\n| Field                                                                                        | Required | Notes                                                                                                                         |\n| -------------------------------------------------------------------------------------------- | -------- | ----------------------------------------------------------------------------------------------------------------------------- |\n| `walletAddress`, `chainId`, `protocol`, `token0Address`, `token1Address`, `independentToken` | Yes      | `token0Address`\u002F`token1Address` must match the order in the existing position                                                 |\n| `nftTokenId`                                                                                 | v3\u002Fv4    | NFT id identifying the position                                                                                               |\n| `slippageTolerance`, `deadline`, `simulateTransaction`, `urgency`                            | No       |                                                                                                                               |\n| `v4BatchPermitData` + `signature`                                                            | No       | v4 permit from `\u002Flp\u002Fcheck_approval` (note: increase uses `v4BatchPermitData`, create uses `batchPermitData`)                  |\n| `nativeTokenBalance`, `includeApprovalSimulation`, `permissioned`                            | No       | `nativeTokenBalance` when one side is native ETH; `permissioned` routes to the permissioned PositionManager (KYC-gated pools) |\n\n**Response**: `{ requestId, token0, token1, increase: TransactionRequest, gasFee?, slippage? }`.\n\n> **Native ETH**: use `0x0000000000000000000000000000000000000000`. The API generates a multicall including `refundETH` to return any excess.\n\n### POST \u002Flp\u002Fdecrease\n\nRemove a percentage of liquidity from a v2\u002Fv3\u002Fv4 position.\n\n**Request**\n\n```json\n{\n  \"walletAddress\": \"0x...\",\n  \"chainId\": 130,\n  \"protocol\": \"V4\",\n  \"token0Address\": \"0x0000000000000000000000000000000000000000\",\n  \"token1Address\": \"0x078D782b760474a361dDA0AF3839290b0EF57AD6\",\n  \"liquidityPercentageToDecrease\": 25,\n  \"nftTokenId\": \"1833079\",\n  \"simulateTransaction\": false\n}\n```\n\n| Field                                                                                                     | Required | Notes                                                                                                  |\n| --------------------------------------------------------------------------------------------------------- | -------- | ------------------------------------------------------------------------------------------------------ |\n| `walletAddress`, `chainId`, `protocol`, `token0Address`, `token1Address`, `liquidityPercentageToDecrease` | Yes      | Percentage is an integer 1-100                                                                         |\n| `nftTokenId`                                                                                              | v3\u002Fv4    | NFT id identifying the position                                                                        |\n| `withdrawAsWeth`                                                                                          | No       | Applies to V2 and V3 (ignored on V4). Default \u002F `true` keeps WETH; `false` unwraps WETH to native ETH. |\n| `permissioned`                                                                                            | No       | Routes to the permissioned PositionManager (KYC-gated pools).                                          |\n| `slippageTolerance`, `deadline`, `simulateTransaction`, `urgency`                                         | No       |                                                                                                        |\n\n**Response**: `{ requestId, token0, token1, decrease: TransactionRequest, gasFee? }`.\n\n> **v3 fee collection on decrease**: for v3, the returned `decrease` calldata bundles uncollected fees into the withdrawal automatically, so you do not need to call `\u002Flp\u002Fclaim_fees` separately. Note the response `token0` \u002F `token1` amounts reflect only the pro-rata liquidity removed — the swept fees are encoded in the calldata, not added to those response amounts.\n\n### POST \u002Flp\u002Fclaim_fees\n\nCollect accumulated trading fees from a v3 or v4 position. Not available for v2.\n\n**Request**\n\n```json\n{\n  \"protocol\": \"V4\",\n  \"walletAddress\": \"0x...\",\n  \"chainId\": 130,\n  \"tokenId\": \"1833079\",\n  \"simulateTransaction\": false\n}\n```\n\n| Field                                             | Required | Notes                                                                                         |\n| ------------------------------------------------- | -------- | --------------------------------------------------------------------------------------------- |\n| `protocol`, `walletAddress`, `chainId`, `tokenId` | Yes      | `protocol` of `V2` returns a validation error. Note: claim uses `tokenId` (not `nftTokenId`). |\n| `collectAsWeth`                                   | No       | v3 only. If `false`, unwraps WETH to native ETH.                                              |\n| `permissioned`                                    | No       | Routes to the permissioned PositionManager (KYC-gated pools).                                 |\n| `simulateTransaction`                             | No       |                                                                                               |\n\n**Response**: `{ requestId, token0, token1, claim: TransactionRequest, gasFee? }`.\n\n### POST \u002Flp\u002Fpool_info\n\nRead live pool state (reserves, tick, `sqrtRatioX96`, liquidity) for one or more pools.\n\n**Request**: `{ protocol, poolParameters?, poolReferences?, chainId?, pageSize?, currentPage? }` (only `protocol` is strictly required; supply `poolParameters` `{ tokenAddressA, tokenAddressB, fee?, tickSpacing?, hookAddress? }` or `poolReferences` to identify pools).\n\n**Response**: `{ requestId, pools: PoolInformation[], pageSize, currentPage }` where each `PoolInformation` includes `poolReferenceIdentifier, poolProtocol, tokenAddressA, tokenAddressB, tickSpacing, fee, hookAddress, chainId, tokenAmountA, tokenAmountB, tokenDecimalsA, tokenDecimalsB, poolLiquidity, sqrtRatioX96, currentTick, token0Reserves, token1Reserves` (note: address\u002Famount\u002Fdecimals fields use the `A`\u002F`B` suffix, but the two reserve fields use `0`\u002F`1`). Optional fields (e.g. amounts, `hookAddress`, reserves) are omitted when not applicable to the pool.\n\n### Field-name quirks to preserve\n\nThe same concept is named differently across endpoints. Use the exact name per endpoint:\n\n| Concept         | `\u002Flp\u002Fclaim_fees` | `\u002Flp\u002Fincrease`, `\u002Flp\u002Fdecrease` | `\u002Flp\u002Fcheck_approval`     |\n| --------------- | ---------------- | ------------------------------ | ------------------------ |\n| Position NFT id | `tokenId`        | `nftTokenId`                   | `v3NftTokenId` (integer) |\n\n| Concept           | `\u002Flp\u002Fcreate`      | `\u002Flp\u002Fincrease`      |\n| ----------------- | ----------------- | ------------------- |\n| v4 permit payload | `batchPermitData` | `v4BatchPermitData` |\n\n## Approval and Permit Flow\n\nAlways call `\u002Flp\u002Fcheck_approval` before any LP action, even when approvals were previously granted (allowances can be revoked or consumed).\n\n### Onchain approvals\n\n```ts\nconst res = await fetch(`${LP_API_BASE_URL}\u002Flp\u002Fcheck_approval`, {\n  method: 'POST',\n  headers: { 'x-api-key': API_KEY, 'Content-Type': 'application\u002Fjson', Accept: 'application\u002Fjson' },\n  body: JSON.stringify({ walletAddress, protocol: 'V4', chainId: 1, lpTokens, action: 'CREATE' }),\n});\nif (!res.ok) throw new Error(`check_approval failed: ${res.status}`);\nconst { transactions, v4BatchPermitData, kycRequiredWarnings } = await res.json();\n\n\u002F\u002F A permissioned pool gates LPing on KYC: a non-empty kycRequiredWarnings means render the\n\u002F\u002F KYC CTA (warning.kycUrl) and stop — do NOT treat empty transactions as \"approved\" here.\nif (kycRequiredWarnings?.length)\n  throw new Error('Wallet not allowlisted for this permissioned pool');\n\n\u002F\u002F transactions is an array of ApprovalTransactionRequest. Empty (and no KYC warnings) => already approved.\nfor (const approval of transactions) {\n  validateLpTransaction(approval.transaction); \u002F\u002F see Critical Notes\n  const hash = await walletClient.sendTransaction(approval.transaction);\n  await publicClient.waitForTransactionReceipt({ hash });\n}\n```\n\n### v4 permit (EIP-712 sign-and-return)\n\nFor v4, `check_approval` returns a `v4BatchPermitData` (a gasless Permit2 batch approval) — often **alongside** onchain ERC-20 → Permit2 approval `transactions`, not instead of them. Execute any returned `transactions` first (Permit2 needs the ERC-20 allowance), then sign the permit offchain and pass it into the next call.\n\n> **The permit payload is proto-encoded and is NOT directly viem-ready.** Normalize two fields before signing — the un-normalized object is still what you send back to the API:\n>\n> - `domain.chainId` arrives as the chain **enum-name string** (e.g. `\"UNICHAIN\"`), not a number — replace it with the numeric chain ID.\n> - each `types` entry is wrapped as `{ fields: [...] }`; viem (and the EIP-712 spec) expect a bare array — unwrap `.fields`.\n\n```ts\nlet signature: string | undefined;\nif (v4BatchPermitData) {\n  \u002F\u002F Normalize the proto-encoded permit into viem's TypedData shape (for signing only).\n  const types = Object.fromEntries(\n    Object.entries(v4BatchPermitData.types).map(([k, v]) => [k, (v as any).fields])\n  );\n  const domain = { ...v4BatchPermitData.domain, chainId }; \u002F\u002F numeric chainId (e.g. 130), NOT \"UNICHAIN\"\n\n  signature = await walletClient.signTypedData({\n    domain,\n    types,\n    message: v4BatchPermitData.values,\n    primaryType: 'PermitBatch',\n  });\n}\n\n\u002F\u002F Send the ORIGINAL (un-normalized) permit back to the API, with the signature.\n\u002F\u002F \u002Flp\u002Fcreate (uses batchPermitData) ...\nconst createBody = { ...createParams, batchPermitData: v4BatchPermitData, signature };\n\u002F\u002F ... or \u002Flp\u002Fincrease (uses v4BatchPermitData)\nconst increaseBody = { ...increaseParams, v4BatchPermitData, signature };\n```\n\nFor full typed implementations (v3 NFT permit, `EIP712Domain` edge cases, migration), see [Advanced Patterns Reference](.\u002Freferences\u002Fadvanced-patterns.md#permit-and-approval-deep-dive).\n\n## Critical Implementation Notes\n\n### 1. Sign the wrapped transaction, not the wrapper\n\n`\u002Flp\u002Fcheck_approval` returns `transactions: ApprovalTransactionRequest[]`. Each element is `{ transaction, cancelApproval, action, gasFee? }`.\n\n```ts\n\u002F\u002F WRONG — signs the wrapper object, not a transaction\nfor (const a of transactions) await walletClient.sendTransaction(a);\n\n\u002F\u002F CORRECT\nfor (const a of transactions) await walletClient.sendTransaction(a.transaction);\n```\n\n### 2. Use the contract's response field names\n\n```ts\n\u002F\u002F WRONG — these names come from the narrative guide, not the contract\nconst { approvals } = await checkApprovalRes.json();\nconst { minPrice, maxPrice } = createResponse;\n\n\u002F\u002F CORRECT\nconst { transactions } = await checkApprovalRes.json();\nconst { adjustedMinPrice, adjustedMaxPrice } = createResponse;\n```\n\n### 3. Never modify, always validate the `data` field\n\nThe `create` \u002F `increase` \u002F `decrease` \u002F `claim` field holds pre-validated calldata.\n\n```ts\nfunction validateLpTransaction(tx: TransactionRequest): void {\n  if (!tx.data || tx.data === '' || tx.data === '0x') throw new Error('Empty transaction data');\n  if (!tx.to || !isAddress(tx.to)) throw new Error('Invalid recipient address');\n  if (!tx.from || !isAddress(tx.from)) throw new Error('Invalid sender address');\n  if (tx.maxFeePerGas && tx.gasPrice) throw new Error('Cannot set both maxFeePerGas and gasPrice');\n}\n```\n\nNever edit the calldata — modifying it can cause reverts or loss of funds.\n\n### 4. Transactions are time-sensitive\n\nPool price moves. If the user takes more than ~30 seconds to review, refetch the transaction before broadcasting.\n\n```ts\nconst TX_EXPIRY_MS = 30_000;\nconst builtAt = Date.now();\n\u002F\u002F ... user reviews ...\nif (Date.now() - builtAt > TX_EXPIRY_MS) lpTx = await refetchLpTransaction(params);\n```\n\n### 5. Amounts are wei strings\n\nAll `amount` fields are integer strings in the token's smallest unit. Convert with `parseUnits(value, decimals).toString()` — never send ether-denominated decimals.\n\n### 6. Strip undefined optional fields\n\nSend permit fields as a matched pair (`batchPermitData` + `signature`) or omit both. Do not send `signature: undefined` alongside a present permit, or vice versa.\n\n## Worked Example: Create a v3 Position (viem)\n\n```ts\nimport { createWalletClient, createPublicClient, http, isAddress, parseUnits } from 'viem';\nimport { mainnet } from 'viem\u002Fchains';\nimport { privateKeyToAccount } from 'viem\u002Faccounts';\n\nconst LP_API_BASE_URL = 'https:\u002F\u002Fliquidity.api.uniswap.org';\nconst API_KEY = process.env.UNISWAP_API_KEY!; \u002F\u002F never hardcode\n\nconst account = privateKeyToAccount(process.env.PRIVATE_KEY as `0x${string}`);\nconst walletClient = createWalletClient({\n  account,\n  chain: mainnet,\n  transport: http(process.env.RPC_URL),\n});\nconst publicClient = createPublicClient({ chain: mainnet, transport: http(process.env.RPC_URL) });\n\nconst headers = {\n  'x-api-key': API_KEY,\n  'Content-Type': 'application\u002Fjson',\n  Accept: 'application\u002Fjson',\n};\n\nasync function lpFetch(path: string, body: object) {\n  const res = await fetch(`${LP_API_BASE_URL}${path}`, {\n    method: 'POST',\n    headers,\n    body: JSON.stringify(body),\n  });\n  if (!res.ok) throw new Error(`${path} failed: ${res.status} ${await res.text()}`);\n  return res.json();\n}\n\n\u002F\u002F Same checks as the canonical validateLpTransaction in \"Critical Implementation Notes\" above.\nfunction validateLpTransaction(tx: any) {\n  if (!tx || !tx.data || tx.data === '' || tx.data === '0x')\n    throw new Error('Empty transaction data');\n  if (!tx.to || !isAddress(tx.to)) throw new Error('Invalid recipient address');\n  if (!tx.from || !isAddress(tx.from)) throw new Error('Invalid sender address');\n  if (tx.maxFeePerGas && tx.gasPrice) throw new Error('Cannot set both maxFeePerGas and gasPrice');\n}\n\nasync function createV3Position() {\n  const protocol = 'V3';\n  const chainId = 1;\n  const token0Address = '0x1f9840a85d5af5bf1d1762f925bdaddc4201f984'; \u002F\u002F UNI\n  const token1Address = '0xdAC17F958D2ee523a2206206994597C13D831ec7'; \u002F\u002F USDT\n  const independentToken = { tokenAddress: token0Address, amount: parseUnits('10', 18).toString() };\n\n  \u002F\u002F 1. Approvals\n  const { transactions } = await lpFetch('\u002Flp\u002Fcheck_approval', {\n    walletAddress: account.address,\n    protocol,\n    chainId,\n    lpTokens: [independentToken],\n    action: 'CREATE',\n  });\n  for (const a of transactions) {\n    validateLpTransaction(a.transaction);\n    const hash = await walletClient.sendTransaction(a.transaction);\n    await publicClient.waitForTransactionReceipt({ hash });\n  }\n\n  \u002F\u002F 2. Build the create transaction\n  const created = await lpFetch('\u002Flp\u002Fcreate', {\n    walletAddress: account.address,\n    chainId,\n    protocol,\n    independentToken,\n    existingPool: {\n      token0Address,\n      token1Address,\n      poolReference: '0x3470447f3cecffac709d3e783a307790b0208d60',\n    },\n    priceBounds: {\n      minPrice: '0.00000000000324',\n      maxPrice: '0.00000000000393',\n      quotedTokenAddress: token1Address,\n    },\n    simulateTransaction: true,\n  });\n\n  \u002F\u002F 3. CONFIRM WITH USER before broadcasting (use AskUserQuestion in the skill flow):\n  \u002F\u002F    pair, amounts (created.token0 \u002F created.token1), adjusted range\n  \u002F\u002F    (created.adjustedMinPrice \u002F created.adjustedMaxPrice), created.gasFee\n  validateLpTransaction(created.create);\n  const hash = await walletClient.sendTransaction(created.create);\n  return publicClient.waitForTransactionReceipt({ hash });\n}\n```\n\n## Companion SDKs\n\nThe API returns ready-to-sign transactions, so a protocol SDK is not required. For client-side pool\u002Fposition math, tick conversions, and validation, developers commonly pair the LP API with:\n\n- `@uniswap\u002Fsdk-core` — chains, `Token`, `CurrencyAmount`, `Percent`, `Price` (foundational).\n- `@uniswap\u002Fv3-sdk` — v3 tick math (`TickMath`, `nearestUsableTick`), `Pool`, `Position`.\n- `@uniswap\u002Fv4-sdk` — v4 pool keys, hooks-aware `Position` modeling.\n- `@uniswap\u002Fv2-sdk` — v2 pair\u002Fliquidity math.\n- `viem` (or ethers) — sign and broadcast the returned `{ to, data, value }`, and sign EIP-712 permit data.\n\n## Error Handling\n\n| Code | Meaning                  | Action                                       |\n| ---- | ------------------------ | -------------------------------------------- |\n| 400  | Validation error         | Fix request fields (see common errors below) |\n| 401  | Invalid API key          | Check the `x-api-key` header                 |\n| 429  | Rate limited             | Exponential backoff; cache repeated reads    |\n| 500  | API error                | Retry with backoff                           |\n| 503  | Temporary unavailability | Retry                                        |\n\nError body (Connect protocol): `{ code: string, message: string, details?: Array\u003C{ type: string; value: string }> }` — e.g. `{\"code\":\"invalid_argument\",\"message\":\"RequestValidationError: ...\",\"details\":[...]}`. `code` is a Connect error-code string (`invalid_argument`, `unauthenticated`, `failed_precondition`, `internal`, …), **not** an HTTP number, and there is no top-level `error` field. Read `body.code` \u002F `body.message`, not `body.error`.\n\n**Common errors**\n\n- **v2 fee claim attempt**: calling `\u002Flp\u002Fclaim_fees` with `protocol: \"V2\"`. Use `\u002Flp\u002Fdecrease` to realize v2 fees.\n- **Pool not found**: verify token addresses, the `poolReference`, and the chain; or use `newPool` to initialize.\n- **Insufficient liquidity**: the computed dependent amount exceeds balances; reduce `independentToken.amount` or widen the range.\n- **Validation error**: ensure all required fields for the chosen `protocol`, checksummed addresses, wei-denominated amounts, and `liquidityPercentageToDecrease` in 1-100.\n\nFor retry\u002Fbackoff, request caching, monitoring, and the full pre-broadcast checklist, see [Advanced Patterns Reference](.\u002Freferences\u002Fadvanced-patterns.md#error-recovery-and-reliability).\n\n## Supported Chains\n\nThe LP API supports a fixed set of chain IDs. Validate `chainId` against this set before sending:\n\n```text\n1, 10, 56, 130, 137, 143, 196, 324, 480, 1868, 4217, 4326, 4663, 5042,\n8453, 10143, 42161, 42220, 43114, 59144, 81457, 7777777, 1301, 84532, 11155111\n```\n\n(Mainnet 1, Optimism 10, BNB 56, Unichain 130, Polygon 137, Base 8453, Arbitrum 42161, Avalanche 43114, Linea 59144, Blast 81457, Zora 7777777, Sepolia 11155111, and others.) Confirm the live set against `\u002Flp\u002Fpool_info` availability or the [supported chains docs](https:\u002F\u002Fdevelopers.uniswap.org\u002Fdocs\u002Fliquidity\u002Fliquidity-provisioning-api\u002Fgetting-started).\n\n## Additional Resources\n\n- [LP API: Getting Started](https:\u002F\u002Fdevelopers.uniswap.org\u002Fdocs\u002Fliquidity\u002Fliquidity-provisioning-api\u002Fgetting-started) — official conceptual overview\n- [LP API: Integration Guide](https:\u002F\u002Fdevelopers.uniswap.org\u002Fdocs\u002Fliquidity\u002Fliquidity-provisioning-api\u002Fintegration-guide) — official guide\n- [Uniswap Developer Platform dashboard](https:\u002F\u002Fdevelopers.uniswap.org\u002Fdashboard) — get an API key\n- [swap-integration](..\u002Fswap-integration\u002FSKILL.md) — sibling skill for token swaps via the Trading API\n- [Advanced Patterns Reference](.\u002Freferences\u002Fadvanced-patterns.md) — permit deep-dive, migration, NFT-position quirks, reliability\n",{"data":37,"body":42},{"name":4,"description":6,"allowed-tools":38,"model":39,"license":28,"metadata":40},"Read, Write, Edit, Glob, Grep, Bash(npm:*), Bash(npx:*), Bash(yarn:*), Bash(curl:*), WebFetch, Task(subagent_type:swap-integration-expert)","opus",{"author":8,"version":41},"0.1.0",{"type":43,"children":44},"root",[45,53,59,64,71,91,103,109,121,142,180,186,223,232,253,259,441,448,575,609,615,620,806,819,823,829,835,919,925,958,964,973,979,984,990,1034,1042,1407,1715,1723,2171,2222,2228,2233,2243,2313,2321,2420,2427,2935,3282,3289,3538,3572,3578,3597,3604,3906,4057,4100,4106,4111,4118,4465,4698,4713,4741,4747,4752,4759,5033,5218,5233,5274,5280,5285,5292,5469,5620,5635,5641,5653,5697,5767,5773,5778,5859,5915,5921,5933,5939,6732,6738,6779,6849,7437,7457,7463,7469,7494,7639,7645,7854,7868,7901,8370,8375,8381,8386,8529,8535,8555,8561,8587,8593,11307,11313,11318,11448,11454,11576,11669,11677,11775,11786,11791,11803,11812,11832,11838,11894],{"type":46,"tag":47,"props":48,"children":49},"element","h1",{"id":4},[50],{"type":51,"value":52},"text","LP Integration",{"type":46,"tag":54,"props":55,"children":56},"p",{},[57],{"type":51,"value":58},"Integrate Uniswap liquidity provisioning into frontends, backends, and bots using the Uniswap LP API.",{"type":46,"tag":54,"props":60,"children":61},{},[62],{"type":51,"value":63},"The LP API is a transaction-building service. You send position parameters; the API fetches live pool state, computes the dependent token amount, and returns a fully-formed, unsigned transaction. Your application signs and broadcasts it. The API never holds keys, never moves funds, and never broadcasts.",{"type":46,"tag":65,"props":66,"children":68},"h2",{"id":67},"prerequisites",[69],{"type":51,"value":70},"Prerequisites",{"type":46,"tag":54,"props":72,"children":73},{},[74,76,82,84],{"type":51,"value":75},"This skill assumes familiarity with viem basics (client setup, account management, contract interactions, transaction signing). Install the ",{"type":46,"tag":77,"props":78,"children":79},"strong",{},[80],{"type":51,"value":81},"uniswap-viem",{"type":51,"value":83}," plugin for comprehensive viem\u002Fwagmi guidance: ",{"type":46,"tag":85,"props":86,"children":88},"code",{"className":87},[],[89],{"type":51,"value":90},"claude plugin add @uniswap\u002Funiswap-viem",{"type":46,"tag":54,"props":92,"children":93},{},[94,96,101],{"type":51,"value":95},"For token swaps (not liquidity), see the sibling ",{"type":46,"tag":77,"props":97,"children":98},{},[99],{"type":51,"value":100},"swap-integration",{"type":51,"value":102}," skill in this plugin.",{"type":46,"tag":65,"props":104,"children":106},{"id":105},"base-url",[107],{"type":51,"value":108},"Base URL",{"type":46,"tag":110,"props":111,"children":116},"pre",{"className":112,"code":114,"language":51,"meta":115},[113],"language-text","LP_API_BASE_URL = https:\u002F\u002Fliquidity.api.uniswap.org\n","",[117],{"type":46,"tag":85,"props":118,"children":119},{"__ignoreMap":115},[120],{"type":51,"value":114},{"type":46,"tag":54,"props":122,"children":123},{},[124,126,132,134,140],{"type":51,"value":125},"All LP endpoints are POST requests under the ",{"type":46,"tag":85,"props":127,"children":129},{"className":128},[],[130],{"type":51,"value":131},"\u002Flp\u002F",{"type":51,"value":133}," prefix (e.g. ",{"type":46,"tag":85,"props":135,"children":137},{"className":136},[],[138],{"type":51,"value":139},"https:\u002F\u002Fliquidity.api.uniswap.org\u002Flp\u002Fcreate",{"type":51,"value":141},").",{"type":46,"tag":143,"props":144,"children":145},"blockquote",{},[146],{"type":46,"tag":54,"props":147,"children":148},{},[149,154,156,162,164,170,172,178],{"type":46,"tag":77,"props":150,"children":151},{},[152],{"type":51,"value":153},"The LP API host is intentionally different from the swap Trading API.",{"type":51,"value":155}," Liquidity provisioning lives at ",{"type":46,"tag":85,"props":157,"children":159},{"className":158},[],[160],{"type":51,"value":161},"https:\u002F\u002Fliquidity.api.uniswap.org",{"type":51,"value":163}," (no ",{"type":46,"tag":85,"props":165,"children":167},{"className":166},[],[168],{"type":51,"value":169},"\u002Fv1",{"type":51,"value":171}," prefix), not the ",{"type":46,"tag":85,"props":173,"children":175},{"className":174},[],[176],{"type":51,"value":177},"https:\u002F\u002Ftrade-api.gateway.uniswap.org\u002Fv1",{"type":51,"value":179}," host used for swaps. Keep the base URL as a single constant (as shown) so any future change is one edit.",{"type":46,"tag":65,"props":181,"children":183},{"id":182},"authentication",[184],{"type":51,"value":185},"Authentication",{"type":46,"tag":54,"props":187,"children":188},{},[189,191,197,199,205,207,213,215,221],{"type":51,"value":190},"Every write\u002Fapproval endpoint requires an API key sent as the ",{"type":46,"tag":85,"props":192,"children":194},{"className":193},[],[195],{"type":51,"value":196},"x-api-key",{"type":51,"value":198}," header; a missing or invalid key returns ",{"type":46,"tag":85,"props":200,"children":202},{"className":201},[],[203],{"type":51,"value":204},"401",{"type":51,"value":206}," with ",{"type":46,"tag":85,"props":208,"children":210},{"className":209},[],[211],{"type":51,"value":212},"{\"code\":\"unauthenticated\"}",{"type":51,"value":214},". (",{"type":46,"tag":85,"props":216,"children":218},{"className":217},[],[219],{"type":51,"value":220},"\u002Flp\u002Fpool_info",{"type":51,"value":222}," is a read endpoint and does not strictly enforce the key, but always send it for consistency and rate-limit attribution.)",{"type":46,"tag":110,"props":224,"children":227},{"className":225,"code":226,"language":51,"meta":115},[113],"Content-Type: application\u002Fjson\nAccept: application\u002Fjson\nx-api-key: \u003Cyour-api-key>\n",[228],{"type":46,"tag":85,"props":229,"children":230},{"__ignoreMap":115},[231],{"type":51,"value":226},{"type":46,"tag":54,"props":233,"children":234},{},[235,240,242,251],{"type":46,"tag":77,"props":236,"children":237},{},[238],{"type":51,"value":239},"Getting a key:",{"type":51,"value":241}," Register at the ",{"type":46,"tag":243,"props":244,"children":248},"a",{"href":245,"rel":246},"https:\u002F\u002Fdevelopers.uniswap.org\u002Fdashboard",[247],"nofollow",[249],{"type":51,"value":250},"Uniswap Developer Platform dashboard",{"type":51,"value":252},". The same key works across swapping and liquidity provisioning. Never hardcode the key; load it from an environment variable.",{"type":46,"tag":65,"props":254,"children":256},{"id":255},"quick-decision-guide",[257],{"type":51,"value":258},"Quick Decision Guide",{"type":46,"tag":260,"props":261,"children":262},"table",{},[263,287],{"type":46,"tag":264,"props":265,"children":266},"thead",{},[267],{"type":46,"tag":268,"props":269,"children":270},"tr",{},[271,277,282],{"type":46,"tag":272,"props":273,"children":274},"th",{},[275],{"type":51,"value":276},"You want to...",{"type":46,"tag":272,"props":278,"children":279},{},[280],{"type":51,"value":281},"Endpoint",{"type":46,"tag":272,"props":283,"children":284},{},[285],{"type":51,"value":286},"Protocols",{"type":46,"tag":288,"props":289,"children":290},"tbody",{},[291,314,336,358,379,400,421],{"type":46,"tag":268,"props":292,"children":293},{},[294,300,309],{"type":46,"tag":295,"props":296,"children":297},"td",{},[298],{"type":51,"value":299},"Check\u002Fgrant token approvals before any action",{"type":46,"tag":295,"props":301,"children":302},{},[303],{"type":46,"tag":85,"props":304,"children":306},{"className":305},[],[307],{"type":51,"value":308},"\u002Flp\u002Fcheck_approval",{"type":46,"tag":295,"props":310,"children":311},{},[312],{"type":51,"value":313},"V2, V3, V4",{"type":46,"tag":268,"props":315,"children":316},{},[317,322,331],{"type":46,"tag":295,"props":318,"children":319},{},[320],{"type":51,"value":321},"Create a concentrated-liquidity position",{"type":46,"tag":295,"props":323,"children":324},{},[325],{"type":46,"tag":85,"props":326,"children":328},{"className":327},[],[329],{"type":51,"value":330},"\u002Flp\u002Fcreate",{"type":46,"tag":295,"props":332,"children":333},{},[334],{"type":51,"value":335},"V3, V4",{"type":46,"tag":268,"props":337,"children":338},{},[339,344,353],{"type":46,"tag":295,"props":340,"children":341},{},[342],{"type":51,"value":343},"Create a full-range (classic) position",{"type":46,"tag":295,"props":345,"children":346},{},[347],{"type":46,"tag":85,"props":348,"children":350},{"className":349},[],[351],{"type":51,"value":352},"\u002Flp\u002Fcreate_classic",{"type":46,"tag":295,"props":354,"children":355},{},[356],{"type":51,"value":357},"V2",{"type":46,"tag":268,"props":359,"children":360},{},[361,366,375],{"type":46,"tag":295,"props":362,"children":363},{},[364],{"type":51,"value":365},"Add liquidity to an existing position",{"type":46,"tag":295,"props":367,"children":368},{},[369],{"type":46,"tag":85,"props":370,"children":372},{"className":371},[],[373],{"type":51,"value":374},"\u002Flp\u002Fincrease",{"type":46,"tag":295,"props":376,"children":377},{},[378],{"type":51,"value":313},{"type":46,"tag":268,"props":380,"children":381},{},[382,387,396],{"type":46,"tag":295,"props":383,"children":384},{},[385],{"type":51,"value":386},"Remove a percentage of liquidity",{"type":46,"tag":295,"props":388,"children":389},{},[390],{"type":46,"tag":85,"props":391,"children":393},{"className":392},[],[394],{"type":51,"value":395},"\u002Flp\u002Fdecrease",{"type":46,"tag":295,"props":397,"children":398},{},[399],{"type":51,"value":313},{"type":46,"tag":268,"props":401,"children":402},{},[403,408,417],{"type":46,"tag":295,"props":404,"children":405},{},[406],{"type":51,"value":407},"Collect accumulated trading fees",{"type":46,"tag":295,"props":409,"children":410},{},[411],{"type":46,"tag":85,"props":412,"children":414},{"className":413},[],[415],{"type":51,"value":416},"\u002Flp\u002Fclaim_fees",{"type":46,"tag":295,"props":418,"children":419},{},[420],{"type":51,"value":335},{"type":46,"tag":268,"props":422,"children":423},{},[424,429,437],{"type":46,"tag":295,"props":425,"children":426},{},[427],{"type":51,"value":428},"Read live pool state",{"type":46,"tag":295,"props":430,"children":431},{},[432],{"type":46,"tag":85,"props":433,"children":435},{"className":434},[],[436],{"type":51,"value":220},{"type":46,"tag":295,"props":438,"children":439},{},[440],{"type":51,"value":313},{"type":46,"tag":442,"props":443,"children":445},"h3",{"id":444},"protocol-capability-matrix",[446],{"type":51,"value":447},"Protocol capability matrix",{"type":46,"tag":260,"props":449,"children":450},{},[451,477],{"type":46,"tag":264,"props":452,"children":453},{},[454],{"type":46,"tag":268,"props":455,"children":456},{},[457,462,467,472],{"type":46,"tag":272,"props":458,"children":459},{},[460],{"type":51,"value":461},"Protocol",{"type":46,"tag":272,"props":463,"children":464},{},[465],{"type":51,"value":466},"Create endpoint",{"type":46,"tag":272,"props":468,"children":469},{},[470],{"type":51,"value":471},"Fee claiming",{"type":46,"tag":272,"props":473,"children":474},{},[475],{"type":51,"value":476},"Price range",{"type":46,"tag":288,"props":478,"children":479},{},[480,509,542],{"type":46,"tag":268,"props":481,"children":482},{},[483,491,499,504],{"type":46,"tag":295,"props":484,"children":485},{},[486],{"type":46,"tag":85,"props":487,"children":489},{"className":488},[],[490],{"type":51,"value":357},{"type":46,"tag":295,"props":492,"children":493},{},[494],{"type":46,"tag":85,"props":495,"children":497},{"className":496},[],[498],{"type":51,"value":352},{"type":46,"tag":295,"props":500,"children":501},{},[502],{"type":51,"value":503},"Not separable (realized on decrease)",{"type":46,"tag":295,"props":505,"children":506},{},[507],{"type":51,"value":508},"Full range only",{"type":46,"tag":268,"props":510,"children":511},{},[512,521,529,537],{"type":46,"tag":295,"props":513,"children":514},{},[515],{"type":46,"tag":85,"props":516,"children":518},{"className":517},[],[519],{"type":51,"value":520},"V3",{"type":46,"tag":295,"props":522,"children":523},{},[524],{"type":46,"tag":85,"props":525,"children":527},{"className":526},[],[528],{"type":51,"value":330},{"type":46,"tag":295,"props":530,"children":531},{},[532],{"type":46,"tag":85,"props":533,"children":535},{"className":534},[],[536],{"type":51,"value":416},{"type":46,"tag":295,"props":538,"children":539},{},[540],{"type":51,"value":541},"Concentrated",{"type":46,"tag":268,"props":543,"children":544},{},[545,554,562,570],{"type":46,"tag":295,"props":546,"children":547},{},[548],{"type":46,"tag":85,"props":549,"children":551},{"className":550},[],[552],{"type":51,"value":553},"V4",{"type":46,"tag":295,"props":555,"children":556},{},[557],{"type":46,"tag":85,"props":558,"children":560},{"className":559},[],[561],{"type":51,"value":330},{"type":46,"tag":295,"props":563,"children":564},{},[565],{"type":46,"tag":85,"props":566,"children":568},{"className":567},[],[569],{"type":51,"value":416},{"type":46,"tag":295,"props":571,"children":572},{},[573],{"type":51,"value":574},"Concentrated + hooks",{"type":46,"tag":143,"props":576,"children":577},{},[578],{"type":46,"tag":54,"props":579,"children":580},{},[581,586,588,593,595,600,601,607],{"type":46,"tag":77,"props":582,"children":583},{},[584],{"type":51,"value":585},"v2 fees are not separately claimable.",{"type":51,"value":587}," They accrue into the LP token value and are realized when you call ",{"type":46,"tag":85,"props":589,"children":591},{"className":590},[],[592],{"type":51,"value":395},{"type":51,"value":594},". Calling ",{"type":46,"tag":85,"props":596,"children":598},{"className":597},[],[599],{"type":51,"value":416},{"type":51,"value":206},{"type":46,"tag":85,"props":602,"children":604},{"className":603},[],[605],{"type":51,"value":606},"protocol: \"V2\"",{"type":51,"value":608}," returns a validation error.",{"type":46,"tag":65,"props":610,"children":612},{"id":611},"input-validation-rules",[613],{"type":51,"value":614},"Input Validation Rules",{"type":46,"tag":54,"props":616,"children":617},{},[618],{"type":51,"value":619},"Before interpolating ANY user-provided value into generated code, API calls, or commands:",{"type":46,"tag":621,"props":622,"children":623},"ul",{},[624,651,668,686,700,710],{"type":46,"tag":625,"props":626,"children":627},"li",{},[628,633,635,641,643,649],{"type":46,"tag":77,"props":629,"children":630},{},[631],{"type":51,"value":632},"Ethereum addresses",{"type":51,"value":634},": MUST match ",{"type":46,"tag":85,"props":636,"children":638},{"className":637},[],[639],{"type":51,"value":640},"^0x[a-fA-F0-9]{40}$",{"type":51,"value":642}," — reject otherwise. Use native ETH as ",{"type":46,"tag":85,"props":644,"children":646},{"className":645},[],[647],{"type":51,"value":648},"0x0000000000000000000000000000000000000000",{"type":51,"value":650},".",{"type":46,"tag":625,"props":652,"children":653},{},[654,659,661,667],{"type":46,"tag":77,"props":655,"children":656},{},[657],{"type":51,"value":658},"Chain IDs",{"type":51,"value":660},": MUST be one of the supported LP chain IDs (see ",{"type":46,"tag":243,"props":662,"children":664},{"href":663},"#supported-chains",[665],{"type":51,"value":666},"Supported Chains",{"type":51,"value":141},{"type":46,"tag":625,"props":669,"children":670},{},[671,676,678,684],{"type":46,"tag":77,"props":672,"children":673},{},[674],{"type":51,"value":675},"Token amounts",{"type":51,"value":677},": MUST be non-negative integer strings in wei \u002F smallest token unit, matching ",{"type":46,"tag":85,"props":679,"children":681},{"className":680},[],[682],{"type":51,"value":683},"^[0-9]+$",{"type":51,"value":685},". Never pass ether-denominated decimals as amounts.",{"type":46,"tag":625,"props":687,"children":688},{},[689,698],{"type":46,"tag":77,"props":690,"children":691},{},[692],{"type":46,"tag":85,"props":693,"children":695},{"className":694},[],[696],{"type":51,"value":697},"liquidityPercentageToDecrease",{"type":51,"value":699},": MUST be an integer from 1 to 100.",{"type":46,"tag":625,"props":701,"children":702},{},[703,708],{"type":46,"tag":77,"props":704,"children":705},{},[706],{"type":51,"value":707},"API keys",{"type":51,"value":709},": MUST NOT be hardcoded in generated code — always use environment variables.",{"type":46,"tag":625,"props":711,"children":712},{},[713,718,720,726,728,734,735,741,742,748,749,755,756,762,763,769,770,776,777,783,784,790,791,797,798,804],{"type":46,"tag":77,"props":714,"children":715},{},[716],{"type":51,"value":717},"REJECT",{"type":51,"value":719}," any input containing shell metacharacters: ",{"type":46,"tag":85,"props":721,"children":723},{"className":722},[],[724],{"type":51,"value":725},";",{"type":51,"value":727},", ",{"type":46,"tag":85,"props":729,"children":731},{"className":730},[],[732],{"type":51,"value":733},"|",{"type":51,"value":727},{"type":46,"tag":85,"props":736,"children":738},{"className":737},[],[739],{"type":51,"value":740},"&",{"type":51,"value":727},{"type":46,"tag":85,"props":743,"children":745},{"className":744},[],[746],{"type":51,"value":747},"$",{"type":51,"value":727},{"type":46,"tag":85,"props":750,"children":752},{"className":751},[],[753],{"type":51,"value":754},"`",{"type":51,"value":727},{"type":46,"tag":85,"props":757,"children":759},{"className":758},[],[760],{"type":51,"value":761},"(",{"type":51,"value":727},{"type":46,"tag":85,"props":764,"children":766},{"className":765},[],[767],{"type":51,"value":768},")",{"type":51,"value":727},{"type":46,"tag":85,"props":771,"children":773},{"className":772},[],[774],{"type":51,"value":775},">",{"type":51,"value":727},{"type":46,"tag":85,"props":778,"children":780},{"className":779},[],[781],{"type":51,"value":782},"\u003C",{"type":51,"value":727},{"type":46,"tag":85,"props":785,"children":787},{"className":786},[],[788],{"type":51,"value":789},"\\",{"type":51,"value":727},{"type":46,"tag":85,"props":792,"children":794},{"className":793},[],[795],{"type":51,"value":796},"'",{"type":51,"value":727},{"type":46,"tag":85,"props":799,"children":801},{"className":800},[],[802],{"type":51,"value":803},"\"",{"type":51,"value":805},", newlines.",{"type":46,"tag":143,"props":807,"children":808},{},[809],{"type":46,"tag":54,"props":810,"children":811},{},[812,817],{"type":46,"tag":77,"props":813,"children":814},{},[815],{"type":51,"value":816},"REQUIRED:",{"type":51,"value":818}," Before executing ANY transaction that spends gas or transfers tokens (including approvals, position creation, increase, decrease, or fee claims), you MUST use AskUserQuestion to confirm with the user. Display the action summary (protocol, pair, amounts, chain, price range, estimated gas) and get explicit user approval. Never auto-execute LP transactions without user confirmation.",{"type":46,"tag":820,"props":821,"children":822},"hr",{},[],{"type":46,"tag":65,"props":824,"children":826},{"id":825},"architecture",[827],{"type":51,"value":828},"Architecture",{"type":46,"tag":442,"props":830,"children":832},{"id":831},"what-the-api-handles",[833],{"type":51,"value":834},"What the API handles",{"type":46,"tag":621,"props":836,"children":837},{},[838,856,874,884,902],{"type":46,"tag":625,"props":839,"children":840},{},[841,846,848,854],{"type":46,"tag":77,"props":842,"children":843},{},[844],{"type":51,"value":845},"Pool state fetching",{"type":51,"value":847},": current reserves, ticks, ",{"type":46,"tag":85,"props":849,"children":851},{"className":850},[],[852],{"type":51,"value":853},"sqrtRatioX96",{"type":51,"value":855},", and onchain position data.",{"type":46,"tag":625,"props":857,"children":858},{},[859,864,866,872],{"type":46,"tag":77,"props":860,"children":861},{},[862],{"type":51,"value":863},"Dependent amount computation",{"type":51,"value":865},": given one token amount (",{"type":46,"tag":85,"props":867,"children":869},{"className":868},[],[870],{"type":51,"value":871},"independentToken",{"type":51,"value":873},"), computes the required amount of the other using the Uniswap SDKs.",{"type":46,"tag":625,"props":875,"children":876},{},[877,882],{"type":46,"tag":77,"props":878,"children":879},{},[880],{"type":51,"value":881},"Transaction creation",{"type":51,"value":883},": validated, fully-formed calldata for each LP action, ready to sign.",{"type":46,"tag":625,"props":885,"children":886},{},[887,892,894,900],{"type":46,"tag":77,"props":888,"children":889},{},[890],{"type":51,"value":891},"Tick snapping",{"type":51,"value":893},": converts human-readable ",{"type":46,"tag":85,"props":895,"children":897},{"className":896},[],[898],{"type":51,"value":899},"priceBounds",{"type":51,"value":901}," to valid ticks and returns the adjusted prices.",{"type":46,"tag":625,"props":903,"children":904},{},[905,910,912,918],{"type":46,"tag":77,"props":906,"children":907},{},[908],{"type":51,"value":909},"Gas estimation",{"type":51,"value":911},": optional, when ",{"type":46,"tag":85,"props":913,"children":915},{"className":914},[],[916],{"type":51,"value":917},"simulateTransaction: true",{"type":51,"value":650},{"type":46,"tag":442,"props":920,"children":922},{"id":921},"what-your-application-handles",[923],{"type":51,"value":924},"What your application handles",{"type":46,"tag":621,"props":926,"children":927},{},[928,938,948],{"type":46,"tag":625,"props":929,"children":930},{},[931,936],{"type":46,"tag":77,"props":932,"children":933},{},[934],{"type":51,"value":935},"Signing and broadcasting",{"type":51,"value":937}," the returned transaction via your RPC provider.",{"type":46,"tag":625,"props":939,"children":940},{},[941,946],{"type":46,"tag":77,"props":942,"children":943},{},[944],{"type":51,"value":945},"Signing permit data",{"type":51,"value":947}," (EIP-712) when the API returns it for v4 \u002F v3-NFT approvals.",{"type":46,"tag":625,"props":949,"children":950},{},[951,956],{"type":46,"tag":77,"props":952,"children":953},{},[954],{"type":51,"value":955},"Gas payment",{"type":51,"value":957}," and transaction error handling (reverts, surfacing errors to users).",{"type":46,"tag":442,"props":959,"children":961},{"id":960},"data-flow",[962],{"type":51,"value":963},"Data flow",{"type":46,"tag":110,"props":965,"children":968},{"className":966,"code":967,"language":51,"meta":115},[113],"User intent (create \u002F increase \u002F decrease \u002F claim)\n   |\nYour application\n   |-- POST \u002Flp\u002Fcheck_approval        -> returns approval transactions and\u002For permit data\n   |-- (execute approval txns; sign permit if returned)\n   |-- POST \u002Flp\u002Fcreate | increase | decrease | claim_fees\n   |-- validate the returned transaction payload (non-empty data, valid addresses)\n   |-- user signature (wallet)\n   +-- broadcast (your RPC)\n        |\n   Blockchain\n",[969],{"type":46,"tag":85,"props":970,"children":971},{"__ignoreMap":115},[972],{"type":51,"value":967},{"type":46,"tag":65,"props":974,"children":976},{"id":975},"endpoint-reference",[977],{"type":51,"value":978},"Endpoint Reference",{"type":46,"tag":54,"props":980,"children":981},{},[982],{"type":51,"value":983},"All field names below come from the LP API OpenAPI contract. Where the public integration guide uses different names, the contract names here are authoritative.",{"type":46,"tag":442,"props":985,"children":987},{"id":986},"post-lpcheck_approval",[988],{"type":51,"value":989},"POST \u002Flp\u002Fcheck_approval",{"type":46,"tag":54,"props":991,"children":992},{},[993,995,1001,1003,1008,1010,1016,1018,1024,1026,1032],{"type":51,"value":994},"Always call this first. Returns the approval transactions (and\u002For permit data) needed before an LP action. If the response ",{"type":46,"tag":85,"props":996,"children":998},{"className":997},[],[999],{"type":51,"value":1000},"transactions",{"type":51,"value":1002}," array is empty and no permit data is returned, all approvals are already in place — ",{"type":46,"tag":77,"props":1004,"children":1005},{},[1006],{"type":51,"value":1007},"unless",{"type":51,"value":1009}," ",{"type":46,"tag":85,"props":1011,"children":1013},{"className":1012},[],[1014],{"type":51,"value":1015},"kycRequiredWarnings",{"type":51,"value":1017}," is non-empty, which means the pool contains a permissioned token and the wallet is not allowlisted. In that case the response is still ",{"type":46,"tag":85,"props":1019,"children":1021},{"className":1020},[],[1022],{"type":51,"value":1023},"200",{"type":51,"value":1025},"; render the KYC call-to-action from each warning's ",{"type":46,"tag":85,"props":1027,"children":1029},{"className":1028},[],[1030],{"type":51,"value":1031},"kycUrl",{"type":51,"value":1033}," instead of attempting the LP action.",{"type":46,"tag":54,"props":1035,"children":1036},{},[1037],{"type":46,"tag":77,"props":1038,"children":1039},{},[1040],{"type":51,"value":1041},"Request",{"type":46,"tag":110,"props":1043,"children":1047},{"className":1044,"code":1045,"language":1046,"meta":115,"style":115},"language-json shiki shiki-themes material-theme-lighter material-theme material-theme-palenight","{\n  \"walletAddress\": \"0x...\",\n  \"protocol\": \"V4\",\n  \"chainId\": 1,\n  \"lpTokens\": [\n    { \"tokenAddress\": \"0x...\", \"amount\": \"1000000000000000000\" },\n    { \"tokenAddress\": \"0x...\", \"amount\": \"500000000\" }\n  ],\n  \"action\": \"CREATE\"\n}\n","json",[1048],{"type":46,"tag":85,"props":1049,"children":1050},{"__ignoreMap":115},[1051,1063,1107,1144,1175,1201,1280,1354,1363,1398],{"type":46,"tag":1052,"props":1053,"children":1056},"span",{"class":1054,"line":1055},"line",1,[1057],{"type":46,"tag":1052,"props":1058,"children":1060},{"style":1059},"--shiki-light:#39ADB5;--shiki-default:#89DDFF;--shiki-dark:#89DDFF",[1061],{"type":51,"value":1062},"{\n",{"type":46,"tag":1052,"props":1064,"children":1066},{"class":1054,"line":1065},2,[1067,1072,1078,1082,1087,1092,1098,1102],{"type":46,"tag":1052,"props":1068,"children":1069},{"style":1059},[1070],{"type":51,"value":1071},"  \"",{"type":46,"tag":1052,"props":1073,"children":1075},{"style":1074},"--shiki-light:#9C3EDA;--shiki-default:#C792EA;--shiki-dark:#C792EA",[1076],{"type":51,"value":1077},"walletAddress",{"type":46,"tag":1052,"props":1079,"children":1080},{"style":1059},[1081],{"type":51,"value":803},{"type":46,"tag":1052,"props":1083,"children":1084},{"style":1059},[1085],{"type":51,"value":1086},":",{"type":46,"tag":1052,"props":1088,"children":1089},{"style":1059},[1090],{"type":51,"value":1091}," \"",{"type":46,"tag":1052,"props":1093,"children":1095},{"style":1094},"--shiki-light:#91B859;--shiki-default:#C3E88D;--shiki-dark:#C3E88D",[1096],{"type":51,"value":1097},"0x...",{"type":46,"tag":1052,"props":1099,"children":1100},{"style":1059},[1101],{"type":51,"value":803},{"type":46,"tag":1052,"props":1103,"children":1104},{"style":1059},[1105],{"type":51,"value":1106},",\n",{"type":46,"tag":1052,"props":1108,"children":1110},{"class":1054,"line":1109},3,[1111,1115,1120,1124,1128,1132,1136,1140],{"type":46,"tag":1052,"props":1112,"children":1113},{"style":1059},[1114],{"type":51,"value":1071},{"type":46,"tag":1052,"props":1116,"children":1117},{"style":1074},[1118],{"type":51,"value":1119},"protocol",{"type":46,"tag":1052,"props":1121,"children":1122},{"style":1059},[1123],{"type":51,"value":803},{"type":46,"tag":1052,"props":1125,"children":1126},{"style":1059},[1127],{"type":51,"value":1086},{"type":46,"tag":1052,"props":1129,"children":1130},{"style":1059},[1131],{"type":51,"value":1091},{"type":46,"tag":1052,"props":1133,"children":1134},{"style":1094},[1135],{"type":51,"value":553},{"type":46,"tag":1052,"props":1137,"children":1138},{"style":1059},[1139],{"type":51,"value":803},{"type":46,"tag":1052,"props":1141,"children":1142},{"style":1059},[1143],{"type":51,"value":1106},{"type":46,"tag":1052,"props":1145,"children":1147},{"class":1054,"line":1146},4,[1148,1152,1157,1161,1165,1171],{"type":46,"tag":1052,"props":1149,"children":1150},{"style":1059},[1151],{"type":51,"value":1071},{"type":46,"tag":1052,"props":1153,"children":1154},{"style":1074},[1155],{"type":51,"value":1156},"chainId",{"type":46,"tag":1052,"props":1158,"children":1159},{"style":1059},[1160],{"type":51,"value":803},{"type":46,"tag":1052,"props":1162,"children":1163},{"style":1059},[1164],{"type":51,"value":1086},{"type":46,"tag":1052,"props":1166,"children":1168},{"style":1167},"--shiki-light:#F76D47;--shiki-default:#F78C6C;--shiki-dark:#F78C6C",[1169],{"type":51,"value":1170}," 1",{"type":46,"tag":1052,"props":1172,"children":1173},{"style":1059},[1174],{"type":51,"value":1106},{"type":46,"tag":1052,"props":1176,"children":1178},{"class":1054,"line":1177},5,[1179,1183,1188,1192,1196],{"type":46,"tag":1052,"props":1180,"children":1181},{"style":1059},[1182],{"type":51,"value":1071},{"type":46,"tag":1052,"props":1184,"children":1185},{"style":1074},[1186],{"type":51,"value":1187},"lpTokens",{"type":46,"tag":1052,"props":1189,"children":1190},{"style":1059},[1191],{"type":51,"value":803},{"type":46,"tag":1052,"props":1193,"children":1194},{"style":1059},[1195],{"type":51,"value":1086},{"type":46,"tag":1052,"props":1197,"children":1198},{"style":1059},[1199],{"type":51,"value":1200}," [\n",{"type":46,"tag":1052,"props":1202,"children":1204},{"class":1054,"line":1203},6,[1205,1210,1214,1220,1224,1228,1232,1236,1240,1245,1249,1254,1258,1262,1266,1271,1275],{"type":46,"tag":1052,"props":1206,"children":1207},{"style":1059},[1208],{"type":51,"value":1209},"    {",{"type":46,"tag":1052,"props":1211,"children":1212},{"style":1059},[1213],{"type":51,"value":1091},{"type":46,"tag":1052,"props":1215,"children":1217},{"style":1216},"--shiki-light:#E2931D;--shiki-default:#FFCB6B;--shiki-dark:#FFCB6B",[1218],{"type":51,"value":1219},"tokenAddress",{"type":46,"tag":1052,"props":1221,"children":1222},{"style":1059},[1223],{"type":51,"value":803},{"type":46,"tag":1052,"props":1225,"children":1226},{"style":1059},[1227],{"type":51,"value":1086},{"type":46,"tag":1052,"props":1229,"children":1230},{"style":1059},[1231],{"type":51,"value":1091},{"type":46,"tag":1052,"props":1233,"children":1234},{"style":1094},[1235],{"type":51,"value":1097},{"type":46,"tag":1052,"props":1237,"children":1238},{"style":1059},[1239],{"type":51,"value":803},{"type":46,"tag":1052,"props":1241,"children":1242},{"style":1059},[1243],{"type":51,"value":1244},",",{"type":46,"tag":1052,"props":1246,"children":1247},{"style":1059},[1248],{"type":51,"value":1091},{"type":46,"tag":1052,"props":1250,"children":1251},{"style":1216},[1252],{"type":51,"value":1253},"amount",{"type":46,"tag":1052,"props":1255,"children":1256},{"style":1059},[1257],{"type":51,"value":803},{"type":46,"tag":1052,"props":1259,"children":1260},{"style":1059},[1261],{"type":51,"value":1086},{"type":46,"tag":1052,"props":1263,"children":1264},{"style":1059},[1265],{"type":51,"value":1091},{"type":46,"tag":1052,"props":1267,"children":1268},{"style":1094},[1269],{"type":51,"value":1270},"1000000000000000000",{"type":46,"tag":1052,"props":1272,"children":1273},{"style":1059},[1274],{"type":51,"value":803},{"type":46,"tag":1052,"props":1276,"children":1277},{"style":1059},[1278],{"type":51,"value":1279}," },\n",{"type":46,"tag":1052,"props":1281,"children":1283},{"class":1054,"line":1282},7,[1284,1288,1292,1296,1300,1304,1308,1312,1316,1320,1324,1328,1332,1336,1340,1345,1349],{"type":46,"tag":1052,"props":1285,"children":1286},{"style":1059},[1287],{"type":51,"value":1209},{"type":46,"tag":1052,"props":1289,"children":1290},{"style":1059},[1291],{"type":51,"value":1091},{"type":46,"tag":1052,"props":1293,"children":1294},{"style":1216},[1295],{"type":51,"value":1219},{"type":46,"tag":1052,"props":1297,"children":1298},{"style":1059},[1299],{"type":51,"value":803},{"type":46,"tag":1052,"props":1301,"children":1302},{"style":1059},[1303],{"type":51,"value":1086},{"type":46,"tag":1052,"props":1305,"children":1306},{"style":1059},[1307],{"type":51,"value":1091},{"type":46,"tag":1052,"props":1309,"children":1310},{"style":1094},[1311],{"type":51,"value":1097},{"type":46,"tag":1052,"props":1313,"children":1314},{"style":1059},[1315],{"type":51,"value":803},{"type":46,"tag":1052,"props":1317,"children":1318},{"style":1059},[1319],{"type":51,"value":1244},{"type":46,"tag":1052,"props":1321,"children":1322},{"style":1059},[1323],{"type":51,"value":1091},{"type":46,"tag":1052,"props":1325,"children":1326},{"style":1216},[1327],{"type":51,"value":1253},{"type":46,"tag":1052,"props":1329,"children":1330},{"style":1059},[1331],{"type":51,"value":803},{"type":46,"tag":1052,"props":1333,"children":1334},{"style":1059},[1335],{"type":51,"value":1086},{"type":46,"tag":1052,"props":1337,"children":1338},{"style":1059},[1339],{"type":51,"value":1091},{"type":46,"tag":1052,"props":1341,"children":1342},{"style":1094},[1343],{"type":51,"value":1344},"500000000",{"type":46,"tag":1052,"props":1346,"children":1347},{"style":1059},[1348],{"type":51,"value":803},{"type":46,"tag":1052,"props":1350,"children":1351},{"style":1059},[1352],{"type":51,"value":1353}," }\n",{"type":46,"tag":1052,"props":1355,"children":1357},{"class":1054,"line":1356},8,[1358],{"type":46,"tag":1052,"props":1359,"children":1360},{"style":1059},[1361],{"type":51,"value":1362},"  ],\n",{"type":46,"tag":1052,"props":1364,"children":1366},{"class":1054,"line":1365},9,[1367,1371,1376,1380,1384,1388,1393],{"type":46,"tag":1052,"props":1368,"children":1369},{"style":1059},[1370],{"type":51,"value":1071},{"type":46,"tag":1052,"props":1372,"children":1373},{"style":1074},[1374],{"type":51,"value":1375},"action",{"type":46,"tag":1052,"props":1377,"children":1378},{"style":1059},[1379],{"type":51,"value":803},{"type":46,"tag":1052,"props":1381,"children":1382},{"style":1059},[1383],{"type":51,"value":1086},{"type":46,"tag":1052,"props":1385,"children":1386},{"style":1059},[1387],{"type":51,"value":1091},{"type":46,"tag":1052,"props":1389,"children":1390},{"style":1094},[1391],{"type":51,"value":1392},"CREATE",{"type":46,"tag":1052,"props":1394,"children":1395},{"style":1059},[1396],{"type":51,"value":1397},"\"\n",{"type":46,"tag":1052,"props":1399,"children":1401},{"class":1054,"line":1400},10,[1402],{"type":46,"tag":1052,"props":1403,"children":1404},{"style":1059},[1405],{"type":51,"value":1406},"}\n",{"type":46,"tag":260,"props":1408,"children":1409},{},[1410,1431],{"type":46,"tag":264,"props":1411,"children":1412},{},[1413],{"type":46,"tag":268,"props":1414,"children":1415},{},[1416,1421,1426],{"type":46,"tag":272,"props":1417,"children":1418},{},[1419],{"type":51,"value":1420},"Field",{"type":46,"tag":272,"props":1422,"children":1423},{},[1424],{"type":51,"value":1425},"Required",{"type":46,"tag":272,"props":1427,"children":1428},{},[1429],{"type":51,"value":1430},"Notes",{"type":46,"tag":288,"props":1432,"children":1433},{},[1434,1455,1491,1511,1539,1583,1605,1626,1655,1694],{"type":46,"tag":268,"props":1435,"children":1436},{},[1437,1445,1450],{"type":46,"tag":295,"props":1438,"children":1439},{},[1440],{"type":46,"tag":85,"props":1441,"children":1443},{"className":1442},[],[1444],{"type":51,"value":1077},{"type":46,"tag":295,"props":1446,"children":1447},{},[1448],{"type":51,"value":1449},"Yes",{"type":46,"tag":295,"props":1451,"children":1452},{},[1453],{"type":51,"value":1454},"The position owner",{"type":46,"tag":268,"props":1456,"children":1457},{},[1458,1466,1470],{"type":46,"tag":295,"props":1459,"children":1460},{},[1461],{"type":46,"tag":85,"props":1462,"children":1464},{"className":1463},[],[1465],{"type":51,"value":1119},{"type":46,"tag":295,"props":1467,"children":1468},{},[1469],{"type":51,"value":1449},{"type":46,"tag":295,"props":1471,"children":1472},{},[1473,1478,1480,1485,1486],{"type":46,"tag":85,"props":1474,"children":1476},{"className":1475},[],[1477],{"type":51,"value":357},{"type":51,"value":1479}," | ",{"type":46,"tag":85,"props":1481,"children":1483},{"className":1482},[],[1484],{"type":51,"value":520},{"type":51,"value":1479},{"type":46,"tag":85,"props":1487,"children":1489},{"className":1488},[],[1490],{"type":51,"value":553},{"type":46,"tag":268,"props":1492,"children":1493},{},[1494,1502,1506],{"type":46,"tag":295,"props":1495,"children":1496},{},[1497],{"type":46,"tag":85,"props":1498,"children":1500},{"className":1499},[],[1501],{"type":51,"value":1156},{"type":46,"tag":295,"props":1503,"children":1504},{},[1505],{"type":51,"value":1449},{"type":46,"tag":295,"props":1507,"children":1508},{},[1509],{"type":51,"value":1510},"Supported chain ID",{"type":46,"tag":268,"props":1512,"children":1513},{},[1514,1522,1526],{"type":46,"tag":295,"props":1515,"children":1516},{},[1517],{"type":46,"tag":85,"props":1518,"children":1520},{"className":1519},[],[1521],{"type":51,"value":1187},{"type":46,"tag":295,"props":1523,"children":1524},{},[1525],{"type":51,"value":1449},{"type":46,"tag":295,"props":1527,"children":1528},{},[1529,1531,1537],{"type":51,"value":1530},"Array of ",{"type":46,"tag":85,"props":1532,"children":1534},{"className":1533},[],[1535],{"type":51,"value":1536},"{ tokenAddress, amount }",{"type":51,"value":1538}," to be spent",{"type":46,"tag":268,"props":1540,"children":1541},{},[1542,1550,1554],{"type":46,"tag":295,"props":1543,"children":1544},{},[1545],{"type":46,"tag":85,"props":1546,"children":1548},{"className":1547},[],[1549],{"type":51,"value":1375},{"type":46,"tag":295,"props":1551,"children":1552},{},[1553],{"type":51,"value":1449},{"type":46,"tag":295,"props":1555,"children":1556},{},[1557,1562,1563,1569,1570,1576,1577],{"type":46,"tag":85,"props":1558,"children":1560},{"className":1559},[],[1561],{"type":51,"value":1392},{"type":51,"value":1479},{"type":46,"tag":85,"props":1564,"children":1566},{"className":1565},[],[1567],{"type":51,"value":1568},"INCREASE",{"type":51,"value":1479},{"type":46,"tag":85,"props":1571,"children":1573},{"className":1572},[],[1574],{"type":51,"value":1575},"DECREASE",{"type":51,"value":1479},{"type":46,"tag":85,"props":1578,"children":1580},{"className":1579},[],[1581],{"type":51,"value":1582},"MIGRATE",{"type":46,"tag":268,"props":1584,"children":1585},{},[1586,1595,1600],{"type":46,"tag":295,"props":1587,"children":1588},{},[1589],{"type":46,"tag":85,"props":1590,"children":1592},{"className":1591},[],[1593],{"type":51,"value":1594},"simulateTransaction",{"type":46,"tag":295,"props":1596,"children":1597},{},[1598],{"type":51,"value":1599},"No",{"type":46,"tag":295,"props":1601,"children":1602},{},[1603],{"type":51,"value":1604},"Include gas estimates",{"type":46,"tag":268,"props":1606,"children":1607},{},[1608,1617,1621],{"type":46,"tag":295,"props":1609,"children":1610},{},[1611],{"type":46,"tag":85,"props":1612,"children":1614},{"className":1613},[],[1615],{"type":51,"value":1616},"includeGasInfo",{"type":46,"tag":295,"props":1618,"children":1619},{},[1620],{"type":51,"value":1599},{"type":46,"tag":295,"props":1622,"children":1623},{},[1624],{"type":51,"value":1625},"Include gas info on returned approvals",{"type":46,"tag":268,"props":1627,"children":1628},{},[1629,1638,1642],{"type":46,"tag":295,"props":1630,"children":1631},{},[1632],{"type":46,"tag":85,"props":1633,"children":1635},{"className":1634},[],[1636],{"type":51,"value":1637},"generatePermitAsTransaction",{"type":46,"tag":295,"props":1639,"children":1640},{},[1641],{"type":51,"value":1599},{"type":46,"tag":295,"props":1643,"children":1644},{},[1645,1647,1653],{"type":51,"value":1646},"If ",{"type":46,"tag":85,"props":1648,"children":1650},{"className":1649},[],[1651],{"type":51,"value":1652},"true",{"type":51,"value":1654},", return permit as an executable transaction instead of typed data",{"type":46,"tag":268,"props":1656,"children":1657},{},[1658,1667,1671],{"type":46,"tag":295,"props":1659,"children":1660},{},[1661],{"type":46,"tag":85,"props":1662,"children":1664},{"className":1663},[],[1665],{"type":51,"value":1666},"urgency",{"type":46,"tag":295,"props":1668,"children":1669},{},[1670],{"type":51,"value":1599},{"type":46,"tag":295,"props":1672,"children":1673},{},[1674,1680,1681,1687,1688],{"type":46,"tag":85,"props":1675,"children":1677},{"className":1676},[],[1678],{"type":51,"value":1679},"NORMAL",{"type":51,"value":1479},{"type":46,"tag":85,"props":1682,"children":1684},{"className":1683},[],[1685],{"type":51,"value":1686},"FAST",{"type":51,"value":1479},{"type":46,"tag":85,"props":1689,"children":1691},{"className":1690},[],[1692],{"type":51,"value":1693},"URGENT",{"type":46,"tag":268,"props":1695,"children":1696},{},[1697,1706,1710],{"type":46,"tag":295,"props":1698,"children":1699},{},[1700],{"type":46,"tag":85,"props":1701,"children":1703},{"className":1702},[],[1704],{"type":51,"value":1705},"v3NftTokenId",{"type":46,"tag":295,"props":1707,"children":1708},{},[1709],{"type":51,"value":1599},{"type":46,"tag":295,"props":1711,"children":1712},{},[1713],{"type":51,"value":1714},"v3 NFT id when approving a position-manager NFT",{"type":46,"tag":54,"props":1716,"children":1717},{},[1718],{"type":46,"tag":77,"props":1719,"children":1720},{},[1721],{"type":51,"value":1722},"Response",{"type":46,"tag":110,"props":1724,"children":1728},{"className":1725,"code":1726,"language":1727,"meta":115,"style":115},"language-ts shiki shiki-themes material-theme-lighter material-theme material-theme-palenight","interface CheckApprovalResponse {\n  requestId: string;\n  transactions: ApprovalTransactionRequest[]; \u002F\u002F sign each .transaction; empty (with kycRequiredWarnings also empty) = nothing to approve\n  v4BatchPermitData?: NullablePermit; \u002F\u002F v4: sign and pass into \u002Flp\u002Fcreate or \u002Flp\u002Fincrease\n  v3NftPermitData?: NullablePermit; \u002F\u002F v3 NFT permit\n  kycRequiredWarnings: KycRequiredWarning[]; \u002F\u002F permissioned pools: non-empty when the wallet is NOT allowlisted. Always present (usually []).\n}\n\ninterface ApprovalTransactionRequest {\n  transaction: TransactionRequest; \u002F\u002F the tx to sign and broadcast\n  cancelApproval: boolean;\n  action: 'CREATE' | 'INCREASE' | 'DECREASE' | 'MIGRATE';\n  gasFee?: string;\n}\n\ninterface KycRequiredWarning {\n  kycUrl: string;\n  tokenAddress: string;\n  chainId: number;\n}\n","ts",[1729],{"type":46,"tag":85,"props":1730,"children":1731},{"__ignoreMap":115},[1732,1750,1773,1806,1833,1858,1888,1895,1904,1919,1945,1967,2046,2067,2075,2083,2099,2120,2141,2163],{"type":46,"tag":1052,"props":1733,"children":1734},{"class":1054,"line":1055},[1735,1740,1745],{"type":46,"tag":1052,"props":1736,"children":1737},{"style":1074},[1738],{"type":51,"value":1739},"interface",{"type":46,"tag":1052,"props":1741,"children":1742},{"style":1216},[1743],{"type":51,"value":1744}," CheckApprovalResponse",{"type":46,"tag":1052,"props":1746,"children":1747},{"style":1059},[1748],{"type":51,"value":1749}," {\n",{"type":46,"tag":1052,"props":1751,"children":1752},{"class":1054,"line":1065},[1753,1759,1763,1768],{"type":46,"tag":1052,"props":1754,"children":1756},{"style":1755},"--shiki-light:#E53935;--shiki-default:#F07178;--shiki-dark:#F07178",[1757],{"type":51,"value":1758},"  requestId",{"type":46,"tag":1052,"props":1760,"children":1761},{"style":1059},[1762],{"type":51,"value":1086},{"type":46,"tag":1052,"props":1764,"children":1765},{"style":1216},[1766],{"type":51,"value":1767}," string",{"type":46,"tag":1052,"props":1769,"children":1770},{"style":1059},[1771],{"type":51,"value":1772},";\n",{"type":46,"tag":1052,"props":1774,"children":1775},{"class":1054,"line":1109},[1776,1781,1785,1790,1796,1800],{"type":46,"tag":1052,"props":1777,"children":1778},{"style":1755},[1779],{"type":51,"value":1780},"  transactions",{"type":46,"tag":1052,"props":1782,"children":1783},{"style":1059},[1784],{"type":51,"value":1086},{"type":46,"tag":1052,"props":1786,"children":1787},{"style":1216},[1788],{"type":51,"value":1789}," ApprovalTransactionRequest",{"type":46,"tag":1052,"props":1791,"children":1793},{"style":1792},"--shiki-light:#90A4AE;--shiki-default:#EEFFFF;--shiki-dark:#BABED8",[1794],{"type":51,"value":1795},"[]",{"type":46,"tag":1052,"props":1797,"children":1798},{"style":1059},[1799],{"type":51,"value":725},{"type":46,"tag":1052,"props":1801,"children":1803},{"style":1802},"--shiki-light:#90A4AE;--shiki-light-font-style:italic;--shiki-default:#546E7A;--shiki-default-font-style:italic;--shiki-dark:#676E95;--shiki-dark-font-style:italic",[1804],{"type":51,"value":1805}," \u002F\u002F sign each .transaction; empty (with kycRequiredWarnings also empty) = nothing to approve\n",{"type":46,"tag":1052,"props":1807,"children":1808},{"class":1054,"line":1146},[1809,1814,1819,1824,1828],{"type":46,"tag":1052,"props":1810,"children":1811},{"style":1755},[1812],{"type":51,"value":1813},"  v4BatchPermitData",{"type":46,"tag":1052,"props":1815,"children":1816},{"style":1059},[1817],{"type":51,"value":1818},"?:",{"type":46,"tag":1052,"props":1820,"children":1821},{"style":1216},[1822],{"type":51,"value":1823}," NullablePermit",{"type":46,"tag":1052,"props":1825,"children":1826},{"style":1059},[1827],{"type":51,"value":725},{"type":46,"tag":1052,"props":1829,"children":1830},{"style":1802},[1831],{"type":51,"value":1832}," \u002F\u002F v4: sign and pass into \u002Flp\u002Fcreate or \u002Flp\u002Fincrease\n",{"type":46,"tag":1052,"props":1834,"children":1835},{"class":1054,"line":1177},[1836,1841,1845,1849,1853],{"type":46,"tag":1052,"props":1837,"children":1838},{"style":1755},[1839],{"type":51,"value":1840},"  v3NftPermitData",{"type":46,"tag":1052,"props":1842,"children":1843},{"style":1059},[1844],{"type":51,"value":1818},{"type":46,"tag":1052,"props":1846,"children":1847},{"style":1216},[1848],{"type":51,"value":1823},{"type":46,"tag":1052,"props":1850,"children":1851},{"style":1059},[1852],{"type":51,"value":725},{"type":46,"tag":1052,"props":1854,"children":1855},{"style":1802},[1856],{"type":51,"value":1857}," \u002F\u002F v3 NFT permit\n",{"type":46,"tag":1052,"props":1859,"children":1860},{"class":1054,"line":1203},[1861,1866,1870,1875,1879,1883],{"type":46,"tag":1052,"props":1862,"children":1863},{"style":1755},[1864],{"type":51,"value":1865},"  kycRequiredWarnings",{"type":46,"tag":1052,"props":1867,"children":1868},{"style":1059},[1869],{"type":51,"value":1086},{"type":46,"tag":1052,"props":1871,"children":1872},{"style":1216},[1873],{"type":51,"value":1874}," KycRequiredWarning",{"type":46,"tag":1052,"props":1876,"children":1877},{"style":1792},[1878],{"type":51,"value":1795},{"type":46,"tag":1052,"props":1880,"children":1881},{"style":1059},[1882],{"type":51,"value":725},{"type":46,"tag":1052,"props":1884,"children":1885},{"style":1802},[1886],{"type":51,"value":1887}," \u002F\u002F permissioned pools: non-empty when the wallet is NOT allowlisted. Always present (usually []).\n",{"type":46,"tag":1052,"props":1889,"children":1890},{"class":1054,"line":1282},[1891],{"type":46,"tag":1052,"props":1892,"children":1893},{"style":1059},[1894],{"type":51,"value":1406},{"type":46,"tag":1052,"props":1896,"children":1897},{"class":1054,"line":1356},[1898],{"type":46,"tag":1052,"props":1899,"children":1901},{"emptyLinePlaceholder":1900},true,[1902],{"type":51,"value":1903},"\n",{"type":46,"tag":1052,"props":1905,"children":1906},{"class":1054,"line":1365},[1907,1911,1915],{"type":46,"tag":1052,"props":1908,"children":1909},{"style":1074},[1910],{"type":51,"value":1739},{"type":46,"tag":1052,"props":1912,"children":1913},{"style":1216},[1914],{"type":51,"value":1789},{"type":46,"tag":1052,"props":1916,"children":1917},{"style":1059},[1918],{"type":51,"value":1749},{"type":46,"tag":1052,"props":1920,"children":1921},{"class":1054,"line":1400},[1922,1927,1931,1936,1940],{"type":46,"tag":1052,"props":1923,"children":1924},{"style":1755},[1925],{"type":51,"value":1926},"  transaction",{"type":46,"tag":1052,"props":1928,"children":1929},{"style":1059},[1930],{"type":51,"value":1086},{"type":46,"tag":1052,"props":1932,"children":1933},{"style":1216},[1934],{"type":51,"value":1935}," TransactionRequest",{"type":46,"tag":1052,"props":1937,"children":1938},{"style":1059},[1939],{"type":51,"value":725},{"type":46,"tag":1052,"props":1941,"children":1942},{"style":1802},[1943],{"type":51,"value":1944}," \u002F\u002F the tx to sign and broadcast\n",{"type":46,"tag":1052,"props":1946,"children":1948},{"class":1054,"line":1947},11,[1949,1954,1958,1963],{"type":46,"tag":1052,"props":1950,"children":1951},{"style":1755},[1952],{"type":51,"value":1953},"  cancelApproval",{"type":46,"tag":1052,"props":1955,"children":1956},{"style":1059},[1957],{"type":51,"value":1086},{"type":46,"tag":1052,"props":1959,"children":1960},{"style":1216},[1961],{"type":51,"value":1962}," boolean",{"type":46,"tag":1052,"props":1964,"children":1965},{"style":1059},[1966],{"type":51,"value":1772},{"type":46,"tag":1052,"props":1968,"children":1970},{"class":1054,"line":1969},12,[1971,1976,1980,1985,1989,1993,1998,2002,2006,2010,2014,2018,2022,2026,2030,2034,2038,2042],{"type":46,"tag":1052,"props":1972,"children":1973},{"style":1755},[1974],{"type":51,"value":1975},"  action",{"type":46,"tag":1052,"props":1977,"children":1978},{"style":1059},[1979],{"type":51,"value":1086},{"type":46,"tag":1052,"props":1981,"children":1982},{"style":1059},[1983],{"type":51,"value":1984}," '",{"type":46,"tag":1052,"props":1986,"children":1987},{"style":1094},[1988],{"type":51,"value":1392},{"type":46,"tag":1052,"props":1990,"children":1991},{"style":1059},[1992],{"type":51,"value":796},{"type":46,"tag":1052,"props":1994,"children":1995},{"style":1059},[1996],{"type":51,"value":1997}," |",{"type":46,"tag":1052,"props":1999,"children":2000},{"style":1059},[2001],{"type":51,"value":1984},{"type":46,"tag":1052,"props":2003,"children":2004},{"style":1094},[2005],{"type":51,"value":1568},{"type":46,"tag":1052,"props":2007,"children":2008},{"style":1059},[2009],{"type":51,"value":796},{"type":46,"tag":1052,"props":2011,"children":2012},{"style":1059},[2013],{"type":51,"value":1997},{"type":46,"tag":1052,"props":2015,"children":2016},{"style":1059},[2017],{"type":51,"value":1984},{"type":46,"tag":1052,"props":2019,"children":2020},{"style":1094},[2021],{"type":51,"value":1575},{"type":46,"tag":1052,"props":2023,"children":2024},{"style":1059},[2025],{"type":51,"value":796},{"type":46,"tag":1052,"props":2027,"children":2028},{"style":1059},[2029],{"type":51,"value":1997},{"type":46,"tag":1052,"props":2031,"children":2032},{"style":1059},[2033],{"type":51,"value":1984},{"type":46,"tag":1052,"props":2035,"children":2036},{"style":1094},[2037],{"type":51,"value":1582},{"type":46,"tag":1052,"props":2039,"children":2040},{"style":1059},[2041],{"type":51,"value":796},{"type":46,"tag":1052,"props":2043,"children":2044},{"style":1059},[2045],{"type":51,"value":1772},{"type":46,"tag":1052,"props":2047,"children":2049},{"class":1054,"line":2048},13,[2050,2055,2059,2063],{"type":46,"tag":1052,"props":2051,"children":2052},{"style":1755},[2053],{"type":51,"value":2054},"  gasFee",{"type":46,"tag":1052,"props":2056,"children":2057},{"style":1059},[2058],{"type":51,"value":1818},{"type":46,"tag":1052,"props":2060,"children":2061},{"style":1216},[2062],{"type":51,"value":1767},{"type":46,"tag":1052,"props":2064,"children":2065},{"style":1059},[2066],{"type":51,"value":1772},{"type":46,"tag":1052,"props":2068,"children":2070},{"class":1054,"line":2069},14,[2071],{"type":46,"tag":1052,"props":2072,"children":2073},{"style":1059},[2074],{"type":51,"value":1406},{"type":46,"tag":1052,"props":2076,"children":2078},{"class":1054,"line":2077},15,[2079],{"type":46,"tag":1052,"props":2080,"children":2081},{"emptyLinePlaceholder":1900},[2082],{"type":51,"value":1903},{"type":46,"tag":1052,"props":2084,"children":2086},{"class":1054,"line":2085},16,[2087,2091,2095],{"type":46,"tag":1052,"props":2088,"children":2089},{"style":1074},[2090],{"type":51,"value":1739},{"type":46,"tag":1052,"props":2092,"children":2093},{"style":1216},[2094],{"type":51,"value":1874},{"type":46,"tag":1052,"props":2096,"children":2097},{"style":1059},[2098],{"type":51,"value":1749},{"type":46,"tag":1052,"props":2100,"children":2102},{"class":1054,"line":2101},17,[2103,2108,2112,2116],{"type":46,"tag":1052,"props":2104,"children":2105},{"style":1755},[2106],{"type":51,"value":2107},"  kycUrl",{"type":46,"tag":1052,"props":2109,"children":2110},{"style":1059},[2111],{"type":51,"value":1086},{"type":46,"tag":1052,"props":2113,"children":2114},{"style":1216},[2115],{"type":51,"value":1767},{"type":46,"tag":1052,"props":2117,"children":2118},{"style":1059},[2119],{"type":51,"value":1772},{"type":46,"tag":1052,"props":2121,"children":2123},{"class":1054,"line":2122},18,[2124,2129,2133,2137],{"type":46,"tag":1052,"props":2125,"children":2126},{"style":1755},[2127],{"type":51,"value":2128},"  tokenAddress",{"type":46,"tag":1052,"props":2130,"children":2131},{"style":1059},[2132],{"type":51,"value":1086},{"type":46,"tag":1052,"props":2134,"children":2135},{"style":1216},[2136],{"type":51,"value":1767},{"type":46,"tag":1052,"props":2138,"children":2139},{"style":1059},[2140],{"type":51,"value":1772},{"type":46,"tag":1052,"props":2142,"children":2144},{"class":1054,"line":2143},19,[2145,2150,2154,2159],{"type":46,"tag":1052,"props":2146,"children":2147},{"style":1755},[2148],{"type":51,"value":2149},"  chainId",{"type":46,"tag":1052,"props":2151,"children":2152},{"style":1059},[2153],{"type":51,"value":1086},{"type":46,"tag":1052,"props":2155,"children":2156},{"style":1216},[2157],{"type":51,"value":2158}," number",{"type":46,"tag":1052,"props":2160,"children":2161},{"style":1059},[2162],{"type":51,"value":1772},{"type":46,"tag":1052,"props":2164,"children":2166},{"class":1054,"line":2165},20,[2167],{"type":46,"tag":1052,"props":2168,"children":2169},{"style":1059},[2170],{"type":51,"value":1406},{"type":46,"tag":143,"props":2172,"children":2173},{},[2174],{"type":46,"tag":54,"props":2175,"children":2176},{},[2177,2196,2198,2204,2206,2212,2214,2220],{"type":46,"tag":77,"props":2178,"children":2179},{},[2180,2182,2187,2189,2195],{"type":51,"value":2181},"The response field is ",{"type":46,"tag":85,"props":2183,"children":2185},{"className":2184},[],[2186],{"type":51,"value":1000},{"type":51,"value":2188},", not ",{"type":46,"tag":85,"props":2190,"children":2192},{"className":2191},[],[2193],{"type":51,"value":2194},"approvals",{"type":51,"value":650},{"type":51,"value":2197}," Each element WRAPS a transaction. Sign ",{"type":46,"tag":85,"props":2199,"children":2201},{"className":2200},[],[2202],{"type":51,"value":2203},"element.transaction",{"type":51,"value":2205},", never the element object itself. There are no top-level ",{"type":46,"tag":85,"props":2207,"children":2209},{"className":2208},[],[2210],{"type":51,"value":2211},"token",{"type":51,"value":2213},"\u002F",{"type":46,"tag":85,"props":2215,"children":2217},{"className":2216},[],[2218],{"type":51,"value":2219},"spender",{"type":51,"value":2221}," fields.",{"type":46,"tag":442,"props":2223,"children":2225},{"id":2224},"post-lpcreate",[2226],{"type":51,"value":2227},"POST \u002Flp\u002Fcreate",{"type":46,"tag":54,"props":2229,"children":2230},{},[2231],{"type":51,"value":2232},"Create a v3 or v4 concentrated-liquidity position. Specify a price range and one token amount; the API computes the other from live pool state.",{"type":46,"tag":54,"props":2234,"children":2235},{},[2236,2241],{"type":46,"tag":77,"props":2237,"children":2238},{},[2239],{"type":51,"value":2240},"Pool specification",{"type":51,"value":2242}," — provide exactly one of:",{"type":46,"tag":621,"props":2244,"children":2245},{},[2246,2273],{"type":46,"tag":625,"props":2247,"children":2248},{},[2249,2255,2257,2263,2265,2271],{"type":46,"tag":85,"props":2250,"children":2252},{"className":2251},[],[2253],{"type":51,"value":2254},"existingPool",{"type":51,"value":2256},": ",{"type":46,"tag":85,"props":2258,"children":2260},{"className":2259},[],[2261],{"type":51,"value":2262},"{ token0Address, token1Address, poolReference }",{"type":51,"value":2264}," where ",{"type":46,"tag":85,"props":2266,"children":2268},{"className":2267},[],[2269],{"type":51,"value":2270},"poolReference",{"type":51,"value":2272}," is the pool address (v3) or pool ID (v4).",{"type":46,"tag":625,"props":2274,"children":2275},{},[2276,2282,2283,2289,2290,2296,2298,2303,2305,2311],{"type":46,"tag":85,"props":2277,"children":2279},{"className":2278},[],[2280],{"type":51,"value":2281},"newPool",{"type":51,"value":2256},{"type":46,"tag":85,"props":2284,"children":2286},{"className":2285},[],[2287],{"type":51,"value":2288},"{ token0Address, token1Address, fee, tickSpacing, hooks?, initialPrice }",{"type":51,"value":2264},{"type":46,"tag":85,"props":2291,"children":2293},{"className":2292},[],[2294],{"type":51,"value":2295},"initialPrice",{"type":51,"value":2297}," is a ",{"type":46,"tag":85,"props":2299,"children":2301},{"className":2300},[],[2302],{"type":51,"value":853},{"type":51,"value":2304}," string (",{"type":46,"tag":85,"props":2306,"children":2308},{"className":2307},[],[2309],{"type":51,"value":2310},"hooks",{"type":51,"value":2312}," is v4-only).",{"type":46,"tag":54,"props":2314,"children":2315},{},[2316,2320],{"type":46,"tag":77,"props":2317,"children":2318},{},[2319],{"type":51,"value":476},{"type":51,"value":2242},{"type":46,"tag":621,"props":2322,"children":2323},{},[2324,2402],{"type":46,"tag":625,"props":2325,"children":2326},{},[2327,2332,2333,2339,2341,2347,2348,2354,2356,2362,2364,2369,2371,2377,2379,2385,2387,2392,2394,2400],{"type":46,"tag":85,"props":2328,"children":2330},{"className":2329},[],[2331],{"type":51,"value":899},{"type":51,"value":2256},{"type":46,"tag":85,"props":2334,"children":2336},{"className":2335},[],[2337],{"type":51,"value":2338},"{ minPrice, maxPrice, quotedTokenAddress }",{"type":51,"value":2340}," — ",{"type":46,"tag":85,"props":2342,"children":2344},{"className":2343},[],[2345],{"type":51,"value":2346},"minPrice",{"type":51,"value":2213},{"type":46,"tag":85,"props":2349,"children":2351},{"className":2350},[],[2352],{"type":51,"value":2353},"maxPrice",{"type":51,"value":2355}," are decimal price strings and ",{"type":46,"tag":85,"props":2357,"children":2359},{"className":2358},[],[2360],{"type":51,"value":2361},"quotedTokenAddress",{"type":51,"value":2363}," is ",{"type":46,"tag":77,"props":2365,"children":2366},{},[2367],{"type":51,"value":2368},"required",{"type":51,"value":2370}," (it must equal ",{"type":46,"tag":85,"props":2372,"children":2374},{"className":2373},[],[2375],{"type":51,"value":2376},"token0Address",{"type":51,"value":2378}," or ",{"type":46,"tag":85,"props":2380,"children":2382},{"className":2381},[],[2383],{"type":51,"value":2384},"token1Address",{"type":51,"value":2386},"). ",{"type":46,"tag":85,"props":2388,"children":2390},{"className":2389},[],[2391],{"type":51,"value":2361},{"type":51,"value":2393}," sets which token the prices are denominated in; there is no default, and omitting it returns a ",{"type":46,"tag":85,"props":2395,"children":2397},{"className":2396},[],[2398],{"type":51,"value":2399},"400",{"type":51,"value":2401},". The API snaps to valid ticks and returns the adjusted prices.",{"type":46,"tag":625,"props":2403,"children":2404},{},[2405,2411,2412,2418],{"type":46,"tag":85,"props":2406,"children":2408},{"className":2407},[],[2409],{"type":51,"value":2410},"tickBounds",{"type":51,"value":2256},{"type":46,"tag":85,"props":2413,"children":2415},{"className":2414},[],[2416],{"type":51,"value":2417},"{ tickLower, tickUpper }",{"type":51,"value":2419}," raw integers.",{"type":46,"tag":54,"props":2421,"children":2422},{},[2423],{"type":46,"tag":77,"props":2424,"children":2425},{},[2426],{"type":51,"value":1041},{"type":46,"tag":110,"props":2428,"children":2430},{"className":1044,"code":2429,"language":1046,"meta":115,"style":115},"{\n  \"walletAddress\": \"0x...\",\n  \"chainId\": 1,\n  \"protocol\": \"V3\",\n  \"existingPool\": {\n    \"token0Address\": \"0x1f9840a85d5af5bf1d1762f925bdaddc4201f984\",\n    \"token1Address\": \"0xdAC17F958D2ee523a2206206994597C13D831ec7\",\n    \"poolReference\": \"0x3470447f3cecffac709d3e783a307790b0208d60\"\n  },\n  \"independentToken\": {\n    \"tokenAddress\": \"0x1f9840a85d5af5bf1d1762f925bdaddc4201f984\",\n    \"amount\": \"198251669183062942\"\n  },\n  \"priceBounds\": {\n    \"minPrice\": \"0.00000000000324\",\n    \"maxPrice\": \"0.00000000000393\",\n    \"quotedTokenAddress\": \"0xdAC17F958D2ee523a2206206994597C13D831ec7\"\n  },\n  \"simulateTransaction\": false\n}\n",[2431],{"type":46,"tag":85,"props":2432,"children":2433},{"__ignoreMap":115},[2434,2441,2476,2503,2538,2561,2598,2634,2666,2674,2697,2732,2764,2771,2794,2830,2866,2897,2904,2928],{"type":46,"tag":1052,"props":2435,"children":2436},{"class":1054,"line":1055},[2437],{"type":46,"tag":1052,"props":2438,"children":2439},{"style":1059},[2440],{"type":51,"value":1062},{"type":46,"tag":1052,"props":2442,"children":2443},{"class":1054,"line":1065},[2444,2448,2452,2456,2460,2464,2468,2472],{"type":46,"tag":1052,"props":2445,"children":2446},{"style":1059},[2447],{"type":51,"value":1071},{"type":46,"tag":1052,"props":2449,"children":2450},{"style":1074},[2451],{"type":51,"value":1077},{"type":46,"tag":1052,"props":2453,"children":2454},{"style":1059},[2455],{"type":51,"value":803},{"type":46,"tag":1052,"props":2457,"children":2458},{"style":1059},[2459],{"type":51,"value":1086},{"type":46,"tag":1052,"props":2461,"children":2462},{"style":1059},[2463],{"type":51,"value":1091},{"type":46,"tag":1052,"props":2465,"children":2466},{"style":1094},[2467],{"type":51,"value":1097},{"type":46,"tag":1052,"props":2469,"children":2470},{"style":1059},[2471],{"type":51,"value":803},{"type":46,"tag":1052,"props":2473,"children":2474},{"style":1059},[2475],{"type":51,"value":1106},{"type":46,"tag":1052,"props":2477,"children":2478},{"class":1054,"line":1109},[2479,2483,2487,2491,2495,2499],{"type":46,"tag":1052,"props":2480,"children":2481},{"style":1059},[2482],{"type":51,"value":1071},{"type":46,"tag":1052,"props":2484,"children":2485},{"style":1074},[2486],{"type":51,"value":1156},{"type":46,"tag":1052,"props":2488,"children":2489},{"style":1059},[2490],{"type":51,"value":803},{"type":46,"tag":1052,"props":2492,"children":2493},{"style":1059},[2494],{"type":51,"value":1086},{"type":46,"tag":1052,"props":2496,"children":2497},{"style":1167},[2498],{"type":51,"value":1170},{"type":46,"tag":1052,"props":2500,"children":2501},{"style":1059},[2502],{"type":51,"value":1106},{"type":46,"tag":1052,"props":2504,"children":2505},{"class":1054,"line":1146},[2506,2510,2514,2518,2522,2526,2530,2534],{"type":46,"tag":1052,"props":2507,"children":2508},{"style":1059},[2509],{"type":51,"value":1071},{"type":46,"tag":1052,"props":2511,"children":2512},{"style":1074},[2513],{"type":51,"value":1119},{"type":46,"tag":1052,"props":2515,"children":2516},{"style":1059},[2517],{"type":51,"value":803},{"type":46,"tag":1052,"props":2519,"children":2520},{"style":1059},[2521],{"type":51,"value":1086},{"type":46,"tag":1052,"props":2523,"children":2524},{"style":1059},[2525],{"type":51,"value":1091},{"type":46,"tag":1052,"props":2527,"children":2528},{"style":1094},[2529],{"type":51,"value":520},{"type":46,"tag":1052,"props":2531,"children":2532},{"style":1059},[2533],{"type":51,"value":803},{"type":46,"tag":1052,"props":2535,"children":2536},{"style":1059},[2537],{"type":51,"value":1106},{"type":46,"tag":1052,"props":2539,"children":2540},{"class":1054,"line":1177},[2541,2545,2549,2553,2557],{"type":46,"tag":1052,"props":2542,"children":2543},{"style":1059},[2544],{"type":51,"value":1071},{"type":46,"tag":1052,"props":2546,"children":2547},{"style":1074},[2548],{"type":51,"value":2254},{"type":46,"tag":1052,"props":2550,"children":2551},{"style":1059},[2552],{"type":51,"value":803},{"type":46,"tag":1052,"props":2554,"children":2555},{"style":1059},[2556],{"type":51,"value":1086},{"type":46,"tag":1052,"props":2558,"children":2559},{"style":1059},[2560],{"type":51,"value":1749},{"type":46,"tag":1052,"props":2562,"children":2563},{"class":1054,"line":1203},[2564,2569,2573,2577,2581,2585,2590,2594],{"type":46,"tag":1052,"props":2565,"children":2566},{"style":1059},[2567],{"type":51,"value":2568},"    \"",{"type":46,"tag":1052,"props":2570,"children":2571},{"style":1216},[2572],{"type":51,"value":2376},{"type":46,"tag":1052,"props":2574,"children":2575},{"style":1059},[2576],{"type":51,"value":803},{"type":46,"tag":1052,"props":2578,"children":2579},{"style":1059},[2580],{"type":51,"value":1086},{"type":46,"tag":1052,"props":2582,"children":2583},{"style":1059},[2584],{"type":51,"value":1091},{"type":46,"tag":1052,"props":2586,"children":2587},{"style":1094},[2588],{"type":51,"value":2589},"0x1f9840a85d5af5bf1d1762f925bdaddc4201f984",{"type":46,"tag":1052,"props":2591,"children":2592},{"style":1059},[2593],{"type":51,"value":803},{"type":46,"tag":1052,"props":2595,"children":2596},{"style":1059},[2597],{"type":51,"value":1106},{"type":46,"tag":1052,"props":2599,"children":2600},{"class":1054,"line":1282},[2601,2605,2609,2613,2617,2621,2626,2630],{"type":46,"tag":1052,"props":2602,"children":2603},{"style":1059},[2604],{"type":51,"value":2568},{"type":46,"tag":1052,"props":2606,"children":2607},{"style":1216},[2608],{"type":51,"value":2384},{"type":46,"tag":1052,"props":2610,"children":2611},{"style":1059},[2612],{"type":51,"value":803},{"type":46,"tag":1052,"props":2614,"children":2615},{"style":1059},[2616],{"type":51,"value":1086},{"type":46,"tag":1052,"props":2618,"children":2619},{"style":1059},[2620],{"type":51,"value":1091},{"type":46,"tag":1052,"props":2622,"children":2623},{"style":1094},[2624],{"type":51,"value":2625},"0xdAC17F958D2ee523a2206206994597C13D831ec7",{"type":46,"tag":1052,"props":2627,"children":2628},{"style":1059},[2629],{"type":51,"value":803},{"type":46,"tag":1052,"props":2631,"children":2632},{"style":1059},[2633],{"type":51,"value":1106},{"type":46,"tag":1052,"props":2635,"children":2636},{"class":1054,"line":1356},[2637,2641,2645,2649,2653,2657,2662],{"type":46,"tag":1052,"props":2638,"children":2639},{"style":1059},[2640],{"type":51,"value":2568},{"type":46,"tag":1052,"props":2642,"children":2643},{"style":1216},[2644],{"type":51,"value":2270},{"type":46,"tag":1052,"props":2646,"children":2647},{"style":1059},[2648],{"type":51,"value":803},{"type":46,"tag":1052,"props":2650,"children":2651},{"style":1059},[2652],{"type":51,"value":1086},{"type":46,"tag":1052,"props":2654,"children":2655},{"style":1059},[2656],{"type":51,"value":1091},{"type":46,"tag":1052,"props":2658,"children":2659},{"style":1094},[2660],{"type":51,"value":2661},"0x3470447f3cecffac709d3e783a307790b0208d60",{"type":46,"tag":1052,"props":2663,"children":2664},{"style":1059},[2665],{"type":51,"value":1397},{"type":46,"tag":1052,"props":2667,"children":2668},{"class":1054,"line":1365},[2669],{"type":46,"tag":1052,"props":2670,"children":2671},{"style":1059},[2672],{"type":51,"value":2673},"  },\n",{"type":46,"tag":1052,"props":2675,"children":2676},{"class":1054,"line":1400},[2677,2681,2685,2689,2693],{"type":46,"tag":1052,"props":2678,"children":2679},{"style":1059},[2680],{"type":51,"value":1071},{"type":46,"tag":1052,"props":2682,"children":2683},{"style":1074},[2684],{"type":51,"value":871},{"type":46,"tag":1052,"props":2686,"children":2687},{"style":1059},[2688],{"type":51,"value":803},{"type":46,"tag":1052,"props":2690,"children":2691},{"style":1059},[2692],{"type":51,"value":1086},{"type":46,"tag":1052,"props":2694,"children":2695},{"style":1059},[2696],{"type":51,"value":1749},{"type":46,"tag":1052,"props":2698,"children":2699},{"class":1054,"line":1947},[2700,2704,2708,2712,2716,2720,2724,2728],{"type":46,"tag":1052,"props":2701,"children":2702},{"style":1059},[2703],{"type":51,"value":2568},{"type":46,"tag":1052,"props":2705,"children":2706},{"style":1216},[2707],{"type":51,"value":1219},{"type":46,"tag":1052,"props":2709,"children":2710},{"style":1059},[2711],{"type":51,"value":803},{"type":46,"tag":1052,"props":2713,"children":2714},{"style":1059},[2715],{"type":51,"value":1086},{"type":46,"tag":1052,"props":2717,"children":2718},{"style":1059},[2719],{"type":51,"value":1091},{"type":46,"tag":1052,"props":2721,"children":2722},{"style":1094},[2723],{"type":51,"value":2589},{"type":46,"tag":1052,"props":2725,"children":2726},{"style":1059},[2727],{"type":51,"value":803},{"type":46,"tag":1052,"props":2729,"children":2730},{"style":1059},[2731],{"type":51,"value":1106},{"type":46,"tag":1052,"props":2733,"children":2734},{"class":1054,"line":1969},[2735,2739,2743,2747,2751,2755,2760],{"type":46,"tag":1052,"props":2736,"children":2737},{"style":1059},[2738],{"type":51,"value":2568},{"type":46,"tag":1052,"props":2740,"children":2741},{"style":1216},[2742],{"type":51,"value":1253},{"type":46,"tag":1052,"props":2744,"children":2745},{"style":1059},[2746],{"type":51,"value":803},{"type":46,"tag":1052,"props":2748,"children":2749},{"style":1059},[2750],{"type":51,"value":1086},{"type":46,"tag":1052,"props":2752,"children":2753},{"style":1059},[2754],{"type":51,"value":1091},{"type":46,"tag":1052,"props":2756,"children":2757},{"style":1094},[2758],{"type":51,"value":2759},"198251669183062942",{"type":46,"tag":1052,"props":2761,"children":2762},{"style":1059},[2763],{"type":51,"value":1397},{"type":46,"tag":1052,"props":2765,"children":2766},{"class":1054,"line":2048},[2767],{"type":46,"tag":1052,"props":2768,"children":2769},{"style":1059},[2770],{"type":51,"value":2673},{"type":46,"tag":1052,"props":2772,"children":2773},{"class":1054,"line":2069},[2774,2778,2782,2786,2790],{"type":46,"tag":1052,"props":2775,"children":2776},{"style":1059},[2777],{"type":51,"value":1071},{"type":46,"tag":1052,"props":2779,"children":2780},{"style":1074},[2781],{"type":51,"value":899},{"type":46,"tag":1052,"props":2783,"children":2784},{"style":1059},[2785],{"type":51,"value":803},{"type":46,"tag":1052,"props":2787,"children":2788},{"style":1059},[2789],{"type":51,"value":1086},{"type":46,"tag":1052,"props":2791,"children":2792},{"style":1059},[2793],{"type":51,"value":1749},{"type":46,"tag":1052,"props":2795,"children":2796},{"class":1054,"line":2077},[2797,2801,2805,2809,2813,2817,2822,2826],{"type":46,"tag":1052,"props":2798,"children":2799},{"style":1059},[2800],{"type":51,"value":2568},{"type":46,"tag":1052,"props":2802,"children":2803},{"style":1216},[2804],{"type":51,"value":2346},{"type":46,"tag":1052,"props":2806,"children":2807},{"style":1059},[2808],{"type":51,"value":803},{"type":46,"tag":1052,"props":2810,"children":2811},{"style":1059},[2812],{"type":51,"value":1086},{"type":46,"tag":1052,"props":2814,"children":2815},{"style":1059},[2816],{"type":51,"value":1091},{"type":46,"tag":1052,"props":2818,"children":2819},{"style":1094},[2820],{"type":51,"value":2821},"0.00000000000324",{"type":46,"tag":1052,"props":2823,"children":2824},{"style":1059},[2825],{"type":51,"value":803},{"type":46,"tag":1052,"props":2827,"children":2828},{"style":1059},[2829],{"type":51,"value":1106},{"type":46,"tag":1052,"props":2831,"children":2832},{"class":1054,"line":2085},[2833,2837,2841,2845,2849,2853,2858,2862],{"type":46,"tag":1052,"props":2834,"children":2835},{"style":1059},[2836],{"type":51,"value":2568},{"type":46,"tag":1052,"props":2838,"children":2839},{"style":1216},[2840],{"type":51,"value":2353},{"type":46,"tag":1052,"props":2842,"children":2843},{"style":1059},[2844],{"type":51,"value":803},{"type":46,"tag":1052,"props":2846,"children":2847},{"style":1059},[2848],{"type":51,"value":1086},{"type":46,"tag":1052,"props":2850,"children":2851},{"style":1059},[2852],{"type":51,"value":1091},{"type":46,"tag":1052,"props":2854,"children":2855},{"style":1094},[2856],{"type":51,"value":2857},"0.00000000000393",{"type":46,"tag":1052,"props":2859,"children":2860},{"style":1059},[2861],{"type":51,"value":803},{"type":46,"tag":1052,"props":2863,"children":2864},{"style":1059},[2865],{"type":51,"value":1106},{"type":46,"tag":1052,"props":2867,"children":2868},{"class":1054,"line":2101},[2869,2873,2877,2881,2885,2889,2893],{"type":46,"tag":1052,"props":2870,"children":2871},{"style":1059},[2872],{"type":51,"value":2568},{"type":46,"tag":1052,"props":2874,"children":2875},{"style":1216},[2876],{"type":51,"value":2361},{"type":46,"tag":1052,"props":2878,"children":2879},{"style":1059},[2880],{"type":51,"value":803},{"type":46,"tag":1052,"props":2882,"children":2883},{"style":1059},[2884],{"type":51,"value":1086},{"type":46,"tag":1052,"props":2886,"children":2887},{"style":1059},[2888],{"type":51,"value":1091},{"type":46,"tag":1052,"props":2890,"children":2891},{"style":1094},[2892],{"type":51,"value":2625},{"type":46,"tag":1052,"props":2894,"children":2895},{"style":1059},[2896],{"type":51,"value":1397},{"type":46,"tag":1052,"props":2898,"children":2899},{"class":1054,"line":2122},[2900],{"type":46,"tag":1052,"props":2901,"children":2902},{"style":1059},[2903],{"type":51,"value":2673},{"type":46,"tag":1052,"props":2905,"children":2906},{"class":1054,"line":2143},[2907,2911,2915,2919,2923],{"type":46,"tag":1052,"props":2908,"children":2909},{"style":1059},[2910],{"type":51,"value":1071},{"type":46,"tag":1052,"props":2912,"children":2913},{"style":1074},[2914],{"type":51,"value":1594},{"type":46,"tag":1052,"props":2916,"children":2917},{"style":1059},[2918],{"type":51,"value":803},{"type":46,"tag":1052,"props":2920,"children":2921},{"style":1059},[2922],{"type":51,"value":1086},{"type":46,"tag":1052,"props":2924,"children":2925},{"style":1059},[2926],{"type":51,"value":2927}," false\n",{"type":46,"tag":1052,"props":2929,"children":2930},{"class":1054,"line":2165},[2931],{"type":46,"tag":1052,"props":2932,"children":2933},{"style":1059},[2934],{"type":51,"value":1406},{"type":46,"tag":260,"props":2936,"children":2937},{},[2938,2956],{"type":46,"tag":264,"props":2939,"children":2940},{},[2941],{"type":46,"tag":268,"props":2942,"children":2943},{},[2944,2948,2952],{"type":46,"tag":272,"props":2945,"children":2946},{},[2947],{"type":51,"value":1420},{"type":46,"tag":272,"props":2949,"children":2950},{},[2951],{"type":51,"value":1425},{"type":46,"tag":272,"props":2953,"children":2954},{},[2955],{"type":51,"value":1430},{"type":46,"tag":288,"props":2957,"children":2958},{},[2959,3006,3033,3059,3080,3108,3129,3157,3192,3234,3255],{"type":46,"tag":268,"props":2960,"children":2961},{},[2962,2988,2992],{"type":46,"tag":295,"props":2963,"children":2964},{},[2965,2970,2971,2976,2977,2982,2983],{"type":46,"tag":85,"props":2966,"children":2968},{"className":2967},[],[2969],{"type":51,"value":1077},{"type":51,"value":727},{"type":46,"tag":85,"props":2972,"children":2974},{"className":2973},[],[2975],{"type":51,"value":1156},{"type":51,"value":727},{"type":46,"tag":85,"props":2978,"children":2980},{"className":2979},[],[2981],{"type":51,"value":1119},{"type":51,"value":727},{"type":46,"tag":85,"props":2984,"children":2986},{"className":2985},[],[2987],{"type":51,"value":871},{"type":46,"tag":295,"props":2989,"children":2990},{},[2991],{"type":51,"value":1449},{"type":46,"tag":295,"props":2993,"children":2994},{},[2995,3000,3001],{"type":46,"tag":85,"props":2996,"children":2998},{"className":2997},[],[2999],{"type":51,"value":871},{"type":51,"value":2363},{"type":46,"tag":85,"props":3002,"children":3004},{"className":3003},[],[3005],{"type":51,"value":1536},{"type":46,"tag":268,"props":3007,"children":3008},{},[3009,3023,3028],{"type":46,"tag":295,"props":3010,"children":3011},{},[3012,3017,3018],{"type":46,"tag":85,"props":3013,"children":3015},{"className":3014},[],[3016],{"type":51,"value":2254},{"type":51,"value":1479},{"type":46,"tag":85,"props":3019,"children":3021},{"className":3020},[],[3022],{"type":51,"value":2281},{"type":46,"tag":295,"props":3024,"children":3025},{},[3026],{"type":51,"value":3027},"One required",{"type":46,"tag":295,"props":3029,"children":3030},{},[3031],{"type":51,"value":3032},"See pool specification above",{"type":46,"tag":268,"props":3034,"children":3035},{},[3036,3050,3054],{"type":46,"tag":295,"props":3037,"children":3038},{},[3039,3044,3045],{"type":46,"tag":85,"props":3040,"children":3042},{"className":3041},[],[3043],{"type":51,"value":899},{"type":51,"value":1479},{"type":46,"tag":85,"props":3046,"children":3048},{"className":3047},[],[3049],{"type":51,"value":2410},{"type":46,"tag":295,"props":3051,"children":3052},{},[3053],{"type":51,"value":3027},{"type":46,"tag":295,"props":3055,"children":3056},{},[3057],{"type":51,"value":3058},"See price range above",{"type":46,"tag":268,"props":3060,"children":3061},{},[3062,3071,3075],{"type":46,"tag":295,"props":3063,"children":3064},{},[3065],{"type":46,"tag":85,"props":3066,"children":3068},{"className":3067},[],[3069],{"type":51,"value":3070},"dependentToken",{"type":46,"tag":295,"props":3072,"children":3073},{},[3074],{"type":51,"value":1599},{"type":46,"tag":295,"props":3076,"children":3077},{},[3078],{"type":51,"value":3079},"Override the computed dependent amount",{"type":46,"tag":268,"props":3081,"children":3082},{},[3083,3092,3096],{"type":46,"tag":295,"props":3084,"children":3085},{},[3086],{"type":46,"tag":85,"props":3087,"children":3089},{"className":3088},[],[3090],{"type":51,"value":3091},"slippageTolerance",{"type":46,"tag":295,"props":3093,"children":3094},{},[3095],{"type":51,"value":1599},{"type":46,"tag":295,"props":3097,"children":3098},{},[3099,3101,3107],{"type":51,"value":3100},"Decimal percent (e.g. ",{"type":46,"tag":85,"props":3102,"children":3104},{"className":3103},[],[3105],{"type":51,"value":3106},"0.5",{"type":51,"value":768},{"type":46,"tag":268,"props":3109,"children":3110},{},[3111,3120,3124],{"type":46,"tag":295,"props":3112,"children":3113},{},[3114],{"type":46,"tag":85,"props":3115,"children":3117},{"className":3116},[],[3118],{"type":51,"value":3119},"deadline",{"type":46,"tag":295,"props":3121,"children":3122},{},[3123],{"type":51,"value":1599},{"type":46,"tag":295,"props":3125,"children":3126},{},[3127],{"type":51,"value":3128},"Unix seconds",{"type":46,"tag":268,"props":3130,"children":3131},{},[3132,3140,3144],{"type":46,"tag":295,"props":3133,"children":3134},{},[3135],{"type":46,"tag":85,"props":3136,"children":3138},{"className":3137},[],[3139],{"type":51,"value":1594},{"type":46,"tag":295,"props":3141,"children":3142},{},[3143],{"type":51,"value":1599},{"type":46,"tag":295,"props":3145,"children":3146},{},[3147,3149,3155],{"type":51,"value":3148},"Include ",{"type":46,"tag":85,"props":3150,"children":3152},{"className":3151},[],[3153],{"type":51,"value":3154},"gasFee",{"type":51,"value":3156}," in response",{"type":46,"tag":268,"props":3158,"children":3159},{},[3160,3168,3172],{"type":46,"tag":295,"props":3161,"children":3162},{},[3163],{"type":46,"tag":85,"props":3164,"children":3166},{"className":3165},[],[3167],{"type":51,"value":1666},{"type":46,"tag":295,"props":3169,"children":3170},{},[3171],{"type":51,"value":1599},{"type":46,"tag":295,"props":3173,"children":3174},{},[3175,3180,3181,3186,3187],{"type":46,"tag":85,"props":3176,"children":3178},{"className":3177},[],[3179],{"type":51,"value":1679},{"type":51,"value":1479},{"type":46,"tag":85,"props":3182,"children":3184},{"className":3183},[],[3185],{"type":51,"value":1686},{"type":51,"value":1479},{"type":46,"tag":85,"props":3188,"children":3190},{"className":3189},[],[3191],{"type":51,"value":1693},{"type":46,"tag":268,"props":3193,"children":3194},{},[3195,3212,3216],{"type":46,"tag":295,"props":3196,"children":3197},{},[3198,3204,3206],{"type":46,"tag":85,"props":3199,"children":3201},{"className":3200},[],[3202],{"type":51,"value":3203},"batchPermitData",{"type":51,"value":3205}," + ",{"type":46,"tag":85,"props":3207,"children":3209},{"className":3208},[],[3210],{"type":51,"value":3211},"signature",{"type":46,"tag":295,"props":3213,"children":3214},{},[3215],{"type":51,"value":1599},{"type":46,"tag":295,"props":3217,"children":3218},{},[3219,3221,3226,3228,3233],{"type":51,"value":3220},"v4 permit from ",{"type":46,"tag":85,"props":3222,"children":3224},{"className":3223},[],[3225],{"type":51,"value":308},{"type":51,"value":3227}," (note: create uses ",{"type":46,"tag":85,"props":3229,"children":3231},{"className":3230},[],[3232],{"type":51,"value":3203},{"type":51,"value":768},{"type":46,"tag":268,"props":3235,"children":3236},{},[3237,3246,3250],{"type":46,"tag":295,"props":3238,"children":3239},{},[3240],{"type":46,"tag":85,"props":3241,"children":3243},{"className":3242},[],[3244],{"type":51,"value":3245},"nativeTokenBalance",{"type":46,"tag":295,"props":3247,"children":3248},{},[3249],{"type":51,"value":1599},{"type":46,"tag":295,"props":3251,"children":3252},{},[3253],{"type":51,"value":3254},"Used when one side is native ETH",{"type":46,"tag":268,"props":3256,"children":3257},{},[3258,3267,3271],{"type":46,"tag":295,"props":3259,"children":3260},{},[3261],{"type":46,"tag":85,"props":3262,"children":3264},{"className":3263},[],[3265],{"type":51,"value":3266},"includeApprovalSimulation",{"type":46,"tag":295,"props":3268,"children":3269},{},[3270],{"type":51,"value":1599},{"type":46,"tag":295,"props":3272,"children":3273},{},[3274,3276,3281],{"type":51,"value":3275},"Include approval pre-calls in the gas simulation (only with ",{"type":46,"tag":85,"props":3277,"children":3279},{"className":3278},[],[3280],{"type":51,"value":917},{"type":51,"value":768},{"type":46,"tag":54,"props":3283,"children":3284},{},[3285],{"type":46,"tag":77,"props":3286,"children":3287},{},[3288],{"type":51,"value":1722},{"type":46,"tag":110,"props":3290,"children":3292},{"className":1725,"code":3291,"language":1727,"meta":115,"style":115},"interface CreatePositionResponse {\n  requestId: string;\n  token0: LPToken; \u002F\u002F { tokenAddress, amount }\n  token1: LPToken;\n  adjustedMinPrice: string; \u002F\u002F show THIS to the user, not your input minPrice\n  adjustedMaxPrice: string;\n  tickLower: number;\n  tickUpper: number;\n  create: TransactionRequest;\n  gasFee?: string; \u002F\u002F present when simulateTransaction: true\n  slippage?: number; \u002F\u002F effective slippage the API applied (e.g. native-token v4 cases)\n}\n",[3293],{"type":46,"tag":85,"props":3294,"children":3295},{"__ignoreMap":115},[3296,3312,3331,3357,3377,3402,3422,3442,3462,3482,3506,3531],{"type":46,"tag":1052,"props":3297,"children":3298},{"class":1054,"line":1055},[3299,3303,3308],{"type":46,"tag":1052,"props":3300,"children":3301},{"style":1074},[3302],{"type":51,"value":1739},{"type":46,"tag":1052,"props":3304,"children":3305},{"style":1216},[3306],{"type":51,"value":3307}," CreatePositionResponse",{"type":46,"tag":1052,"props":3309,"children":3310},{"style":1059},[3311],{"type":51,"value":1749},{"type":46,"tag":1052,"props":3313,"children":3314},{"class":1054,"line":1065},[3315,3319,3323,3327],{"type":46,"tag":1052,"props":3316,"children":3317},{"style":1755},[3318],{"type":51,"value":1758},{"type":46,"tag":1052,"props":3320,"children":3321},{"style":1059},[3322],{"type":51,"value":1086},{"type":46,"tag":1052,"props":3324,"children":3325},{"style":1216},[3326],{"type":51,"value":1767},{"type":46,"tag":1052,"props":3328,"children":3329},{"style":1059},[3330],{"type":51,"value":1772},{"type":46,"tag":1052,"props":3332,"children":3333},{"class":1054,"line":1109},[3334,3339,3343,3348,3352],{"type":46,"tag":1052,"props":3335,"children":3336},{"style":1755},[3337],{"type":51,"value":3338},"  token0",{"type":46,"tag":1052,"props":3340,"children":3341},{"style":1059},[3342],{"type":51,"value":1086},{"type":46,"tag":1052,"props":3344,"children":3345},{"style":1216},[3346],{"type":51,"value":3347}," LPToken",{"type":46,"tag":1052,"props":3349,"children":3350},{"style":1059},[3351],{"type":51,"value":725},{"type":46,"tag":1052,"props":3353,"children":3354},{"style":1802},[3355],{"type":51,"value":3356}," \u002F\u002F { tokenAddress, amount }\n",{"type":46,"tag":1052,"props":3358,"children":3359},{"class":1054,"line":1146},[3360,3365,3369,3373],{"type":46,"tag":1052,"props":3361,"children":3362},{"style":1755},[3363],{"type":51,"value":3364},"  token1",{"type":46,"tag":1052,"props":3366,"children":3367},{"style":1059},[3368],{"type":51,"value":1086},{"type":46,"tag":1052,"props":3370,"children":3371},{"style":1216},[3372],{"type":51,"value":3347},{"type":46,"tag":1052,"props":3374,"children":3375},{"style":1059},[3376],{"type":51,"value":1772},{"type":46,"tag":1052,"props":3378,"children":3379},{"class":1054,"line":1177},[3380,3385,3389,3393,3397],{"type":46,"tag":1052,"props":3381,"children":3382},{"style":1755},[3383],{"type":51,"value":3384},"  adjustedMinPrice",{"type":46,"tag":1052,"props":3386,"children":3387},{"style":1059},[3388],{"type":51,"value":1086},{"type":46,"tag":1052,"props":3390,"children":3391},{"style":1216},[3392],{"type":51,"value":1767},{"type":46,"tag":1052,"props":3394,"children":3395},{"style":1059},[3396],{"type":51,"value":725},{"type":46,"tag":1052,"props":3398,"children":3399},{"style":1802},[3400],{"type":51,"value":3401}," \u002F\u002F show THIS to the user, not your input minPrice\n",{"type":46,"tag":1052,"props":3403,"children":3404},{"class":1054,"line":1203},[3405,3410,3414,3418],{"type":46,"tag":1052,"props":3406,"children":3407},{"style":1755},[3408],{"type":51,"value":3409},"  adjustedMaxPrice",{"type":46,"tag":1052,"props":3411,"children":3412},{"style":1059},[3413],{"type":51,"value":1086},{"type":46,"tag":1052,"props":3415,"children":3416},{"style":1216},[3417],{"type":51,"value":1767},{"type":46,"tag":1052,"props":3419,"children":3420},{"style":1059},[3421],{"type":51,"value":1772},{"type":46,"tag":1052,"props":3423,"children":3424},{"class":1054,"line":1282},[3425,3430,3434,3438],{"type":46,"tag":1052,"props":3426,"children":3427},{"style":1755},[3428],{"type":51,"value":3429},"  tickLower",{"type":46,"tag":1052,"props":3431,"children":3432},{"style":1059},[3433],{"type":51,"value":1086},{"type":46,"tag":1052,"props":3435,"children":3436},{"style":1216},[3437],{"type":51,"value":2158},{"type":46,"tag":1052,"props":3439,"children":3440},{"style":1059},[3441],{"type":51,"value":1772},{"type":46,"tag":1052,"props":3443,"children":3444},{"class":1054,"line":1356},[3445,3450,3454,3458],{"type":46,"tag":1052,"props":3446,"children":3447},{"style":1755},[3448],{"type":51,"value":3449},"  tickUpper",{"type":46,"tag":1052,"props":3451,"children":3452},{"style":1059},[3453],{"type":51,"value":1086},{"type":46,"tag":1052,"props":3455,"children":3456},{"style":1216},[3457],{"type":51,"value":2158},{"type":46,"tag":1052,"props":3459,"children":3460},{"style":1059},[3461],{"type":51,"value":1772},{"type":46,"tag":1052,"props":3463,"children":3464},{"class":1054,"line":1365},[3465,3470,3474,3478],{"type":46,"tag":1052,"props":3466,"children":3467},{"style":1755},[3468],{"type":51,"value":3469},"  create",{"type":46,"tag":1052,"props":3471,"children":3472},{"style":1059},[3473],{"type":51,"value":1086},{"type":46,"tag":1052,"props":3475,"children":3476},{"style":1216},[3477],{"type":51,"value":1935},{"type":46,"tag":1052,"props":3479,"children":3480},{"style":1059},[3481],{"type":51,"value":1772},{"type":46,"tag":1052,"props":3483,"children":3484},{"class":1054,"line":1400},[3485,3489,3493,3497,3501],{"type":46,"tag":1052,"props":3486,"children":3487},{"style":1755},[3488],{"type":51,"value":2054},{"type":46,"tag":1052,"props":3490,"children":3491},{"style":1059},[3492],{"type":51,"value":1818},{"type":46,"tag":1052,"props":3494,"children":3495},{"style":1216},[3496],{"type":51,"value":1767},{"type":46,"tag":1052,"props":3498,"children":3499},{"style":1059},[3500],{"type":51,"value":725},{"type":46,"tag":1052,"props":3502,"children":3503},{"style":1802},[3504],{"type":51,"value":3505}," \u002F\u002F present when simulateTransaction: true\n",{"type":46,"tag":1052,"props":3507,"children":3508},{"class":1054,"line":1947},[3509,3514,3518,3522,3526],{"type":46,"tag":1052,"props":3510,"children":3511},{"style":1755},[3512],{"type":51,"value":3513},"  slippage",{"type":46,"tag":1052,"props":3515,"children":3516},{"style":1059},[3517],{"type":51,"value":1818},{"type":46,"tag":1052,"props":3519,"children":3520},{"style":1216},[3521],{"type":51,"value":2158},{"type":46,"tag":1052,"props":3523,"children":3524},{"style":1059},[3525],{"type":51,"value":725},{"type":46,"tag":1052,"props":3527,"children":3528},{"style":1802},[3529],{"type":51,"value":3530}," \u002F\u002F effective slippage the API applied (e.g. native-token v4 cases)\n",{"type":46,"tag":1052,"props":3532,"children":3533},{"class":1054,"line":1969},[3534],{"type":46,"tag":1052,"props":3535,"children":3536},{"style":1059},[3537],{"type":51,"value":1406},{"type":46,"tag":143,"props":3539,"children":3540},{},[3541],{"type":46,"tag":54,"props":3542,"children":3543},{},[3544,3563,3565,3570],{"type":46,"tag":77,"props":3545,"children":3546},{},[3547,3549,3555,3557],{"type":51,"value":3548},"Display ",{"type":46,"tag":85,"props":3550,"children":3552},{"className":3551},[],[3553],{"type":51,"value":3554},"adjustedMinPrice",{"type":51,"value":3556}," \u002F ",{"type":46,"tag":85,"props":3558,"children":3560},{"className":3559},[],[3561],{"type":51,"value":3562},"adjustedMaxPrice",{"type":51,"value":3564}," (the tick-snapped values), not the original ",{"type":46,"tag":85,"props":3566,"children":3568},{"className":3567},[],[3569],{"type":51,"value":899},{"type":51,"value":3571}," you sent.",{"type":46,"tag":442,"props":3573,"children":3575},{"id":3574},"post-lpcreate_classic",[3576],{"type":51,"value":3577},"POST \u002Flp\u002Fcreate_classic",{"type":46,"tag":54,"props":3579,"children":3580},{},[3581,3583,3588,3590,3595],{"type":51,"value":3582},"Create a v2 (full-range) position. Provide one ",{"type":46,"tag":85,"props":3584,"children":3586},{"className":3585},[],[3587],{"type":51,"value":871},{"type":51,"value":3589}," amount; the API computes the ",{"type":46,"tag":85,"props":3591,"children":3593},{"className":3592},[],[3594],{"type":51,"value":3070},{"type":51,"value":3596}," from current pair reserves.",{"type":46,"tag":54,"props":3598,"children":3599},{},[3600],{"type":46,"tag":77,"props":3601,"children":3602},{},[3603],{"type":51,"value":1041},{"type":46,"tag":110,"props":3605,"children":3607},{"className":1044,"code":3606,"language":1046,"meta":115,"style":115},"{\n  \"walletAddress\": \"0x...\",\n  \"poolParameters\": {\n    \"token0Address\": \"0xc02fe7317d4eb8753a02c35fe019786854a92001\",\n    \"token1Address\": \"0x0000000000000000000000000000000000000000\",\n    \"chainId\": 130\n  },\n  \"independentToken\": {\n    \"tokenAddress\": \"0xc02fe7317d4eb8753a02c35fe019786854a92001\",\n    \"amount\": \"1000000000000000\"\n  },\n  \"simulateTransaction\": false\n}\n",[3608],{"type":46,"tag":85,"props":3609,"children":3610},{"__ignoreMap":115},[3611,3618,3653,3677,3713,3748,3772,3779,3802,3837,3869,3876,3899],{"type":46,"tag":1052,"props":3612,"children":3613},{"class":1054,"line":1055},[3614],{"type":46,"tag":1052,"props":3615,"children":3616},{"style":1059},[3617],{"type":51,"value":1062},{"type":46,"tag":1052,"props":3619,"children":3620},{"class":1054,"line":1065},[3621,3625,3629,3633,3637,3641,3645,3649],{"type":46,"tag":1052,"props":3622,"children":3623},{"style":1059},[3624],{"type":51,"value":1071},{"type":46,"tag":1052,"props":3626,"children":3627},{"style":1074},[3628],{"type":51,"value":1077},{"type":46,"tag":1052,"props":3630,"children":3631},{"style":1059},[3632],{"type":51,"value":803},{"type":46,"tag":1052,"props":3634,"children":3635},{"style":1059},[3636],{"type":51,"value":1086},{"type":46,"tag":1052,"props":3638,"children":3639},{"style":1059},[3640],{"type":51,"value":1091},{"type":46,"tag":1052,"props":3642,"children":3643},{"style":1094},[3644],{"type":51,"value":1097},{"type":46,"tag":1052,"props":3646,"children":3647},{"style":1059},[3648],{"type":51,"value":803},{"type":46,"tag":1052,"props":3650,"children":3651},{"style":1059},[3652],{"type":51,"value":1106},{"type":46,"tag":1052,"props":3654,"children":3655},{"class":1054,"line":1109},[3656,3660,3665,3669,3673],{"type":46,"tag":1052,"props":3657,"children":3658},{"style":1059},[3659],{"type":51,"value":1071},{"type":46,"tag":1052,"props":3661,"children":3662},{"style":1074},[3663],{"type":51,"value":3664},"poolParameters",{"type":46,"tag":1052,"props":3666,"children":3667},{"style":1059},[3668],{"type":51,"value":803},{"type":46,"tag":1052,"props":3670,"children":3671},{"style":1059},[3672],{"type":51,"value":1086},{"type":46,"tag":1052,"props":3674,"children":3675},{"style":1059},[3676],{"type":51,"value":1749},{"type":46,"tag":1052,"props":3678,"children":3679},{"class":1054,"line":1146},[3680,3684,3688,3692,3696,3700,3705,3709],{"type":46,"tag":1052,"props":3681,"children":3682},{"style":1059},[3683],{"type":51,"value":2568},{"type":46,"tag":1052,"props":3685,"children":3686},{"style":1216},[3687],{"type":51,"value":2376},{"type":46,"tag":1052,"props":3689,"children":3690},{"style":1059},[3691],{"type":51,"value":803},{"type":46,"tag":1052,"props":3693,"children":3694},{"style":1059},[3695],{"type":51,"value":1086},{"type":46,"tag":1052,"props":3697,"children":3698},{"style":1059},[3699],{"type":51,"value":1091},{"type":46,"tag":1052,"props":3701,"children":3702},{"style":1094},[3703],{"type":51,"value":3704},"0xc02fe7317d4eb8753a02c35fe019786854a92001",{"type":46,"tag":1052,"props":3706,"children":3707},{"style":1059},[3708],{"type":51,"value":803},{"type":46,"tag":1052,"props":3710,"children":3711},{"style":1059},[3712],{"type":51,"value":1106},{"type":46,"tag":1052,"props":3714,"children":3715},{"class":1054,"line":1177},[3716,3720,3724,3728,3732,3736,3740,3744],{"type":46,"tag":1052,"props":3717,"children":3718},{"style":1059},[3719],{"type":51,"value":2568},{"type":46,"tag":1052,"props":3721,"children":3722},{"style":1216},[3723],{"type":51,"value":2384},{"type":46,"tag":1052,"props":3725,"children":3726},{"style":1059},[3727],{"type":51,"value":803},{"type":46,"tag":1052,"props":3729,"children":3730},{"style":1059},[3731],{"type":51,"value":1086},{"type":46,"tag":1052,"props":3733,"children":3734},{"style":1059},[3735],{"type":51,"value":1091},{"type":46,"tag":1052,"props":3737,"children":3738},{"style":1094},[3739],{"type":51,"value":648},{"type":46,"tag":1052,"props":3741,"children":3742},{"style":1059},[3743],{"type":51,"value":803},{"type":46,"tag":1052,"props":3745,"children":3746},{"style":1059},[3747],{"type":51,"value":1106},{"type":46,"tag":1052,"props":3749,"children":3750},{"class":1054,"line":1203},[3751,3755,3759,3763,3767],{"type":46,"tag":1052,"props":3752,"children":3753},{"style":1059},[3754],{"type":51,"value":2568},{"type":46,"tag":1052,"props":3756,"children":3757},{"style":1216},[3758],{"type":51,"value":1156},{"type":46,"tag":1052,"props":3760,"children":3761},{"style":1059},[3762],{"type":51,"value":803},{"type":46,"tag":1052,"props":3764,"children":3765},{"style":1059},[3766],{"type":51,"value":1086},{"type":46,"tag":1052,"props":3768,"children":3769},{"style":1167},[3770],{"type":51,"value":3771}," 130\n",{"type":46,"tag":1052,"props":3773,"children":3774},{"class":1054,"line":1282},[3775],{"type":46,"tag":1052,"props":3776,"children":3777},{"style":1059},[3778],{"type":51,"value":2673},{"type":46,"tag":1052,"props":3780,"children":3781},{"class":1054,"line":1356},[3782,3786,3790,3794,3798],{"type":46,"tag":1052,"props":3783,"children":3784},{"style":1059},[3785],{"type":51,"value":1071},{"type":46,"tag":1052,"props":3787,"children":3788},{"style":1074},[3789],{"type":51,"value":871},{"type":46,"tag":1052,"props":3791,"children":3792},{"style":1059},[3793],{"type":51,"value":803},{"type":46,"tag":1052,"props":3795,"children":3796},{"style":1059},[3797],{"type":51,"value":1086},{"type":46,"tag":1052,"props":3799,"children":3800},{"style":1059},[3801],{"type":51,"value":1749},{"type":46,"tag":1052,"props":3803,"children":3804},{"class":1054,"line":1365},[3805,3809,3813,3817,3821,3825,3829,3833],{"type":46,"tag":1052,"props":3806,"children":3807},{"style":1059},[3808],{"type":51,"value":2568},{"type":46,"tag":1052,"props":3810,"children":3811},{"style":1216},[3812],{"type":51,"value":1219},{"type":46,"tag":1052,"props":3814,"children":3815},{"style":1059},[3816],{"type":51,"value":803},{"type":46,"tag":1052,"props":3818,"children":3819},{"style":1059},[3820],{"type":51,"value":1086},{"type":46,"tag":1052,"props":3822,"children":3823},{"style":1059},[3824],{"type":51,"value":1091},{"type":46,"tag":1052,"props":3826,"children":3827},{"style":1094},[3828],{"type":51,"value":3704},{"type":46,"tag":1052,"props":3830,"children":3831},{"style":1059},[3832],{"type":51,"value":803},{"type":46,"tag":1052,"props":3834,"children":3835},{"style":1059},[3836],{"type":51,"value":1106},{"type":46,"tag":1052,"props":3838,"children":3839},{"class":1054,"line":1400},[3840,3844,3848,3852,3856,3860,3865],{"type":46,"tag":1052,"props":3841,"children":3842},{"style":1059},[3843],{"type":51,"value":2568},{"type":46,"tag":1052,"props":3845,"children":3846},{"style":1216},[3847],{"type":51,"value":1253},{"type":46,"tag":1052,"props":3849,"children":3850},{"style":1059},[3851],{"type":51,"value":803},{"type":46,"tag":1052,"props":3853,"children":3854},{"style":1059},[3855],{"type":51,"value":1086},{"type":46,"tag":1052,"props":3857,"children":3858},{"style":1059},[3859],{"type":51,"value":1091},{"type":46,"tag":1052,"props":3861,"children":3862},{"style":1094},[3863],{"type":51,"value":3864},"1000000000000000",{"type":46,"tag":1052,"props":3866,"children":3867},{"style":1059},[3868],{"type":51,"value":1397},{"type":46,"tag":1052,"props":3870,"children":3871},{"class":1054,"line":1947},[3872],{"type":46,"tag":1052,"props":3873,"children":3874},{"style":1059},[3875],{"type":51,"value":2673},{"type":46,"tag":1052,"props":3877,"children":3878},{"class":1054,"line":1969},[3879,3883,3887,3891,3895],{"type":46,"tag":1052,"props":3880,"children":3881},{"style":1059},[3882],{"type":51,"value":1071},{"type":46,"tag":1052,"props":3884,"children":3885},{"style":1074},[3886],{"type":51,"value":1594},{"type":46,"tag":1052,"props":3888,"children":3889},{"style":1059},[3890],{"type":51,"value":803},{"type":46,"tag":1052,"props":3892,"children":3893},{"style":1059},[3894],{"type":51,"value":1086},{"type":46,"tag":1052,"props":3896,"children":3897},{"style":1059},[3898],{"type":51,"value":2927},{"type":46,"tag":1052,"props":3900,"children":3901},{"class":1054,"line":2048},[3902],{"type":46,"tag":1052,"props":3903,"children":3904},{"style":1059},[3905],{"type":51,"value":1406},{"type":46,"tag":260,"props":3907,"children":3908},{},[3909,3927],{"type":46,"tag":264,"props":3910,"children":3911},{},[3912],{"type":46,"tag":268,"props":3913,"children":3914},{},[3915,3919,3923],{"type":46,"tag":272,"props":3916,"children":3917},{},[3918],{"type":51,"value":1420},{"type":46,"tag":272,"props":3920,"children":3921},{},[3922],{"type":51,"value":1425},{"type":46,"tag":272,"props":3924,"children":3925},{},[3926],{"type":51,"value":1430},{"type":46,"tag":288,"props":3928,"children":3929},{},[3930,3948,3972,3995,4015],{"type":46,"tag":268,"props":3931,"children":3932},{},[3933,3941,3945],{"type":46,"tag":295,"props":3934,"children":3935},{},[3936],{"type":46,"tag":85,"props":3937,"children":3939},{"className":3938},[],[3940],{"type":51,"value":1077},{"type":46,"tag":295,"props":3942,"children":3943},{},[3944],{"type":51,"value":1449},{"type":46,"tag":295,"props":3946,"children":3947},{},[],{"type":46,"tag":268,"props":3949,"children":3950},{},[3951,3959,3963],{"type":46,"tag":295,"props":3952,"children":3953},{},[3954],{"type":46,"tag":85,"props":3955,"children":3957},{"className":3956},[],[3958],{"type":51,"value":3664},{"type":46,"tag":295,"props":3960,"children":3961},{},[3962],{"type":51,"value":1449},{"type":46,"tag":295,"props":3964,"children":3965},{},[3966],{"type":46,"tag":85,"props":3967,"children":3969},{"className":3968},[],[3970],{"type":51,"value":3971},"{ token0Address, token1Address, chainId }",{"type":46,"tag":268,"props":3973,"children":3974},{},[3975,3983,3987],{"type":46,"tag":295,"props":3976,"children":3977},{},[3978],{"type":46,"tag":85,"props":3979,"children":3981},{"className":3980},[],[3982],{"type":51,"value":871},{"type":46,"tag":295,"props":3984,"children":3985},{},[3986],{"type":51,"value":1449},{"type":46,"tag":295,"props":3988,"children":3989},{},[3990],{"type":46,"tag":85,"props":3991,"children":3993},{"className":3992},[],[3994],{"type":51,"value":1536},{"type":46,"tag":268,"props":3996,"children":3997},{},[3998,4006,4010],{"type":46,"tag":295,"props":3999,"children":4000},{},[4001],{"type":46,"tag":85,"props":4002,"children":4004},{"className":4003},[],[4005],{"type":51,"value":3070},{"type":46,"tag":295,"props":4007,"children":4008},{},[4009],{"type":51,"value":1599},{"type":46,"tag":295,"props":4011,"children":4012},{},[4013],{"type":51,"value":4014},"If omitted, computed from reserves. Required when creating a brand-new pool.",{"type":46,"tag":268,"props":4016,"children":4017},{},[4018,4050,4054],{"type":46,"tag":295,"props":4019,"children":4020},{},[4021,4026,4027,4032,4033,4038,4039,4044,4045],{"type":46,"tag":85,"props":4022,"children":4024},{"className":4023},[],[4025],{"type":51,"value":3091},{"type":51,"value":727},{"type":46,"tag":85,"props":4028,"children":4030},{"className":4029},[],[4031],{"type":51,"value":3119},{"type":51,"value":727},{"type":46,"tag":85,"props":4034,"children":4036},{"className":4035},[],[4037],{"type":51,"value":1594},{"type":51,"value":727},{"type":46,"tag":85,"props":4040,"children":4042},{"className":4041},[],[4043],{"type":51,"value":1666},{"type":51,"value":727},{"type":46,"tag":85,"props":4046,"children":4048},{"className":4047},[],[4049],{"type":51,"value":3266},{"type":46,"tag":295,"props":4051,"children":4052},{},[4053],{"type":51,"value":1599},{"type":46,"tag":295,"props":4055,"children":4056},{},[],{"type":46,"tag":54,"props":4058,"children":4059},{},[4060,4064,4065,4071,4073,4078,4079,4084,4086,4092,4093,4099],{"type":46,"tag":77,"props":4061,"children":4062},{},[4063],{"type":51,"value":1722},{"type":51,"value":2256},{"type":46,"tag":85,"props":4066,"children":4068},{"className":4067},[],[4069],{"type":51,"value":4070},"{ requestId, independentToken, dependentToken, create: TransactionRequest, gasFee? }",{"type":51,"value":4072},". Note the create_classic response names the tokens ",{"type":46,"tag":85,"props":4074,"children":4076},{"className":4075},[],[4077],{"type":51,"value":871},{"type":51,"value":3556},{"type":46,"tag":85,"props":4080,"children":4082},{"className":4081},[],[4083],{"type":51,"value":3070},{"type":51,"value":4085}," (not ",{"type":46,"tag":85,"props":4087,"children":4089},{"className":4088},[],[4090],{"type":51,"value":4091},"token0",{"type":51,"value":3556},{"type":46,"tag":85,"props":4094,"children":4096},{"className":4095},[],[4097],{"type":51,"value":4098},"token1",{"type":51,"value":141},{"type":46,"tag":442,"props":4101,"children":4103},{"id":4102},"post-lpincrease",[4104],{"type":51,"value":4105},"POST \u002Flp\u002Fincrease",{"type":46,"tag":54,"props":4107,"children":4108},{},[4109],{"type":51,"value":4110},"Add liquidity to an existing v2\u002Fv3\u002Fv4 position. Provide one token amount; the API computes the other.",{"type":46,"tag":54,"props":4112,"children":4113},{},[4114],{"type":46,"tag":77,"props":4115,"children":4116},{},[4117],{"type":51,"value":1041},{"type":46,"tag":110,"props":4119,"children":4121},{"className":1044,"code":4120,"language":1046,"meta":115,"style":115},"{\n  \"walletAddress\": \"0x...\",\n  \"chainId\": 130,\n  \"protocol\": \"V4\",\n  \"token0Address\": \"0x0000000000000000000000000000000000000000\",\n  \"token1Address\": \"0x078D782b760474a361dDA0AF3839290b0EF57AD6\",\n  \"nftTokenId\": \"1833079\",\n  \"independentToken\": {\n    \"tokenAddress\": \"0x078D782b760474a361dDA0AF3839290b0EF57AD6\",\n    \"amount\": \"8223\"\n  },\n  \"simulateTransaction\": false\n}\n",[4122],{"type":46,"tag":85,"props":4123,"children":4124},{"__ignoreMap":115},[4125,4132,4167,4195,4230,4265,4301,4338,4361,4396,4428,4435,4458],{"type":46,"tag":1052,"props":4126,"children":4127},{"class":1054,"line":1055},[4128],{"type":46,"tag":1052,"props":4129,"children":4130},{"style":1059},[4131],{"type":51,"value":1062},{"type":46,"tag":1052,"props":4133,"children":4134},{"class":1054,"line":1065},[4135,4139,4143,4147,4151,4155,4159,4163],{"type":46,"tag":1052,"props":4136,"children":4137},{"style":1059},[4138],{"type":51,"value":1071},{"type":46,"tag":1052,"props":4140,"children":4141},{"style":1074},[4142],{"type":51,"value":1077},{"type":46,"tag":1052,"props":4144,"children":4145},{"style":1059},[4146],{"type":51,"value":803},{"type":46,"tag":1052,"props":4148,"children":4149},{"style":1059},[4150],{"type":51,"value":1086},{"type":46,"tag":1052,"props":4152,"children":4153},{"style":1059},[4154],{"type":51,"value":1091},{"type":46,"tag":1052,"props":4156,"children":4157},{"style":1094},[4158],{"type":51,"value":1097},{"type":46,"tag":1052,"props":4160,"children":4161},{"style":1059},[4162],{"type":51,"value":803},{"type":46,"tag":1052,"props":4164,"children":4165},{"style":1059},[4166],{"type":51,"value":1106},{"type":46,"tag":1052,"props":4168,"children":4169},{"class":1054,"line":1109},[4170,4174,4178,4182,4186,4191],{"type":46,"tag":1052,"props":4171,"children":4172},{"style":1059},[4173],{"type":51,"value":1071},{"type":46,"tag":1052,"props":4175,"children":4176},{"style":1074},[4177],{"type":51,"value":1156},{"type":46,"tag":1052,"props":4179,"children":4180},{"style":1059},[4181],{"type":51,"value":803},{"type":46,"tag":1052,"props":4183,"children":4184},{"style":1059},[4185],{"type":51,"value":1086},{"type":46,"tag":1052,"props":4187,"children":4188},{"style":1167},[4189],{"type":51,"value":4190}," 130",{"type":46,"tag":1052,"props":4192,"children":4193},{"style":1059},[4194],{"type":51,"value":1106},{"type":46,"tag":1052,"props":4196,"children":4197},{"class":1054,"line":1146},[4198,4202,4206,4210,4214,4218,4222,4226],{"type":46,"tag":1052,"props":4199,"children":4200},{"style":1059},[4201],{"type":51,"value":1071},{"type":46,"tag":1052,"props":4203,"children":4204},{"style":1074},[4205],{"type":51,"value":1119},{"type":46,"tag":1052,"props":4207,"children":4208},{"style":1059},[4209],{"type":51,"value":803},{"type":46,"tag":1052,"props":4211,"children":4212},{"style":1059},[4213],{"type":51,"value":1086},{"type":46,"tag":1052,"props":4215,"children":4216},{"style":1059},[4217],{"type":51,"value":1091},{"type":46,"tag":1052,"props":4219,"children":4220},{"style":1094},[4221],{"type":51,"value":553},{"type":46,"tag":1052,"props":4223,"children":4224},{"style":1059},[4225],{"type":51,"value":803},{"type":46,"tag":1052,"props":4227,"children":4228},{"style":1059},[4229],{"type":51,"value":1106},{"type":46,"tag":1052,"props":4231,"children":4232},{"class":1054,"line":1177},[4233,4237,4241,4245,4249,4253,4257,4261],{"type":46,"tag":1052,"props":4234,"children":4235},{"style":1059},[4236],{"type":51,"value":1071},{"type":46,"tag":1052,"props":4238,"children":4239},{"style":1074},[4240],{"type":51,"value":2376},{"type":46,"tag":1052,"props":4242,"children":4243},{"style":1059},[4244],{"type":51,"value":803},{"type":46,"tag":1052,"props":4246,"children":4247},{"style":1059},[4248],{"type":51,"value":1086},{"type":46,"tag":1052,"props":4250,"children":4251},{"style":1059},[4252],{"type":51,"value":1091},{"type":46,"tag":1052,"props":4254,"children":4255},{"style":1094},[4256],{"type":51,"value":648},{"type":46,"tag":1052,"props":4258,"children":4259},{"style":1059},[4260],{"type":51,"value":803},{"type":46,"tag":1052,"props":4262,"children":4263},{"style":1059},[4264],{"type":51,"value":1106},{"type":46,"tag":1052,"props":4266,"children":4267},{"class":1054,"line":1203},[4268,4272,4276,4280,4284,4288,4293,4297],{"type":46,"tag":1052,"props":4269,"children":4270},{"style":1059},[4271],{"type":51,"value":1071},{"type":46,"tag":1052,"props":4273,"children":4274},{"style":1074},[4275],{"type":51,"value":2384},{"type":46,"tag":1052,"props":4277,"children":4278},{"style":1059},[4279],{"type":51,"value":803},{"type":46,"tag":1052,"props":4281,"children":4282},{"style":1059},[4283],{"type":51,"value":1086},{"type":46,"tag":1052,"props":4285,"children":4286},{"style":1059},[4287],{"type":51,"value":1091},{"type":46,"tag":1052,"props":4289,"children":4290},{"style":1094},[4291],{"type":51,"value":4292},"0x078D782b760474a361dDA0AF3839290b0EF57AD6",{"type":46,"tag":1052,"props":4294,"children":4295},{"style":1059},[4296],{"type":51,"value":803},{"type":46,"tag":1052,"props":4298,"children":4299},{"style":1059},[4300],{"type":51,"value":1106},{"type":46,"tag":1052,"props":4302,"children":4303},{"class":1054,"line":1282},[4304,4308,4313,4317,4321,4325,4330,4334],{"type":46,"tag":1052,"props":4305,"children":4306},{"style":1059},[4307],{"type":51,"value":1071},{"type":46,"tag":1052,"props":4309,"children":4310},{"style":1074},[4311],{"type":51,"value":4312},"nftTokenId",{"type":46,"tag":1052,"props":4314,"children":4315},{"style":1059},[4316],{"type":51,"value":803},{"type":46,"tag":1052,"props":4318,"children":4319},{"style":1059},[4320],{"type":51,"value":1086},{"type":46,"tag":1052,"props":4322,"children":4323},{"style":1059},[4324],{"type":51,"value":1091},{"type":46,"tag":1052,"props":4326,"children":4327},{"style":1094},[4328],{"type":51,"value":4329},"1833079",{"type":46,"tag":1052,"props":4331,"children":4332},{"style":1059},[4333],{"type":51,"value":803},{"type":46,"tag":1052,"props":4335,"children":4336},{"style":1059},[4337],{"type":51,"value":1106},{"type":46,"tag":1052,"props":4339,"children":4340},{"class":1054,"line":1356},[4341,4345,4349,4353,4357],{"type":46,"tag":1052,"props":4342,"children":4343},{"style":1059},[4344],{"type":51,"value":1071},{"type":46,"tag":1052,"props":4346,"children":4347},{"style":1074},[4348],{"type":51,"value":871},{"type":46,"tag":1052,"props":4350,"children":4351},{"style":1059},[4352],{"type":51,"value":803},{"type":46,"tag":1052,"props":4354,"children":4355},{"style":1059},[4356],{"type":51,"value":1086},{"type":46,"tag":1052,"props":4358,"children":4359},{"style":1059},[4360],{"type":51,"value":1749},{"type":46,"tag":1052,"props":4362,"children":4363},{"class":1054,"line":1365},[4364,4368,4372,4376,4380,4384,4388,4392],{"type":46,"tag":1052,"props":4365,"children":4366},{"style":1059},[4367],{"type":51,"value":2568},{"type":46,"tag":1052,"props":4369,"children":4370},{"style":1216},[4371],{"type":51,"value":1219},{"type":46,"tag":1052,"props":4373,"children":4374},{"style":1059},[4375],{"type":51,"value":803},{"type":46,"tag":1052,"props":4377,"children":4378},{"style":1059},[4379],{"type":51,"value":1086},{"type":46,"tag":1052,"props":4381,"children":4382},{"style":1059},[4383],{"type":51,"value":1091},{"type":46,"tag":1052,"props":4385,"children":4386},{"style":1094},[4387],{"type":51,"value":4292},{"type":46,"tag":1052,"props":4389,"children":4390},{"style":1059},[4391],{"type":51,"value":803},{"type":46,"tag":1052,"props":4393,"children":4394},{"style":1059},[4395],{"type":51,"value":1106},{"type":46,"tag":1052,"props":4397,"children":4398},{"class":1054,"line":1400},[4399,4403,4407,4411,4415,4419,4424],{"type":46,"tag":1052,"props":4400,"children":4401},{"style":1059},[4402],{"type":51,"value":2568},{"type":46,"tag":1052,"props":4404,"children":4405},{"style":1216},[4406],{"type":51,"value":1253},{"type":46,"tag":1052,"props":4408,"children":4409},{"style":1059},[4410],{"type":51,"value":803},{"type":46,"tag":1052,"props":4412,"children":4413},{"style":1059},[4414],{"type":51,"value":1086},{"type":46,"tag":1052,"props":4416,"children":4417},{"style":1059},[4418],{"type":51,"value":1091},{"type":46,"tag":1052,"props":4420,"children":4421},{"style":1094},[4422],{"type":51,"value":4423},"8223",{"type":46,"tag":1052,"props":4425,"children":4426},{"style":1059},[4427],{"type":51,"value":1397},{"type":46,"tag":1052,"props":4429,"children":4430},{"class":1054,"line":1947},[4431],{"type":46,"tag":1052,"props":4432,"children":4433},{"style":1059},[4434],{"type":51,"value":2673},{"type":46,"tag":1052,"props":4436,"children":4437},{"class":1054,"line":1969},[4438,4442,4446,4450,4454],{"type":46,"tag":1052,"props":4439,"children":4440},{"style":1059},[4441],{"type":51,"value":1071},{"type":46,"tag":1052,"props":4443,"children":4444},{"style":1074},[4445],{"type":51,"value":1594},{"type":46,"tag":1052,"props":4447,"children":4448},{"style":1059},[4449],{"type":51,"value":803},{"type":46,"tag":1052,"props":4451,"children":4452},{"style":1059},[4453],{"type":51,"value":1086},{"type":46,"tag":1052,"props":4455,"children":4456},{"style":1059},[4457],{"type":51,"value":2927},{"type":46,"tag":1052,"props":4459,"children":4460},{"class":1054,"line":2048},[4461],{"type":46,"tag":1052,"props":4462,"children":4463},{"style":1059},[4464],{"type":51,"value":1406},{"type":46,"tag":260,"props":4466,"children":4467},{},[4468,4486],{"type":46,"tag":264,"props":4469,"children":4470},{},[4471],{"type":46,"tag":268,"props":4472,"children":4473},{},[4474,4478,4482],{"type":46,"tag":272,"props":4475,"children":4476},{},[4477],{"type":51,"value":1420},{"type":46,"tag":272,"props":4479,"children":4480},{},[4481],{"type":51,"value":1425},{"type":46,"tag":272,"props":4483,"children":4484},{},[4485],{"type":51,"value":1430},{"type":46,"tag":288,"props":4487,"children":4488},{},[4489,4550,4571,4607,4653],{"type":46,"tag":268,"props":4490,"children":4491},{},[4492,4530,4534],{"type":46,"tag":295,"props":4493,"children":4494},{},[4495,4500,4501,4506,4507,4512,4513,4518,4519,4524,4525],{"type":46,"tag":85,"props":4496,"children":4498},{"className":4497},[],[4499],{"type":51,"value":1077},{"type":51,"value":727},{"type":46,"tag":85,"props":4502,"children":4504},{"className":4503},[],[4505],{"type":51,"value":1156},{"type":51,"value":727},{"type":46,"tag":85,"props":4508,"children":4510},{"className":4509},[],[4511],{"type":51,"value":1119},{"type":51,"value":727},{"type":46,"tag":85,"props":4514,"children":4516},{"className":4515},[],[4517],{"type":51,"value":2376},{"type":51,"value":727},{"type":46,"tag":85,"props":4520,"children":4522},{"className":4521},[],[4523],{"type":51,"value":2384},{"type":51,"value":727},{"type":46,"tag":85,"props":4526,"children":4528},{"className":4527},[],[4529],{"type":51,"value":871},{"type":46,"tag":295,"props":4531,"children":4532},{},[4533],{"type":51,"value":1449},{"type":46,"tag":295,"props":4535,"children":4536},{},[4537,4542,4543,4548],{"type":46,"tag":85,"props":4538,"children":4540},{"className":4539},[],[4541],{"type":51,"value":2376},{"type":51,"value":2213},{"type":46,"tag":85,"props":4544,"children":4546},{"className":4545},[],[4547],{"type":51,"value":2384},{"type":51,"value":4549}," must match the order in the existing position",{"type":46,"tag":268,"props":4551,"children":4552},{},[4553,4561,4566],{"type":46,"tag":295,"props":4554,"children":4555},{},[4556],{"type":46,"tag":85,"props":4557,"children":4559},{"className":4558},[],[4560],{"type":51,"value":4312},{"type":46,"tag":295,"props":4562,"children":4563},{},[4564],{"type":51,"value":4565},"v3\u002Fv4",{"type":46,"tag":295,"props":4567,"children":4568},{},[4569],{"type":51,"value":4570},"NFT id identifying the position",{"type":46,"tag":268,"props":4572,"children":4573},{},[4574,4600,4604],{"type":46,"tag":295,"props":4575,"children":4576},{},[4577,4582,4583,4588,4589,4594,4595],{"type":46,"tag":85,"props":4578,"children":4580},{"className":4579},[],[4581],{"type":51,"value":3091},{"type":51,"value":727},{"type":46,"tag":85,"props":4584,"children":4586},{"className":4585},[],[4587],{"type":51,"value":3119},{"type":51,"value":727},{"type":46,"tag":85,"props":4590,"children":4592},{"className":4591},[],[4593],{"type":51,"value":1594},{"type":51,"value":727},{"type":46,"tag":85,"props":4596,"children":4598},{"className":4597},[],[4599],{"type":51,"value":1666},{"type":46,"tag":295,"props":4601,"children":4602},{},[4603],{"type":51,"value":1599},{"type":46,"tag":295,"props":4605,"children":4606},{},[],{"type":46,"tag":268,"props":4608,"children":4609},{},[4610,4625,4629],{"type":46,"tag":295,"props":4611,"children":4612},{},[4613,4619,4620],{"type":46,"tag":85,"props":4614,"children":4616},{"className":4615},[],[4617],{"type":51,"value":4618},"v4BatchPermitData",{"type":51,"value":3205},{"type":46,"tag":85,"props":4621,"children":4623},{"className":4622},[],[4624],{"type":51,"value":3211},{"type":46,"tag":295,"props":4626,"children":4627},{},[4628],{"type":51,"value":1599},{"type":46,"tag":295,"props":4630,"children":4631},{},[4632,4633,4638,4640,4645,4647,4652],{"type":51,"value":3220},{"type":46,"tag":85,"props":4634,"children":4636},{"className":4635},[],[4637],{"type":51,"value":308},{"type":51,"value":4639}," (note: increase uses ",{"type":46,"tag":85,"props":4641,"children":4643},{"className":4642},[],[4644],{"type":51,"value":4618},{"type":51,"value":4646},", create uses ",{"type":46,"tag":85,"props":4648,"children":4650},{"className":4649},[],[4651],{"type":51,"value":3203},{"type":51,"value":768},{"type":46,"tag":268,"props":4654,"children":4655},{},[4656,4677,4681],{"type":46,"tag":295,"props":4657,"children":4658},{},[4659,4664,4665,4670,4671],{"type":46,"tag":85,"props":4660,"children":4662},{"className":4661},[],[4663],{"type":51,"value":3245},{"type":51,"value":727},{"type":46,"tag":85,"props":4666,"children":4668},{"className":4667},[],[4669],{"type":51,"value":3266},{"type":51,"value":727},{"type":46,"tag":85,"props":4672,"children":4674},{"className":4673},[],[4675],{"type":51,"value":4676},"permissioned",{"type":46,"tag":295,"props":4678,"children":4679},{},[4680],{"type":51,"value":1599},{"type":46,"tag":295,"props":4682,"children":4683},{},[4684,4689,4691,4696],{"type":46,"tag":85,"props":4685,"children":4687},{"className":4686},[],[4688],{"type":51,"value":3245},{"type":51,"value":4690}," when one side is native ETH; ",{"type":46,"tag":85,"props":4692,"children":4694},{"className":4693},[],[4695],{"type":51,"value":4676},{"type":51,"value":4697}," routes to the permissioned PositionManager (KYC-gated pools)",{"type":46,"tag":54,"props":4699,"children":4700},{},[4701,4705,4706,4712],{"type":46,"tag":77,"props":4702,"children":4703},{},[4704],{"type":51,"value":1722},{"type":51,"value":2256},{"type":46,"tag":85,"props":4707,"children":4709},{"className":4708},[],[4710],{"type":51,"value":4711},"{ requestId, token0, token1, increase: TransactionRequest, gasFee?, slippage? }",{"type":51,"value":650},{"type":46,"tag":143,"props":4714,"children":4715},{},[4716],{"type":46,"tag":54,"props":4717,"children":4718},{},[4719,4724,4726,4731,4733,4739],{"type":46,"tag":77,"props":4720,"children":4721},{},[4722],{"type":51,"value":4723},"Native ETH",{"type":51,"value":4725},": use ",{"type":46,"tag":85,"props":4727,"children":4729},{"className":4728},[],[4730],{"type":51,"value":648},{"type":51,"value":4732},". The API generates a multicall including ",{"type":46,"tag":85,"props":4734,"children":4736},{"className":4735},[],[4737],{"type":51,"value":4738},"refundETH",{"type":51,"value":4740}," to return any excess.",{"type":46,"tag":442,"props":4742,"children":4744},{"id":4743},"post-lpdecrease",[4745],{"type":51,"value":4746},"POST \u002Flp\u002Fdecrease",{"type":46,"tag":54,"props":4748,"children":4749},{},[4750],{"type":51,"value":4751},"Remove a percentage of liquidity from a v2\u002Fv3\u002Fv4 position.",{"type":46,"tag":54,"props":4753,"children":4754},{},[4755],{"type":46,"tag":77,"props":4756,"children":4757},{},[4758],{"type":51,"value":1041},{"type":46,"tag":110,"props":4760,"children":4762},{"className":1044,"code":4761,"language":1046,"meta":115,"style":115},"{\n  \"walletAddress\": \"0x...\",\n  \"chainId\": 130,\n  \"protocol\": \"V4\",\n  \"token0Address\": \"0x0000000000000000000000000000000000000000\",\n  \"token1Address\": \"0x078D782b760474a361dDA0AF3839290b0EF57AD6\",\n  \"liquidityPercentageToDecrease\": 25,\n  \"nftTokenId\": \"1833079\",\n  \"simulateTransaction\": false\n}\n",[4763],{"type":46,"tag":85,"props":4764,"children":4765},{"__ignoreMap":115},[4766,4773,4808,4835,4870,4905,4940,4968,5003,5026],{"type":46,"tag":1052,"props":4767,"children":4768},{"class":1054,"line":1055},[4769],{"type":46,"tag":1052,"props":4770,"children":4771},{"style":1059},[4772],{"type":51,"value":1062},{"type":46,"tag":1052,"props":4774,"children":4775},{"class":1054,"line":1065},[4776,4780,4784,4788,4792,4796,4800,4804],{"type":46,"tag":1052,"props":4777,"children":4778},{"style":1059},[4779],{"type":51,"value":1071},{"type":46,"tag":1052,"props":4781,"children":4782},{"style":1074},[4783],{"type":51,"value":1077},{"type":46,"tag":1052,"props":4785,"children":4786},{"style":1059},[4787],{"type":51,"value":803},{"type":46,"tag":1052,"props":4789,"children":4790},{"style":1059},[4791],{"type":51,"value":1086},{"type":46,"tag":1052,"props":4793,"children":4794},{"style":1059},[4795],{"type":51,"value":1091},{"type":46,"tag":1052,"props":4797,"children":4798},{"style":1094},[4799],{"type":51,"value":1097},{"type":46,"tag":1052,"props":4801,"children":4802},{"style":1059},[4803],{"type":51,"value":803},{"type":46,"tag":1052,"props":4805,"children":4806},{"style":1059},[4807],{"type":51,"value":1106},{"type":46,"tag":1052,"props":4809,"children":4810},{"class":1054,"line":1109},[4811,4815,4819,4823,4827,4831],{"type":46,"tag":1052,"props":4812,"children":4813},{"style":1059},[4814],{"type":51,"value":1071},{"type":46,"tag":1052,"props":4816,"children":4817},{"style":1074},[4818],{"type":51,"value":1156},{"type":46,"tag":1052,"props":4820,"children":4821},{"style":1059},[4822],{"type":51,"value":803},{"type":46,"tag":1052,"props":4824,"children":4825},{"style":1059},[4826],{"type":51,"value":1086},{"type":46,"tag":1052,"props":4828,"children":4829},{"style":1167},[4830],{"type":51,"value":4190},{"type":46,"tag":1052,"props":4832,"children":4833},{"style":1059},[4834],{"type":51,"value":1106},{"type":46,"tag":1052,"props":4836,"children":4837},{"class":1054,"line":1146},[4838,4842,4846,4850,4854,4858,4862,4866],{"type":46,"tag":1052,"props":4839,"children":4840},{"style":1059},[4841],{"type":51,"value":1071},{"type":46,"tag":1052,"props":4843,"children":4844},{"style":1074},[4845],{"type":51,"value":1119},{"type":46,"tag":1052,"props":4847,"children":4848},{"style":1059},[4849],{"type":51,"value":803},{"type":46,"tag":1052,"props":4851,"children":4852},{"style":1059},[4853],{"type":51,"value":1086},{"type":46,"tag":1052,"props":4855,"children":4856},{"style":1059},[4857],{"type":51,"value":1091},{"type":46,"tag":1052,"props":4859,"children":4860},{"style":1094},[4861],{"type":51,"value":553},{"type":46,"tag":1052,"props":4863,"children":4864},{"style":1059},[4865],{"type":51,"value":803},{"type":46,"tag":1052,"props":4867,"children":4868},{"style":1059},[4869],{"type":51,"value":1106},{"type":46,"tag":1052,"props":4871,"children":4872},{"class":1054,"line":1177},[4873,4877,4881,4885,4889,4893,4897,4901],{"type":46,"tag":1052,"props":4874,"children":4875},{"style":1059},[4876],{"type":51,"value":1071},{"type":46,"tag":1052,"props":4878,"children":4879},{"style":1074},[4880],{"type":51,"value":2376},{"type":46,"tag":1052,"props":4882,"children":4883},{"style":1059},[4884],{"type":51,"value":803},{"type":46,"tag":1052,"props":4886,"children":4887},{"style":1059},[4888],{"type":51,"value":1086},{"type":46,"tag":1052,"props":4890,"children":4891},{"style":1059},[4892],{"type":51,"value":1091},{"type":46,"tag":1052,"props":4894,"children":4895},{"style":1094},[4896],{"type":51,"value":648},{"type":46,"tag":1052,"props":4898,"children":4899},{"style":1059},[4900],{"type":51,"value":803},{"type":46,"tag":1052,"props":4902,"children":4903},{"style":1059},[4904],{"type":51,"value":1106},{"type":46,"tag":1052,"props":4906,"children":4907},{"class":1054,"line":1203},[4908,4912,4916,4920,4924,4928,4932,4936],{"type":46,"tag":1052,"props":4909,"children":4910},{"style":1059},[4911],{"type":51,"value":1071},{"type":46,"tag":1052,"props":4913,"children":4914},{"style":1074},[4915],{"type":51,"value":2384},{"type":46,"tag":1052,"props":4917,"children":4918},{"style":1059},[4919],{"type":51,"value":803},{"type":46,"tag":1052,"props":4921,"children":4922},{"style":1059},[4923],{"type":51,"value":1086},{"type":46,"tag":1052,"props":4925,"children":4926},{"style":1059},[4927],{"type":51,"value":1091},{"type":46,"tag":1052,"props":4929,"children":4930},{"style":1094},[4931],{"type":51,"value":4292},{"type":46,"tag":1052,"props":4933,"children":4934},{"style":1059},[4935],{"type":51,"value":803},{"type":46,"tag":1052,"props":4937,"children":4938},{"style":1059},[4939],{"type":51,"value":1106},{"type":46,"tag":1052,"props":4941,"children":4942},{"class":1054,"line":1282},[4943,4947,4951,4955,4959,4964],{"type":46,"tag":1052,"props":4944,"children":4945},{"style":1059},[4946],{"type":51,"value":1071},{"type":46,"tag":1052,"props":4948,"children":4949},{"style":1074},[4950],{"type":51,"value":697},{"type":46,"tag":1052,"props":4952,"children":4953},{"style":1059},[4954],{"type":51,"value":803},{"type":46,"tag":1052,"props":4956,"children":4957},{"style":1059},[4958],{"type":51,"value":1086},{"type":46,"tag":1052,"props":4960,"children":4961},{"style":1167},[4962],{"type":51,"value":4963}," 25",{"type":46,"tag":1052,"props":4965,"children":4966},{"style":1059},[4967],{"type":51,"value":1106},{"type":46,"tag":1052,"props":4969,"children":4970},{"class":1054,"line":1356},[4971,4975,4979,4983,4987,4991,4995,4999],{"type":46,"tag":1052,"props":4972,"children":4973},{"style":1059},[4974],{"type":51,"value":1071},{"type":46,"tag":1052,"props":4976,"children":4977},{"style":1074},[4978],{"type":51,"value":4312},{"type":46,"tag":1052,"props":4980,"children":4981},{"style":1059},[4982],{"type":51,"value":803},{"type":46,"tag":1052,"props":4984,"children":4985},{"style":1059},[4986],{"type":51,"value":1086},{"type":46,"tag":1052,"props":4988,"children":4989},{"style":1059},[4990],{"type":51,"value":1091},{"type":46,"tag":1052,"props":4992,"children":4993},{"style":1094},[4994],{"type":51,"value":4329},{"type":46,"tag":1052,"props":4996,"children":4997},{"style":1059},[4998],{"type":51,"value":803},{"type":46,"tag":1052,"props":5000,"children":5001},{"style":1059},[5002],{"type":51,"value":1106},{"type":46,"tag":1052,"props":5004,"children":5005},{"class":1054,"line":1365},[5006,5010,5014,5018,5022],{"type":46,"tag":1052,"props":5007,"children":5008},{"style":1059},[5009],{"type":51,"value":1071},{"type":46,"tag":1052,"props":5011,"children":5012},{"style":1074},[5013],{"type":51,"value":1594},{"type":46,"tag":1052,"props":5015,"children":5016},{"style":1059},[5017],{"type":51,"value":803},{"type":46,"tag":1052,"props":5019,"children":5020},{"style":1059},[5021],{"type":51,"value":1086},{"type":46,"tag":1052,"props":5023,"children":5024},{"style":1059},[5025],{"type":51,"value":2927},{"type":46,"tag":1052,"props":5027,"children":5028},{"class":1054,"line":1400},[5029],{"type":46,"tag":1052,"props":5030,"children":5031},{"style":1059},[5032],{"type":51,"value":1406},{"type":46,"tag":260,"props":5034,"children":5035},{},[5036,5054],{"type":46,"tag":264,"props":5037,"children":5038},{},[5039],{"type":46,"tag":268,"props":5040,"children":5041},{},[5042,5046,5050],{"type":46,"tag":272,"props":5043,"children":5044},{},[5045],{"type":51,"value":1420},{"type":46,"tag":272,"props":5047,"children":5048},{},[5049],{"type":51,"value":1425},{"type":46,"tag":272,"props":5051,"children":5052},{},[5053],{"type":51,"value":1430},{"type":46,"tag":288,"props":5055,"children":5056},{},[5057,5107,5126,5162,5182],{"type":46,"tag":268,"props":5058,"children":5059},{},[5060,5098,5102],{"type":46,"tag":295,"props":5061,"children":5062},{},[5063,5068,5069,5074,5075,5080,5081,5086,5087,5092,5093],{"type":46,"tag":85,"props":5064,"children":5066},{"className":5065},[],[5067],{"type":51,"value":1077},{"type":51,"value":727},{"type":46,"tag":85,"props":5070,"children":5072},{"className":5071},[],[5073],{"type":51,"value":1156},{"type":51,"value":727},{"type":46,"tag":85,"props":5076,"children":5078},{"className":5077},[],[5079],{"type":51,"value":1119},{"type":51,"value":727},{"type":46,"tag":85,"props":5082,"children":5084},{"className":5083},[],[5085],{"type":51,"value":2376},{"type":51,"value":727},{"type":46,"tag":85,"props":5088,"children":5090},{"className":5089},[],[5091],{"type":51,"value":2384},{"type":51,"value":727},{"type":46,"tag":85,"props":5094,"children":5096},{"className":5095},[],[5097],{"type":51,"value":697},{"type":46,"tag":295,"props":5099,"children":5100},{},[5101],{"type":51,"value":1449},{"type":46,"tag":295,"props":5103,"children":5104},{},[5105],{"type":51,"value":5106},"Percentage is an integer 1-100",{"type":46,"tag":268,"props":5108,"children":5109},{},[5110,5118,5122],{"type":46,"tag":295,"props":5111,"children":5112},{},[5113],{"type":46,"tag":85,"props":5114,"children":5116},{"className":5115},[],[5117],{"type":51,"value":4312},{"type":46,"tag":295,"props":5119,"children":5120},{},[5121],{"type":51,"value":4565},{"type":46,"tag":295,"props":5123,"children":5124},{},[5125],{"type":51,"value":4570},{"type":46,"tag":268,"props":5127,"children":5128},{},[5129,5138,5142],{"type":46,"tag":295,"props":5130,"children":5131},{},[5132],{"type":46,"tag":85,"props":5133,"children":5135},{"className":5134},[],[5136],{"type":51,"value":5137},"withdrawAsWeth",{"type":46,"tag":295,"props":5139,"children":5140},{},[5141],{"type":51,"value":1599},{"type":46,"tag":295,"props":5143,"children":5144},{},[5145,5147,5152,5154,5160],{"type":51,"value":5146},"Applies to V2 and V3 (ignored on V4). Default \u002F ",{"type":46,"tag":85,"props":5148,"children":5150},{"className":5149},[],[5151],{"type":51,"value":1652},{"type":51,"value":5153}," keeps WETH; ",{"type":46,"tag":85,"props":5155,"children":5157},{"className":5156},[],[5158],{"type":51,"value":5159},"false",{"type":51,"value":5161}," unwraps WETH to native ETH.",{"type":46,"tag":268,"props":5163,"children":5164},{},[5165,5173,5177],{"type":46,"tag":295,"props":5166,"children":5167},{},[5168],{"type":46,"tag":85,"props":5169,"children":5171},{"className":5170},[],[5172],{"type":51,"value":4676},{"type":46,"tag":295,"props":5174,"children":5175},{},[5176],{"type":51,"value":1599},{"type":46,"tag":295,"props":5178,"children":5179},{},[5180],{"type":51,"value":5181},"Routes to the permissioned PositionManager (KYC-gated pools).",{"type":46,"tag":268,"props":5183,"children":5184},{},[5185,5211,5215],{"type":46,"tag":295,"props":5186,"children":5187},{},[5188,5193,5194,5199,5200,5205,5206],{"type":46,"tag":85,"props":5189,"children":5191},{"className":5190},[],[5192],{"type":51,"value":3091},{"type":51,"value":727},{"type":46,"tag":85,"props":5195,"children":5197},{"className":5196},[],[5198],{"type":51,"value":3119},{"type":51,"value":727},{"type":46,"tag":85,"props":5201,"children":5203},{"className":5202},[],[5204],{"type":51,"value":1594},{"type":51,"value":727},{"type":46,"tag":85,"props":5207,"children":5209},{"className":5208},[],[5210],{"type":51,"value":1666},{"type":46,"tag":295,"props":5212,"children":5213},{},[5214],{"type":51,"value":1599},{"type":46,"tag":295,"props":5216,"children":5217},{},[],{"type":46,"tag":54,"props":5219,"children":5220},{},[5221,5225,5226,5232],{"type":46,"tag":77,"props":5222,"children":5223},{},[5224],{"type":51,"value":1722},{"type":51,"value":2256},{"type":46,"tag":85,"props":5227,"children":5229},{"className":5228},[],[5230],{"type":51,"value":5231},"{ requestId, token0, token1, decrease: TransactionRequest, gasFee? }",{"type":51,"value":650},{"type":46,"tag":143,"props":5234,"children":5235},{},[5236],{"type":46,"tag":54,"props":5237,"children":5238},{},[5239,5244,5246,5252,5254,5259,5261,5266,5267,5272],{"type":46,"tag":77,"props":5240,"children":5241},{},[5242],{"type":51,"value":5243},"v3 fee collection on decrease",{"type":51,"value":5245},": for v3, the returned ",{"type":46,"tag":85,"props":5247,"children":5249},{"className":5248},[],[5250],{"type":51,"value":5251},"decrease",{"type":51,"value":5253}," calldata bundles uncollected fees into the withdrawal automatically, so you do not need to call ",{"type":46,"tag":85,"props":5255,"children":5257},{"className":5256},[],[5258],{"type":51,"value":416},{"type":51,"value":5260}," separately. Note the response ",{"type":46,"tag":85,"props":5262,"children":5264},{"className":5263},[],[5265],{"type":51,"value":4091},{"type":51,"value":3556},{"type":46,"tag":85,"props":5268,"children":5270},{"className":5269},[],[5271],{"type":51,"value":4098},{"type":51,"value":5273}," amounts reflect only the pro-rata liquidity removed — the swept fees are encoded in the calldata, not added to those response amounts.",{"type":46,"tag":442,"props":5275,"children":5277},{"id":5276},"post-lpclaim_fees",[5278],{"type":51,"value":5279},"POST \u002Flp\u002Fclaim_fees",{"type":46,"tag":54,"props":5281,"children":5282},{},[5283],{"type":51,"value":5284},"Collect accumulated trading fees from a v3 or v4 position. Not available for v2.",{"type":46,"tag":54,"props":5286,"children":5287},{},[5288],{"type":46,"tag":77,"props":5289,"children":5290},{},[5291],{"type":51,"value":1041},{"type":46,"tag":110,"props":5293,"children":5295},{"className":1044,"code":5294,"language":1046,"meta":115,"style":115},"{\n  \"protocol\": \"V4\",\n  \"walletAddress\": \"0x...\",\n  \"chainId\": 130,\n  \"tokenId\": \"1833079\",\n  \"simulateTransaction\": false\n}\n",[5296],{"type":46,"tag":85,"props":5297,"children":5298},{"__ignoreMap":115},[5299,5306,5341,5376,5403,5439,5462],{"type":46,"tag":1052,"props":5300,"children":5301},{"class":1054,"line":1055},[5302],{"type":46,"tag":1052,"props":5303,"children":5304},{"style":1059},[5305],{"type":51,"value":1062},{"type":46,"tag":1052,"props":5307,"children":5308},{"class":1054,"line":1065},[5309,5313,5317,5321,5325,5329,5333,5337],{"type":46,"tag":1052,"props":5310,"children":5311},{"style":1059},[5312],{"type":51,"value":1071},{"type":46,"tag":1052,"props":5314,"children":5315},{"style":1074},[5316],{"type":51,"value":1119},{"type":46,"tag":1052,"props":5318,"children":5319},{"style":1059},[5320],{"type":51,"value":803},{"type":46,"tag":1052,"props":5322,"children":5323},{"style":1059},[5324],{"type":51,"value":1086},{"type":46,"tag":1052,"props":5326,"children":5327},{"style":1059},[5328],{"type":51,"value":1091},{"type":46,"tag":1052,"props":5330,"children":5331},{"style":1094},[5332],{"type":51,"value":553},{"type":46,"tag":1052,"props":5334,"children":5335},{"style":1059},[5336],{"type":51,"value":803},{"type":46,"tag":1052,"props":5338,"children":5339},{"style":1059},[5340],{"type":51,"value":1106},{"type":46,"tag":1052,"props":5342,"children":5343},{"class":1054,"line":1109},[5344,5348,5352,5356,5360,5364,5368,5372],{"type":46,"tag":1052,"props":5345,"children":5346},{"style":1059},[5347],{"type":51,"value":1071},{"type":46,"tag":1052,"props":5349,"children":5350},{"style":1074},[5351],{"type":51,"value":1077},{"type":46,"tag":1052,"props":5353,"children":5354},{"style":1059},[5355],{"type":51,"value":803},{"type":46,"tag":1052,"props":5357,"children":5358},{"style":1059},[5359],{"type":51,"value":1086},{"type":46,"tag":1052,"props":5361,"children":5362},{"style":1059},[5363],{"type":51,"value":1091},{"type":46,"tag":1052,"props":5365,"children":5366},{"style":1094},[5367],{"type":51,"value":1097},{"type":46,"tag":1052,"props":5369,"children":5370},{"style":1059},[5371],{"type":51,"value":803},{"type":46,"tag":1052,"props":5373,"children":5374},{"style":1059},[5375],{"type":51,"value":1106},{"type":46,"tag":1052,"props":5377,"children":5378},{"class":1054,"line":1146},[5379,5383,5387,5391,5395,5399],{"type":46,"tag":1052,"props":5380,"children":5381},{"style":1059},[5382],{"type":51,"value":1071},{"type":46,"tag":1052,"props":5384,"children":5385},{"style":1074},[5386],{"type":51,"value":1156},{"type":46,"tag":1052,"props":5388,"children":5389},{"style":1059},[5390],{"type":51,"value":803},{"type":46,"tag":1052,"props":5392,"children":5393},{"style":1059},[5394],{"type":51,"value":1086},{"type":46,"tag":1052,"props":5396,"children":5397},{"style":1167},[5398],{"type":51,"value":4190},{"type":46,"tag":1052,"props":5400,"children":5401},{"style":1059},[5402],{"type":51,"value":1106},{"type":46,"tag":1052,"props":5404,"children":5405},{"class":1054,"line":1177},[5406,5410,5415,5419,5423,5427,5431,5435],{"type":46,"tag":1052,"props":5407,"children":5408},{"style":1059},[5409],{"type":51,"value":1071},{"type":46,"tag":1052,"props":5411,"children":5412},{"style":1074},[5413],{"type":51,"value":5414},"tokenId",{"type":46,"tag":1052,"props":5416,"children":5417},{"style":1059},[5418],{"type":51,"value":803},{"type":46,"tag":1052,"props":5420,"children":5421},{"style":1059},[5422],{"type":51,"value":1086},{"type":46,"tag":1052,"props":5424,"children":5425},{"style":1059},[5426],{"type":51,"value":1091},{"type":46,"tag":1052,"props":5428,"children":5429},{"style":1094},[5430],{"type":51,"value":4329},{"type":46,"tag":1052,"props":5432,"children":5433},{"style":1059},[5434],{"type":51,"value":803},{"type":46,"tag":1052,"props":5436,"children":5437},{"style":1059},[5438],{"type":51,"value":1106},{"type":46,"tag":1052,"props":5440,"children":5441},{"class":1054,"line":1203},[5442,5446,5450,5454,5458],{"type":46,"tag":1052,"props":5443,"children":5444},{"style":1059},[5445],{"type":51,"value":1071},{"type":46,"tag":1052,"props":5447,"children":5448},{"style":1074},[5449],{"type":51,"value":1594},{"type":46,"tag":1052,"props":5451,"children":5452},{"style":1059},[5453],{"type":51,"value":803},{"type":46,"tag":1052,"props":5455,"children":5456},{"style":1059},[5457],{"type":51,"value":1086},{"type":46,"tag":1052,"props":5459,"children":5460},{"style":1059},[5461],{"type":51,"value":2927},{"type":46,"tag":1052,"props":5463,"children":5464},{"class":1054,"line":1282},[5465],{"type":46,"tag":1052,"props":5466,"children":5467},{"style":1059},[5468],{"type":51,"value":1406},{"type":46,"tag":260,"props":5470,"children":5471},{},[5472,5490],{"type":46,"tag":264,"props":5473,"children":5474},{},[5475],{"type":46,"tag":268,"props":5476,"children":5477},{},[5478,5482,5486],{"type":46,"tag":272,"props":5479,"children":5480},{},[5481],{"type":51,"value":1420},{"type":46,"tag":272,"props":5483,"children":5484},{},[5485],{"type":51,"value":1425},{"type":46,"tag":272,"props":5487,"children":5488},{},[5489],{"type":51,"value":1430},{"type":46,"tag":288,"props":5491,"children":5492},{},[5493,5555,5583,5602],{"type":46,"tag":268,"props":5494,"children":5495},{},[5496,5522,5526],{"type":46,"tag":295,"props":5497,"children":5498},{},[5499,5504,5505,5510,5511,5516,5517],{"type":46,"tag":85,"props":5500,"children":5502},{"className":5501},[],[5503],{"type":51,"value":1119},{"type":51,"value":727},{"type":46,"tag":85,"props":5506,"children":5508},{"className":5507},[],[5509],{"type":51,"value":1077},{"type":51,"value":727},{"type":46,"tag":85,"props":5512,"children":5514},{"className":5513},[],[5515],{"type":51,"value":1156},{"type":51,"value":727},{"type":46,"tag":85,"props":5518,"children":5520},{"className":5519},[],[5521],{"type":51,"value":5414},{"type":46,"tag":295,"props":5523,"children":5524},{},[5525],{"type":51,"value":1449},{"type":46,"tag":295,"props":5527,"children":5528},{},[5529,5534,5536,5541,5543,5548,5549,5554],{"type":46,"tag":85,"props":5530,"children":5532},{"className":5531},[],[5533],{"type":51,"value":1119},{"type":51,"value":5535}," of ",{"type":46,"tag":85,"props":5537,"children":5539},{"className":5538},[],[5540],{"type":51,"value":357},{"type":51,"value":5542}," returns a validation error. Note: claim uses ",{"type":46,"tag":85,"props":5544,"children":5546},{"className":5545},[],[5547],{"type":51,"value":5414},{"type":51,"value":4085},{"type":46,"tag":85,"props":5550,"children":5552},{"className":5551},[],[5553],{"type":51,"value":4312},{"type":51,"value":141},{"type":46,"tag":268,"props":5556,"children":5557},{},[5558,5567,5571],{"type":46,"tag":295,"props":5559,"children":5560},{},[5561],{"type":46,"tag":85,"props":5562,"children":5564},{"className":5563},[],[5565],{"type":51,"value":5566},"collectAsWeth",{"type":46,"tag":295,"props":5568,"children":5569},{},[5570],{"type":51,"value":1599},{"type":46,"tag":295,"props":5572,"children":5573},{},[5574,5576,5581],{"type":51,"value":5575},"v3 only. If ",{"type":46,"tag":85,"props":5577,"children":5579},{"className":5578},[],[5580],{"type":51,"value":5159},{"type":51,"value":5582},", unwraps WETH to native ETH.",{"type":46,"tag":268,"props":5584,"children":5585},{},[5586,5594,5598],{"type":46,"tag":295,"props":5587,"children":5588},{},[5589],{"type":46,"tag":85,"props":5590,"children":5592},{"className":5591},[],[5593],{"type":51,"value":4676},{"type":46,"tag":295,"props":5595,"children":5596},{},[5597],{"type":51,"value":1599},{"type":46,"tag":295,"props":5599,"children":5600},{},[5601],{"type":51,"value":5181},{"type":46,"tag":268,"props":5603,"children":5604},{},[5605,5613,5617],{"type":46,"tag":295,"props":5606,"children":5607},{},[5608],{"type":46,"tag":85,"props":5609,"children":5611},{"className":5610},[],[5612],{"type":51,"value":1594},{"type":46,"tag":295,"props":5614,"children":5615},{},[5616],{"type":51,"value":1599},{"type":46,"tag":295,"props":5618,"children":5619},{},[],{"type":46,"tag":54,"props":5621,"children":5622},{},[5623,5627,5628,5634],{"type":46,"tag":77,"props":5624,"children":5625},{},[5626],{"type":51,"value":1722},{"type":51,"value":2256},{"type":46,"tag":85,"props":5629,"children":5631},{"className":5630},[],[5632],{"type":51,"value":5633},"{ requestId, token0, token1, claim: TransactionRequest, gasFee? }",{"type":51,"value":650},{"type":46,"tag":442,"props":5636,"children":5638},{"id":5637},"post-lppool_info",[5639],{"type":51,"value":5640},"POST \u002Flp\u002Fpool_info",{"type":46,"tag":54,"props":5642,"children":5643},{},[5644,5646,5651],{"type":51,"value":5645},"Read live pool state (reserves, tick, ",{"type":46,"tag":85,"props":5647,"children":5649},{"className":5648},[],[5650],{"type":51,"value":853},{"type":51,"value":5652},", liquidity) for one or more pools.",{"type":46,"tag":54,"props":5654,"children":5655},{},[5656,5660,5661,5667,5669,5674,5676,5681,5682,5688,5689,5695],{"type":46,"tag":77,"props":5657,"children":5658},{},[5659],{"type":51,"value":1041},{"type":51,"value":2256},{"type":46,"tag":85,"props":5662,"children":5664},{"className":5663},[],[5665],{"type":51,"value":5666},"{ protocol, poolParameters?, poolReferences?, chainId?, pageSize?, currentPage? }",{"type":51,"value":5668}," (only ",{"type":46,"tag":85,"props":5670,"children":5672},{"className":5671},[],[5673],{"type":51,"value":1119},{"type":51,"value":5675}," is strictly required; supply ",{"type":46,"tag":85,"props":5677,"children":5679},{"className":5678},[],[5680],{"type":51,"value":3664},{"type":51,"value":1009},{"type":46,"tag":85,"props":5683,"children":5685},{"className":5684},[],[5686],{"type":51,"value":5687},"{ tokenAddressA, tokenAddressB, fee?, tickSpacing?, hookAddress? }",{"type":51,"value":2378},{"type":46,"tag":85,"props":5690,"children":5692},{"className":5691},[],[5693],{"type":51,"value":5694},"poolReferences",{"type":51,"value":5696}," to identify pools).",{"type":46,"tag":54,"props":5698,"children":5699},{},[5700,5704,5705,5711,5713,5719,5721,5727,5729,5735,5736,5742,5744,5750,5751,5757,5759,5765],{"type":46,"tag":77,"props":5701,"children":5702},{},[5703],{"type":51,"value":1722},{"type":51,"value":2256},{"type":46,"tag":85,"props":5706,"children":5708},{"className":5707},[],[5709],{"type":51,"value":5710},"{ requestId, pools: PoolInformation[], pageSize, currentPage }",{"type":51,"value":5712}," where each ",{"type":46,"tag":85,"props":5714,"children":5716},{"className":5715},[],[5717],{"type":51,"value":5718},"PoolInformation",{"type":51,"value":5720}," includes ",{"type":46,"tag":85,"props":5722,"children":5724},{"className":5723},[],[5725],{"type":51,"value":5726},"poolReferenceIdentifier, poolProtocol, tokenAddressA, tokenAddressB, tickSpacing, fee, hookAddress, chainId, tokenAmountA, tokenAmountB, tokenDecimalsA, tokenDecimalsB, poolLiquidity, sqrtRatioX96, currentTick, token0Reserves, token1Reserves",{"type":51,"value":5728}," (note: address\u002Famount\u002Fdecimals fields use the ",{"type":46,"tag":85,"props":5730,"children":5732},{"className":5731},[],[5733],{"type":51,"value":5734},"A",{"type":51,"value":2213},{"type":46,"tag":85,"props":5737,"children":5739},{"className":5738},[],[5740],{"type":51,"value":5741},"B",{"type":51,"value":5743}," suffix, but the two reserve fields use ",{"type":46,"tag":85,"props":5745,"children":5747},{"className":5746},[],[5748],{"type":51,"value":5749},"0",{"type":51,"value":2213},{"type":46,"tag":85,"props":5752,"children":5754},{"className":5753},[],[5755],{"type":51,"value":5756},"1",{"type":51,"value":5758},"). Optional fields (e.g. amounts, ",{"type":46,"tag":85,"props":5760,"children":5762},{"className":5761},[],[5763],{"type":51,"value":5764},"hookAddress",{"type":51,"value":5766},", reserves) are omitted when not applicable to the pool.",{"type":46,"tag":442,"props":5768,"children":5770},{"id":5769},"field-name-quirks-to-preserve",[5771],{"type":51,"value":5772},"Field-name quirks to preserve",{"type":46,"tag":54,"props":5774,"children":5775},{},[5776],{"type":51,"value":5777},"The same concept is named differently across endpoints. Use the exact name per endpoint:",{"type":46,"tag":260,"props":5779,"children":5780},{},[5781,5822],{"type":46,"tag":264,"props":5782,"children":5783},{},[5784],{"type":46,"tag":268,"props":5785,"children":5786},{},[5787,5792,5800,5814],{"type":46,"tag":272,"props":5788,"children":5789},{},[5790],{"type":51,"value":5791},"Concept",{"type":46,"tag":272,"props":5793,"children":5794},{},[5795],{"type":46,"tag":85,"props":5796,"children":5798},{"className":5797},[],[5799],{"type":51,"value":416},{"type":46,"tag":272,"props":5801,"children":5802},{},[5803,5808,5809],{"type":46,"tag":85,"props":5804,"children":5806},{"className":5805},[],[5807],{"type":51,"value":374},{"type":51,"value":727},{"type":46,"tag":85,"props":5810,"children":5812},{"className":5811},[],[5813],{"type":51,"value":395},{"type":46,"tag":272,"props":5815,"children":5816},{},[5817],{"type":46,"tag":85,"props":5818,"children":5820},{"className":5819},[],[5821],{"type":51,"value":308},{"type":46,"tag":288,"props":5823,"children":5824},{},[5825],{"type":46,"tag":268,"props":5826,"children":5827},{},[5828,5833,5841,5849],{"type":46,"tag":295,"props":5829,"children":5830},{},[5831],{"type":51,"value":5832},"Position NFT id",{"type":46,"tag":295,"props":5834,"children":5835},{},[5836],{"type":46,"tag":85,"props":5837,"children":5839},{"className":5838},[],[5840],{"type":51,"value":5414},{"type":46,"tag":295,"props":5842,"children":5843},{},[5844],{"type":46,"tag":85,"props":5845,"children":5847},{"className":5846},[],[5848],{"type":51,"value":4312},{"type":46,"tag":295,"props":5850,"children":5851},{},[5852,5857],{"type":46,"tag":85,"props":5853,"children":5855},{"className":5854},[],[5856],{"type":51,"value":1705},{"type":51,"value":5858}," (integer)",{"type":46,"tag":260,"props":5860,"children":5861},{},[5862,5888],{"type":46,"tag":264,"props":5863,"children":5864},{},[5865],{"type":46,"tag":268,"props":5866,"children":5867},{},[5868,5872,5880],{"type":46,"tag":272,"props":5869,"children":5870},{},[5871],{"type":51,"value":5791},{"type":46,"tag":272,"props":5873,"children":5874},{},[5875],{"type":46,"tag":85,"props":5876,"children":5878},{"className":5877},[],[5879],{"type":51,"value":330},{"type":46,"tag":272,"props":5881,"children":5882},{},[5883],{"type":46,"tag":85,"props":5884,"children":5886},{"className":5885},[],[5887],{"type":51,"value":374},{"type":46,"tag":288,"props":5889,"children":5890},{},[5891],{"type":46,"tag":268,"props":5892,"children":5893},{},[5894,5899,5907],{"type":46,"tag":295,"props":5895,"children":5896},{},[5897],{"type":51,"value":5898},"v4 permit payload",{"type":46,"tag":295,"props":5900,"children":5901},{},[5902],{"type":46,"tag":85,"props":5903,"children":5905},{"className":5904},[],[5906],{"type":51,"value":3203},{"type":46,"tag":295,"props":5908,"children":5909},{},[5910],{"type":46,"tag":85,"props":5911,"children":5913},{"className":5912},[],[5914],{"type":51,"value":4618},{"type":46,"tag":65,"props":5916,"children":5918},{"id":5917},"approval-and-permit-flow",[5919],{"type":51,"value":5920},"Approval and Permit Flow",{"type":46,"tag":54,"props":5922,"children":5923},{},[5924,5926,5931],{"type":51,"value":5925},"Always call ",{"type":46,"tag":85,"props":5927,"children":5929},{"className":5928},[],[5930],{"type":51,"value":308},{"type":51,"value":5932}," before any LP action, even when approvals were previously granted (allowances can be revoked or consumed).",{"type":46,"tag":442,"props":5934,"children":5936},{"id":5935},"onchain-approvals",[5937],{"type":51,"value":5938},"Onchain approvals",{"type":46,"tag":110,"props":5940,"children":5942},{"className":1725,"code":5941,"language":1727,"meta":115,"style":115},"const res = await fetch(`${LP_API_BASE_URL}\u002Flp\u002Fcheck_approval`, {\n  method: 'POST',\n  headers: { 'x-api-key': API_KEY, 'Content-Type': 'application\u002Fjson', Accept: 'application\u002Fjson' },\n  body: JSON.stringify({ walletAddress, protocol: 'V4', chainId: 1, lpTokens, action: 'CREATE' }),\n});\nif (!res.ok) throw new Error(`check_approval failed: ${res.status}`);\nconst { transactions, v4BatchPermitData, kycRequiredWarnings } = await res.json();\n\n\u002F\u002F A permissioned pool gates LPing on KYC: a non-empty kycRequiredWarnings means render the\n\u002F\u002F KYC CTA (warning.kycUrl) and stop — do NOT treat empty transactions as \"approved\" here.\nif (kycRequiredWarnings?.length)\n  throw new Error('Wallet not allowlisted for this permissioned pool');\n\n\u002F\u002F transactions is an array of ApprovalTransactionRequest. Empty (and no KYC warnings) => already approved.\nfor (const approval of transactions) {\n  validateLpTransaction(approval.transaction); \u002F\u002F see Critical Notes\n  const hash = await walletClient.sendTransaction(approval.transaction);\n  await publicClient.waitForTransactionReceipt({ hash });\n}\n",[5943],{"type":46,"tag":85,"props":5944,"children":5945},{"__ignoreMap":115},[5946,6011,6040,6141,6270,6285,6376,6445,6452,6460,6468,6490,6531,6538,6546,6581,6620,6679,6725],{"type":46,"tag":1052,"props":5947,"children":5948},{"class":1054,"line":1055},[5949,5954,5959,5964,5970,5976,5980,5985,5990,5995,5999,6003,6007],{"type":46,"tag":1052,"props":5950,"children":5951},{"style":1074},[5952],{"type":51,"value":5953},"const",{"type":46,"tag":1052,"props":5955,"children":5956},{"style":1792},[5957],{"type":51,"value":5958}," res ",{"type":46,"tag":1052,"props":5960,"children":5961},{"style":1059},[5962],{"type":51,"value":5963},"=",{"type":46,"tag":1052,"props":5965,"children":5967},{"style":5966},"--shiki-light:#39ADB5;--shiki-light-font-style:italic;--shiki-default:#89DDFF;--shiki-default-font-style:italic;--shiki-dark:#89DDFF;--shiki-dark-font-style:italic",[5968],{"type":51,"value":5969}," await",{"type":46,"tag":1052,"props":5971,"children":5973},{"style":5972},"--shiki-light:#6182B8;--shiki-default:#82AAFF;--shiki-dark:#82AAFF",[5974],{"type":51,"value":5975}," fetch",{"type":46,"tag":1052,"props":5977,"children":5978},{"style":1792},[5979],{"type":51,"value":761},{"type":46,"tag":1052,"props":5981,"children":5982},{"style":1059},[5983],{"type":51,"value":5984},"`${",{"type":46,"tag":1052,"props":5986,"children":5987},{"style":1792},[5988],{"type":51,"value":5989},"LP_API_BASE_URL",{"type":46,"tag":1052,"props":5991,"children":5992},{"style":1059},[5993],{"type":51,"value":5994},"}",{"type":46,"tag":1052,"props":5996,"children":5997},{"style":1094},[5998],{"type":51,"value":308},{"type":46,"tag":1052,"props":6000,"children":6001},{"style":1059},[6002],{"type":51,"value":754},{"type":46,"tag":1052,"props":6004,"children":6005},{"style":1059},[6006],{"type":51,"value":1244},{"type":46,"tag":1052,"props":6008,"children":6009},{"style":1059},[6010],{"type":51,"value":1749},{"type":46,"tag":1052,"props":6012,"children":6013},{"class":1054,"line":1065},[6014,6019,6023,6027,6032,6036],{"type":46,"tag":1052,"props":6015,"children":6016},{"style":1755},[6017],{"type":51,"value":6018},"  method",{"type":46,"tag":1052,"props":6020,"children":6021},{"style":1059},[6022],{"type":51,"value":1086},{"type":46,"tag":1052,"props":6024,"children":6025},{"style":1059},[6026],{"type":51,"value":1984},{"type":46,"tag":1052,"props":6028,"children":6029},{"style":1094},[6030],{"type":51,"value":6031},"POST",{"type":46,"tag":1052,"props":6033,"children":6034},{"style":1059},[6035],{"type":51,"value":796},{"type":46,"tag":1052,"props":6037,"children":6038},{"style":1059},[6039],{"type":51,"value":1106},{"type":46,"tag":1052,"props":6041,"children":6042},{"class":1054,"line":1109},[6043,6048,6052,6057,6061,6065,6069,6073,6078,6082,6086,6091,6095,6099,6103,6108,6112,6116,6121,6125,6129,6133,6137],{"type":46,"tag":1052,"props":6044,"children":6045},{"style":1755},[6046],{"type":51,"value":6047},"  headers",{"type":46,"tag":1052,"props":6049,"children":6050},{"style":1059},[6051],{"type":51,"value":1086},{"type":46,"tag":1052,"props":6053,"children":6054},{"style":1059},[6055],{"type":51,"value":6056}," {",{"type":46,"tag":1052,"props":6058,"children":6059},{"style":1059},[6060],{"type":51,"value":1984},{"type":46,"tag":1052,"props":6062,"children":6063},{"style":1755},[6064],{"type":51,"value":196},{"type":46,"tag":1052,"props":6066,"children":6067},{"style":1059},[6068],{"type":51,"value":796},{"type":46,"tag":1052,"props":6070,"children":6071},{"style":1059},[6072],{"type":51,"value":1086},{"type":46,"tag":1052,"props":6074,"children":6075},{"style":1792},[6076],{"type":51,"value":6077}," API_KEY",{"type":46,"tag":1052,"props":6079,"children":6080},{"style":1059},[6081],{"type":51,"value":1244},{"type":46,"tag":1052,"props":6083,"children":6084},{"style":1059},[6085],{"type":51,"value":1984},{"type":46,"tag":1052,"props":6087,"children":6088},{"style":1755},[6089],{"type":51,"value":6090},"Content-Type",{"type":46,"tag":1052,"props":6092,"children":6093},{"style":1059},[6094],{"type":51,"value":796},{"type":46,"tag":1052,"props":6096,"children":6097},{"style":1059},[6098],{"type":51,"value":1086},{"type":46,"tag":1052,"props":6100,"children":6101},{"style":1059},[6102],{"type":51,"value":1984},{"type":46,"tag":1052,"props":6104,"children":6105},{"style":1094},[6106],{"type":51,"value":6107},"application\u002Fjson",{"type":46,"tag":1052,"props":6109,"children":6110},{"style":1059},[6111],{"type":51,"value":796},{"type":46,"tag":1052,"props":6113,"children":6114},{"style":1059},[6115],{"type":51,"value":1244},{"type":46,"tag":1052,"props":6117,"children":6118},{"style":1755},[6119],{"type":51,"value":6120}," Accept",{"type":46,"tag":1052,"props":6122,"children":6123},{"style":1059},[6124],{"type":51,"value":1086},{"type":46,"tag":1052,"props":6126,"children":6127},{"style":1059},[6128],{"type":51,"value":1984},{"type":46,"tag":1052,"props":6130,"children":6131},{"style":1094},[6132],{"type":51,"value":6107},{"type":46,"tag":1052,"props":6134,"children":6135},{"style":1059},[6136],{"type":51,"value":796},{"type":46,"tag":1052,"props":6138,"children":6139},{"style":1059},[6140],{"type":51,"value":1279},{"type":46,"tag":1052,"props":6142,"children":6143},{"class":1054,"line":1146},[6144,6149,6153,6158,6162,6167,6171,6176,6181,6185,6190,6194,6198,6202,6206,6210,6215,6219,6223,6227,6232,6236,6241,6245,6249,6253,6257,6262,6266],{"type":46,"tag":1052,"props":6145,"children":6146},{"style":1755},[6147],{"type":51,"value":6148},"  body",{"type":46,"tag":1052,"props":6150,"children":6151},{"style":1059},[6152],{"type":51,"value":1086},{"type":46,"tag":1052,"props":6154,"children":6155},{"style":1792},[6156],{"type":51,"value":6157}," JSON",{"type":46,"tag":1052,"props":6159,"children":6160},{"style":1059},[6161],{"type":51,"value":650},{"type":46,"tag":1052,"props":6163,"children":6164},{"style":5972},[6165],{"type":51,"value":6166},"stringify",{"type":46,"tag":1052,"props":6168,"children":6169},{"style":1792},[6170],{"type":51,"value":761},{"type":46,"tag":1052,"props":6172,"children":6173},{"style":1059},[6174],{"type":51,"value":6175},"{",{"type":46,"tag":1052,"props":6177,"children":6178},{"style":1792},[6179],{"type":51,"value":6180}," walletAddress",{"type":46,"tag":1052,"props":6182,"children":6183},{"style":1059},[6184],{"type":51,"value":1244},{"type":46,"tag":1052,"props":6186,"children":6187},{"style":1755},[6188],{"type":51,"value":6189}," protocol",{"type":46,"tag":1052,"props":6191,"children":6192},{"style":1059},[6193],{"type":51,"value":1086},{"type":46,"tag":1052,"props":6195,"children":6196},{"style":1059},[6197],{"type":51,"value":1984},{"type":46,"tag":1052,"props":6199,"children":6200},{"style":1094},[6201],{"type":51,"value":553},{"type":46,"tag":1052,"props":6203,"children":6204},{"style":1059},[6205],{"type":51,"value":796},{"type":46,"tag":1052,"props":6207,"children":6208},{"style":1059},[6209],{"type":51,"value":1244},{"type":46,"tag":1052,"props":6211,"children":6212},{"style":1755},[6213],{"type":51,"value":6214}," chainId",{"type":46,"tag":1052,"props":6216,"children":6217},{"style":1059},[6218],{"type":51,"value":1086},{"type":46,"tag":1052,"props":6220,"children":6221},{"style":1167},[6222],{"type":51,"value":1170},{"type":46,"tag":1052,"props":6224,"children":6225},{"style":1059},[6226],{"type":51,"value":1244},{"type":46,"tag":1052,"props":6228,"children":6229},{"style":1792},[6230],{"type":51,"value":6231}," lpTokens",{"type":46,"tag":1052,"props":6233,"children":6234},{"style":1059},[6235],{"type":51,"value":1244},{"type":46,"tag":1052,"props":6237,"children":6238},{"style":1755},[6239],{"type":51,"value":6240}," action",{"type":46,"tag":1052,"props":6242,"children":6243},{"style":1059},[6244],{"type":51,"value":1086},{"type":46,"tag":1052,"props":6246,"children":6247},{"style":1059},[6248],{"type":51,"value":1984},{"type":46,"tag":1052,"props":6250,"children":6251},{"style":1094},[6252],{"type":51,"value":1392},{"type":46,"tag":1052,"props":6254,"children":6255},{"style":1059},[6256],{"type":51,"value":796},{"type":46,"tag":1052,"props":6258,"children":6259},{"style":1059},[6260],{"type":51,"value":6261}," }",{"type":46,"tag":1052,"props":6263,"children":6264},{"style":1792},[6265],{"type":51,"value":768},{"type":46,"tag":1052,"props":6267,"children":6268},{"style":1059},[6269],{"type":51,"value":1106},{"type":46,"tag":1052,"props":6271,"children":6272},{"class":1054,"line":1177},[6273,6277,6281],{"type":46,"tag":1052,"props":6274,"children":6275},{"style":1059},[6276],{"type":51,"value":5994},{"type":46,"tag":1052,"props":6278,"children":6279},{"style":1792},[6280],{"type":51,"value":768},{"type":46,"tag":1052,"props":6282,"children":6283},{"style":1059},[6284],{"type":51,"value":1772},{"type":46,"tag":1052,"props":6286,"children":6287},{"class":1054,"line":1203},[6288,6293,6298,6303,6308,6312,6317,6322,6327,6332,6336,6340,6345,6350,6354,6358,6363,6368,6372],{"type":46,"tag":1052,"props":6289,"children":6290},{"style":5966},[6291],{"type":51,"value":6292},"if",{"type":46,"tag":1052,"props":6294,"children":6295},{"style":1792},[6296],{"type":51,"value":6297}," (",{"type":46,"tag":1052,"props":6299,"children":6300},{"style":1059},[6301],{"type":51,"value":6302},"!",{"type":46,"tag":1052,"props":6304,"children":6305},{"style":1792},[6306],{"type":51,"value":6307},"res",{"type":46,"tag":1052,"props":6309,"children":6310},{"style":1059},[6311],{"type":51,"value":650},{"type":46,"tag":1052,"props":6313,"children":6314},{"style":1792},[6315],{"type":51,"value":6316},"ok) ",{"type":46,"tag":1052,"props":6318,"children":6319},{"style":5966},[6320],{"type":51,"value":6321},"throw",{"type":46,"tag":1052,"props":6323,"children":6324},{"style":1059},[6325],{"type":51,"value":6326}," new",{"type":46,"tag":1052,"props":6328,"children":6329},{"style":5972},[6330],{"type":51,"value":6331}," Error",{"type":46,"tag":1052,"props":6333,"children":6334},{"style":1792},[6335],{"type":51,"value":761},{"type":46,"tag":1052,"props":6337,"children":6338},{"style":1059},[6339],{"type":51,"value":754},{"type":46,"tag":1052,"props":6341,"children":6342},{"style":1094},[6343],{"type":51,"value":6344},"check_approval failed: ",{"type":46,"tag":1052,"props":6346,"children":6347},{"style":1059},[6348],{"type":51,"value":6349},"${",{"type":46,"tag":1052,"props":6351,"children":6352},{"style":1792},[6353],{"type":51,"value":6307},{"type":46,"tag":1052,"props":6355,"children":6356},{"style":1059},[6357],{"type":51,"value":650},{"type":46,"tag":1052,"props":6359,"children":6360},{"style":1792},[6361],{"type":51,"value":6362},"status",{"type":46,"tag":1052,"props":6364,"children":6365},{"style":1059},[6366],{"type":51,"value":6367},"}`",{"type":46,"tag":1052,"props":6369,"children":6370},{"style":1792},[6371],{"type":51,"value":768},{"type":46,"tag":1052,"props":6373,"children":6374},{"style":1059},[6375],{"type":51,"value":1772},{"type":46,"tag":1052,"props":6377,"children":6378},{"class":1054,"line":1282},[6379,6383,6387,6392,6396,6401,6405,6410,6414,6419,6423,6428,6432,6436,6441],{"type":46,"tag":1052,"props":6380,"children":6381},{"style":1074},[6382],{"type":51,"value":5953},{"type":46,"tag":1052,"props":6384,"children":6385},{"style":1059},[6386],{"type":51,"value":6056},{"type":46,"tag":1052,"props":6388,"children":6389},{"style":1792},[6390],{"type":51,"value":6391}," transactions",{"type":46,"tag":1052,"props":6393,"children":6394},{"style":1059},[6395],{"type":51,"value":1244},{"type":46,"tag":1052,"props":6397,"children":6398},{"style":1792},[6399],{"type":51,"value":6400}," v4BatchPermitData",{"type":46,"tag":1052,"props":6402,"children":6403},{"style":1059},[6404],{"type":51,"value":1244},{"type":46,"tag":1052,"props":6406,"children":6407},{"style":1792},[6408],{"type":51,"value":6409}," kycRequiredWarnings ",{"type":46,"tag":1052,"props":6411,"children":6412},{"style":1059},[6413],{"type":51,"value":5994},{"type":46,"tag":1052,"props":6415,"children":6416},{"style":1059},[6417],{"type":51,"value":6418}," =",{"type":46,"tag":1052,"props":6420,"children":6421},{"style":5966},[6422],{"type":51,"value":5969},{"type":46,"tag":1052,"props":6424,"children":6425},{"style":1792},[6426],{"type":51,"value":6427}," res",{"type":46,"tag":1052,"props":6429,"children":6430},{"style":1059},[6431],{"type":51,"value":650},{"type":46,"tag":1052,"props":6433,"children":6434},{"style":5972},[6435],{"type":51,"value":1046},{"type":46,"tag":1052,"props":6437,"children":6438},{"style":1792},[6439],{"type":51,"value":6440},"()",{"type":46,"tag":1052,"props":6442,"children":6443},{"style":1059},[6444],{"type":51,"value":1772},{"type":46,"tag":1052,"props":6446,"children":6447},{"class":1054,"line":1356},[6448],{"type":46,"tag":1052,"props":6449,"children":6450},{"emptyLinePlaceholder":1900},[6451],{"type":51,"value":1903},{"type":46,"tag":1052,"props":6453,"children":6454},{"class":1054,"line":1365},[6455],{"type":46,"tag":1052,"props":6456,"children":6457},{"style":1802},[6458],{"type":51,"value":6459},"\u002F\u002F A permissioned pool gates LPing on KYC: a non-empty kycRequiredWarnings means render the\n",{"type":46,"tag":1052,"props":6461,"children":6462},{"class":1054,"line":1400},[6463],{"type":46,"tag":1052,"props":6464,"children":6465},{"style":1802},[6466],{"type":51,"value":6467},"\u002F\u002F KYC CTA (warning.kycUrl) and stop — do NOT treat empty transactions as \"approved\" here.\n",{"type":46,"tag":1052,"props":6469,"children":6470},{"class":1054,"line":1947},[6471,6475,6480,6485],{"type":46,"tag":1052,"props":6472,"children":6473},{"style":5966},[6474],{"type":51,"value":6292},{"type":46,"tag":1052,"props":6476,"children":6477},{"style":1792},[6478],{"type":51,"value":6479}," (kycRequiredWarnings",{"type":46,"tag":1052,"props":6481,"children":6482},{"style":1059},[6483],{"type":51,"value":6484},"?.",{"type":46,"tag":1052,"props":6486,"children":6487},{"style":1792},[6488],{"type":51,"value":6489},"length)\n",{"type":46,"tag":1052,"props":6491,"children":6492},{"class":1054,"line":1969},[6493,6498,6502,6506,6510,6514,6519,6523,6527],{"type":46,"tag":1052,"props":6494,"children":6495},{"style":5966},[6496],{"type":51,"value":6497},"  throw",{"type":46,"tag":1052,"props":6499,"children":6500},{"style":1059},[6501],{"type":51,"value":6326},{"type":46,"tag":1052,"props":6503,"children":6504},{"style":5972},[6505],{"type":51,"value":6331},{"type":46,"tag":1052,"props":6507,"children":6508},{"style":1792},[6509],{"type":51,"value":761},{"type":46,"tag":1052,"props":6511,"children":6512},{"style":1059},[6513],{"type":51,"value":796},{"type":46,"tag":1052,"props":6515,"children":6516},{"style":1094},[6517],{"type":51,"value":6518},"Wallet not allowlisted for this permissioned pool",{"type":46,"tag":1052,"props":6520,"children":6521},{"style":1059},[6522],{"type":51,"value":796},{"type":46,"tag":1052,"props":6524,"children":6525},{"style":1792},[6526],{"type":51,"value":768},{"type":46,"tag":1052,"props":6528,"children":6529},{"style":1059},[6530],{"type":51,"value":1772},{"type":46,"tag":1052,"props":6532,"children":6533},{"class":1054,"line":2048},[6534],{"type":46,"tag":1052,"props":6535,"children":6536},{"emptyLinePlaceholder":1900},[6537],{"type":51,"value":1903},{"type":46,"tag":1052,"props":6539,"children":6540},{"class":1054,"line":2069},[6541],{"type":46,"tag":1052,"props":6542,"children":6543},{"style":1802},[6544],{"type":51,"value":6545},"\u002F\u002F transactions is an array of ApprovalTransactionRequest. Empty (and no KYC warnings) => already approved.\n",{"type":46,"tag":1052,"props":6547,"children":6548},{"class":1054,"line":2077},[6549,6554,6558,6562,6567,6572,6577],{"type":46,"tag":1052,"props":6550,"children":6551},{"style":5966},[6552],{"type":51,"value":6553},"for",{"type":46,"tag":1052,"props":6555,"children":6556},{"style":1792},[6557],{"type":51,"value":6297},{"type":46,"tag":1052,"props":6559,"children":6560},{"style":1074},[6561],{"type":51,"value":5953},{"type":46,"tag":1052,"props":6563,"children":6564},{"style":1792},[6565],{"type":51,"value":6566}," approval ",{"type":46,"tag":1052,"props":6568,"children":6569},{"style":1059},[6570],{"type":51,"value":6571},"of",{"type":46,"tag":1052,"props":6573,"children":6574},{"style":1792},[6575],{"type":51,"value":6576}," transactions) ",{"type":46,"tag":1052,"props":6578,"children":6579},{"style":1059},[6580],{"type":51,"value":1062},{"type":46,"tag":1052,"props":6582,"children":6583},{"class":1054,"line":2085},[6584,6589,6593,6598,6602,6607,6611,6615],{"type":46,"tag":1052,"props":6585,"children":6586},{"style":5972},[6587],{"type":51,"value":6588},"  validateLpTransaction",{"type":46,"tag":1052,"props":6590,"children":6591},{"style":1755},[6592],{"type":51,"value":761},{"type":46,"tag":1052,"props":6594,"children":6595},{"style":1792},[6596],{"type":51,"value":6597},"approval",{"type":46,"tag":1052,"props":6599,"children":6600},{"style":1059},[6601],{"type":51,"value":650},{"type":46,"tag":1052,"props":6603,"children":6604},{"style":1792},[6605],{"type":51,"value":6606},"transaction",{"type":46,"tag":1052,"props":6608,"children":6609},{"style":1755},[6610],{"type":51,"value":768},{"type":46,"tag":1052,"props":6612,"children":6613},{"style":1059},[6614],{"type":51,"value":725},{"type":46,"tag":1052,"props":6616,"children":6617},{"style":1802},[6618],{"type":51,"value":6619}," \u002F\u002F see Critical Notes\n",{"type":46,"tag":1052,"props":6621,"children":6622},{"class":1054,"line":2101},[6623,6628,6633,6637,6641,6646,6650,6655,6659,6663,6667,6671,6675],{"type":46,"tag":1052,"props":6624,"children":6625},{"style":1074},[6626],{"type":51,"value":6627},"  const",{"type":46,"tag":1052,"props":6629,"children":6630},{"style":1792},[6631],{"type":51,"value":6632}," hash",{"type":46,"tag":1052,"props":6634,"children":6635},{"style":1059},[6636],{"type":51,"value":6418},{"type":46,"tag":1052,"props":6638,"children":6639},{"style":5966},[6640],{"type":51,"value":5969},{"type":46,"tag":1052,"props":6642,"children":6643},{"style":1792},[6644],{"type":51,"value":6645}," walletClient",{"type":46,"tag":1052,"props":6647,"children":6648},{"style":1059},[6649],{"type":51,"value":650},{"type":46,"tag":1052,"props":6651,"children":6652},{"style":5972},[6653],{"type":51,"value":6654},"sendTransaction",{"type":46,"tag":1052,"props":6656,"children":6657},{"style":1755},[6658],{"type":51,"value":761},{"type":46,"tag":1052,"props":6660,"children":6661},{"style":1792},[6662],{"type":51,"value":6597},{"type":46,"tag":1052,"props":6664,"children":6665},{"style":1059},[6666],{"type":51,"value":650},{"type":46,"tag":1052,"props":6668,"children":6669},{"style":1792},[6670],{"type":51,"value":6606},{"type":46,"tag":1052,"props":6672,"children":6673},{"style":1755},[6674],{"type":51,"value":768},{"type":46,"tag":1052,"props":6676,"children":6677},{"style":1059},[6678],{"type":51,"value":1772},{"type":46,"tag":1052,"props":6680,"children":6681},{"class":1054,"line":2122},[6682,6687,6692,6696,6701,6705,6709,6713,6717,6721],{"type":46,"tag":1052,"props":6683,"children":6684},{"style":5966},[6685],{"type":51,"value":6686},"  await",{"type":46,"tag":1052,"props":6688,"children":6689},{"style":1792},[6690],{"type":51,"value":6691}," publicClient",{"type":46,"tag":1052,"props":6693,"children":6694},{"style":1059},[6695],{"type":51,"value":650},{"type":46,"tag":1052,"props":6697,"children":6698},{"style":5972},[6699],{"type":51,"value":6700},"waitForTransactionReceipt",{"type":46,"tag":1052,"props":6702,"children":6703},{"style":1755},[6704],{"type":51,"value":761},{"type":46,"tag":1052,"props":6706,"children":6707},{"style":1059},[6708],{"type":51,"value":6175},{"type":46,"tag":1052,"props":6710,"children":6711},{"style":1792},[6712],{"type":51,"value":6632},{"type":46,"tag":1052,"props":6714,"children":6715},{"style":1059},[6716],{"type":51,"value":6261},{"type":46,"tag":1052,"props":6718,"children":6719},{"style":1755},[6720],{"type":51,"value":768},{"type":46,"tag":1052,"props":6722,"children":6723},{"style":1059},[6724],{"type":51,"value":1772},{"type":46,"tag":1052,"props":6726,"children":6727},{"class":1054,"line":2143},[6728],{"type":46,"tag":1052,"props":6729,"children":6730},{"style":1059},[6731],{"type":51,"value":1406},{"type":46,"tag":442,"props":6733,"children":6735},{"id":6734},"v4-permit-eip-712-sign-and-return",[6736],{"type":51,"value":6737},"v4 permit (EIP-712 sign-and-return)",{"type":46,"tag":54,"props":6739,"children":6740},{},[6741,6743,6749,6751,6756,6758,6763,6765,6770,6772,6777],{"type":51,"value":6742},"For v4, ",{"type":46,"tag":85,"props":6744,"children":6746},{"className":6745},[],[6747],{"type":51,"value":6748},"check_approval",{"type":51,"value":6750}," returns a ",{"type":46,"tag":85,"props":6752,"children":6754},{"className":6753},[],[6755],{"type":51,"value":4618},{"type":51,"value":6757}," (a gasless Permit2 batch approval) — often ",{"type":46,"tag":77,"props":6759,"children":6760},{},[6761],{"type":51,"value":6762},"alongside",{"type":51,"value":6764}," onchain ERC-20 → Permit2 approval ",{"type":46,"tag":85,"props":6766,"children":6768},{"className":6767},[],[6769],{"type":51,"value":1000},{"type":51,"value":6771},", not instead of them. Execute any returned ",{"type":46,"tag":85,"props":6773,"children":6775},{"className":6774},[],[6776],{"type":51,"value":1000},{"type":51,"value":6778}," first (Permit2 needs the ERC-20 allowance), then sign the permit offchain and pass it into the next call.",{"type":46,"tag":143,"props":6780,"children":6781},{},[6782,6792],{"type":46,"tag":54,"props":6783,"children":6784},{},[6785,6790],{"type":46,"tag":77,"props":6786,"children":6787},{},[6788],{"type":51,"value":6789},"The permit payload is proto-encoded and is NOT directly viem-ready.",{"type":51,"value":6791}," Normalize two fields before signing — the un-normalized object is still what you send back to the API:",{"type":46,"tag":621,"props":6793,"children":6794},{},[6795,6821],{"type":46,"tag":625,"props":6796,"children":6797},{},[6798,6804,6806,6811,6813,6819],{"type":46,"tag":85,"props":6799,"children":6801},{"className":6800},[],[6802],{"type":51,"value":6803},"domain.chainId",{"type":51,"value":6805}," arrives as the chain ",{"type":46,"tag":77,"props":6807,"children":6808},{},[6809],{"type":51,"value":6810},"enum-name string",{"type":51,"value":6812}," (e.g. ",{"type":46,"tag":85,"props":6814,"children":6816},{"className":6815},[],[6817],{"type":51,"value":6818},"\"UNICHAIN\"",{"type":51,"value":6820},"), not a number — replace it with the numeric chain ID.",{"type":46,"tag":625,"props":6822,"children":6823},{},[6824,6826,6832,6834,6840,6842,6848],{"type":51,"value":6825},"each ",{"type":46,"tag":85,"props":6827,"children":6829},{"className":6828},[],[6830],{"type":51,"value":6831},"types",{"type":51,"value":6833}," entry is wrapped as ",{"type":46,"tag":85,"props":6835,"children":6837},{"className":6836},[],[6838],{"type":51,"value":6839},"{ fields: [...] }",{"type":51,"value":6841},"; viem (and the EIP-712 spec) expect a bare array — unwrap ",{"type":46,"tag":85,"props":6843,"children":6845},{"className":6844},[],[6846],{"type":51,"value":6847},".fields",{"type":51,"value":650},{"type":46,"tag":110,"props":6850,"children":6852},{"className":1725,"code":6851,"language":1727,"meta":115,"style":115},"let signature: string | undefined;\nif (v4BatchPermitData) {\n  \u002F\u002F Normalize the proto-encoded permit into viem's TypedData shape (for signing only).\n  const types = Object.fromEntries(\n    Object.entries(v4BatchPermitData.types).map(([k, v]) => [k, (v as any).fields])\n  );\n  const domain = { ...v4BatchPermitData.domain, chainId }; \u002F\u002F numeric chainId (e.g. 130), NOT \"UNICHAIN\"\n\n  signature = await walletClient.signTypedData({\n    domain,\n    types,\n    message: v4BatchPermitData.values,\n    primaryType: 'PermitBatch',\n  });\n}\n\n\u002F\u002F Send the ORIGINAL (un-normalized) permit back to the API, with the signature.\n\u002F\u002F \u002Flp\u002Fcreate (uses batchPermitData) ...\nconst createBody = { ...createParams, batchPermitData: v4BatchPermitData, signature };\n\u002F\u002F ... or \u002Flp\u002Fincrease (uses v4BatchPermitData)\nconst increaseBody = { ...increaseParams, v4BatchPermitData, signature };\n",[6853],{"type":46,"tag":85,"props":6854,"children":6855},{"__ignoreMap":115},[6856,6890,6906,6914,6949,7079,7091,7147,7154,7191,7203,7215,7244,7273,7289,7296,7303,7311,7319,7379,7387],{"type":46,"tag":1052,"props":6857,"children":6858},{"class":1054,"line":1055},[6859,6864,6869,6873,6877,6881,6886],{"type":46,"tag":1052,"props":6860,"children":6861},{"style":1074},[6862],{"type":51,"value":6863},"let",{"type":46,"tag":1052,"props":6865,"children":6866},{"style":1792},[6867],{"type":51,"value":6868}," signature",{"type":46,"tag":1052,"props":6870,"children":6871},{"style":1059},[6872],{"type":51,"value":1086},{"type":46,"tag":1052,"props":6874,"children":6875},{"style":1216},[6876],{"type":51,"value":1767},{"type":46,"tag":1052,"props":6878,"children":6879},{"style":1059},[6880],{"type":51,"value":1997},{"type":46,"tag":1052,"props":6882,"children":6883},{"style":1216},[6884],{"type":51,"value":6885}," undefined",{"type":46,"tag":1052,"props":6887,"children":6888},{"style":1059},[6889],{"type":51,"value":1772},{"type":46,"tag":1052,"props":6891,"children":6892},{"class":1054,"line":1065},[6893,6897,6902],{"type":46,"tag":1052,"props":6894,"children":6895},{"style":5966},[6896],{"type":51,"value":6292},{"type":46,"tag":1052,"props":6898,"children":6899},{"style":1792},[6900],{"type":51,"value":6901}," (v4BatchPermitData) ",{"type":46,"tag":1052,"props":6903,"children":6904},{"style":1059},[6905],{"type":51,"value":1062},{"type":46,"tag":1052,"props":6907,"children":6908},{"class":1054,"line":1109},[6909],{"type":46,"tag":1052,"props":6910,"children":6911},{"style":1802},[6912],{"type":51,"value":6913},"  \u002F\u002F Normalize the proto-encoded permit into viem's TypedData shape (for signing only).\n",{"type":46,"tag":1052,"props":6915,"children":6916},{"class":1054,"line":1146},[6917,6921,6926,6930,6935,6939,6944],{"type":46,"tag":1052,"props":6918,"children":6919},{"style":1074},[6920],{"type":51,"value":6627},{"type":46,"tag":1052,"props":6922,"children":6923},{"style":1792},[6924],{"type":51,"value":6925}," types",{"type":46,"tag":1052,"props":6927,"children":6928},{"style":1059},[6929],{"type":51,"value":6418},{"type":46,"tag":1052,"props":6931,"children":6932},{"style":1792},[6933],{"type":51,"value":6934}," Object",{"type":46,"tag":1052,"props":6936,"children":6937},{"style":1059},[6938],{"type":51,"value":650},{"type":46,"tag":1052,"props":6940,"children":6941},{"style":5972},[6942],{"type":51,"value":6943},"fromEntries",{"type":46,"tag":1052,"props":6945,"children":6946},{"style":1755},[6947],{"type":51,"value":6948},"(\n",{"type":46,"tag":1052,"props":6950,"children":6951},{"class":1054,"line":1177},[6952,6957,6961,6966,6970,6974,6978,6982,6986,6990,6995,6999,7004,7010,7014,7019,7024,7029,7034,7038,7042,7046,7051,7056,7061,7065,7069,7074],{"type":46,"tag":1052,"props":6953,"children":6954},{"style":1792},[6955],{"type":51,"value":6956},"    Object",{"type":46,"tag":1052,"props":6958,"children":6959},{"style":1059},[6960],{"type":51,"value":650},{"type":46,"tag":1052,"props":6962,"children":6963},{"style":5972},[6964],{"type":51,"value":6965},"entries",{"type":46,"tag":1052,"props":6967,"children":6968},{"style":1755},[6969],{"type":51,"value":761},{"type":46,"tag":1052,"props":6971,"children":6972},{"style":1792},[6973],{"type":51,"value":4618},{"type":46,"tag":1052,"props":6975,"children":6976},{"style":1059},[6977],{"type":51,"value":650},{"type":46,"tag":1052,"props":6979,"children":6980},{"style":1792},[6981],{"type":51,"value":6831},{"type":46,"tag":1052,"props":6983,"children":6984},{"style":1755},[6985],{"type":51,"value":768},{"type":46,"tag":1052,"props":6987,"children":6988},{"style":1059},[6989],{"type":51,"value":650},{"type":46,"tag":1052,"props":6991,"children":6992},{"style":5972},[6993],{"type":51,"value":6994},"map",{"type":46,"tag":1052,"props":6996,"children":6997},{"style":1755},[6998],{"type":51,"value":761},{"type":46,"tag":1052,"props":7000,"children":7001},{"style":1059},[7002],{"type":51,"value":7003},"([",{"type":46,"tag":1052,"props":7005,"children":7007},{"style":7006},"--shiki-light:#90A4AE;--shiki-light-font-style:italic;--shiki-default:#EEFFFF;--shiki-default-font-style:italic;--shiki-dark:#BABED8;--shiki-dark-font-style:italic",[7008],{"type":51,"value":7009},"k",{"type":46,"tag":1052,"props":7011,"children":7012},{"style":1059},[7013],{"type":51,"value":1244},{"type":46,"tag":1052,"props":7015,"children":7016},{"style":7006},[7017],{"type":51,"value":7018}," v",{"type":46,"tag":1052,"props":7020,"children":7021},{"style":1059},[7022],{"type":51,"value":7023},"])",{"type":46,"tag":1052,"props":7025,"children":7026},{"style":1074},[7027],{"type":51,"value":7028}," =>",{"type":46,"tag":1052,"props":7030,"children":7031},{"style":1755},[7032],{"type":51,"value":7033}," [",{"type":46,"tag":1052,"props":7035,"children":7036},{"style":1792},[7037],{"type":51,"value":7009},{"type":46,"tag":1052,"props":7039,"children":7040},{"style":1059},[7041],{"type":51,"value":1244},{"type":46,"tag":1052,"props":7043,"children":7044},{"style":1755},[7045],{"type":51,"value":6297},{"type":46,"tag":1052,"props":7047,"children":7048},{"style":1792},[7049],{"type":51,"value":7050},"v",{"type":46,"tag":1052,"props":7052,"children":7053},{"style":5966},[7054],{"type":51,"value":7055}," as",{"type":46,"tag":1052,"props":7057,"children":7058},{"style":1216},[7059],{"type":51,"value":7060}," any",{"type":46,"tag":1052,"props":7062,"children":7063},{"style":1755},[7064],{"type":51,"value":768},{"type":46,"tag":1052,"props":7066,"children":7067},{"style":1059},[7068],{"type":51,"value":650},{"type":46,"tag":1052,"props":7070,"children":7071},{"style":1792},[7072],{"type":51,"value":7073},"fields",{"type":46,"tag":1052,"props":7075,"children":7076},{"style":1755},[7077],{"type":51,"value":7078},"])\n",{"type":46,"tag":1052,"props":7080,"children":7081},{"class":1054,"line":1203},[7082,7087],{"type":46,"tag":1052,"props":7083,"children":7084},{"style":1755},[7085],{"type":51,"value":7086},"  )",{"type":46,"tag":1052,"props":7088,"children":7089},{"style":1059},[7090],{"type":51,"value":1772},{"type":46,"tag":1052,"props":7092,"children":7093},{"class":1054,"line":1282},[7094,7098,7103,7107,7111,7116,7120,7124,7129,7133,7137,7142],{"type":46,"tag":1052,"props":7095,"children":7096},{"style":1074},[7097],{"type":51,"value":6627},{"type":46,"tag":1052,"props":7099,"children":7100},{"style":1792},[7101],{"type":51,"value":7102}," domain",{"type":46,"tag":1052,"props":7104,"children":7105},{"style":1059},[7106],{"type":51,"value":6418},{"type":46,"tag":1052,"props":7108,"children":7109},{"style":1059},[7110],{"type":51,"value":6056},{"type":46,"tag":1052,"props":7112,"children":7113},{"style":1059},[7114],{"type":51,"value":7115}," ...",{"type":46,"tag":1052,"props":7117,"children":7118},{"style":1792},[7119],{"type":51,"value":4618},{"type":46,"tag":1052,"props":7121,"children":7122},{"style":1059},[7123],{"type":51,"value":650},{"type":46,"tag":1052,"props":7125,"children":7126},{"style":1792},[7127],{"type":51,"value":7128},"domain",{"type":46,"tag":1052,"props":7130,"children":7131},{"style":1059},[7132],{"type":51,"value":1244},{"type":46,"tag":1052,"props":7134,"children":7135},{"style":1792},[7136],{"type":51,"value":6214},{"type":46,"tag":1052,"props":7138,"children":7139},{"style":1059},[7140],{"type":51,"value":7141}," };",{"type":46,"tag":1052,"props":7143,"children":7144},{"style":1802},[7145],{"type":51,"value":7146}," \u002F\u002F numeric chainId (e.g. 130), NOT \"UNICHAIN\"\n",{"type":46,"tag":1052,"props":7148,"children":7149},{"class":1054,"line":1356},[7150],{"type":46,"tag":1052,"props":7151,"children":7152},{"emptyLinePlaceholder":1900},[7153],{"type":51,"value":1903},{"type":46,"tag":1052,"props":7155,"children":7156},{"class":1054,"line":1365},[7157,7162,7166,7170,7174,7178,7183,7187],{"type":46,"tag":1052,"props":7158,"children":7159},{"style":1792},[7160],{"type":51,"value":7161},"  signature",{"type":46,"tag":1052,"props":7163,"children":7164},{"style":1059},[7165],{"type":51,"value":6418},{"type":46,"tag":1052,"props":7167,"children":7168},{"style":5966},[7169],{"type":51,"value":5969},{"type":46,"tag":1052,"props":7171,"children":7172},{"style":1792},[7173],{"type":51,"value":6645},{"type":46,"tag":1052,"props":7175,"children":7176},{"style":1059},[7177],{"type":51,"value":650},{"type":46,"tag":1052,"props":7179,"children":7180},{"style":5972},[7181],{"type":51,"value":7182},"signTypedData",{"type":46,"tag":1052,"props":7184,"children":7185},{"style":1755},[7186],{"type":51,"value":761},{"type":46,"tag":1052,"props":7188,"children":7189},{"style":1059},[7190],{"type":51,"value":1062},{"type":46,"tag":1052,"props":7192,"children":7193},{"class":1054,"line":1400},[7194,7199],{"type":46,"tag":1052,"props":7195,"children":7196},{"style":1792},[7197],{"type":51,"value":7198},"    domain",{"type":46,"tag":1052,"props":7200,"children":7201},{"style":1059},[7202],{"type":51,"value":1106},{"type":46,"tag":1052,"props":7204,"children":7205},{"class":1054,"line":1947},[7206,7211],{"type":46,"tag":1052,"props":7207,"children":7208},{"style":1792},[7209],{"type":51,"value":7210},"    types",{"type":46,"tag":1052,"props":7212,"children":7213},{"style":1059},[7214],{"type":51,"value":1106},{"type":46,"tag":1052,"props":7216,"children":7217},{"class":1054,"line":1969},[7218,7223,7227,7231,7235,7240],{"type":46,"tag":1052,"props":7219,"children":7220},{"style":1755},[7221],{"type":51,"value":7222},"    message",{"type":46,"tag":1052,"props":7224,"children":7225},{"style":1059},[7226],{"type":51,"value":1086},{"type":46,"tag":1052,"props":7228,"children":7229},{"style":1792},[7230],{"type":51,"value":6400},{"type":46,"tag":1052,"props":7232,"children":7233},{"style":1059},[7234],{"type":51,"value":650},{"type":46,"tag":1052,"props":7236,"children":7237},{"style":1792},[7238],{"type":51,"value":7239},"values",{"type":46,"tag":1052,"props":7241,"children":7242},{"style":1059},[7243],{"type":51,"value":1106},{"type":46,"tag":1052,"props":7245,"children":7246},{"class":1054,"line":2048},[7247,7252,7256,7260,7265,7269],{"type":46,"tag":1052,"props":7248,"children":7249},{"style":1755},[7250],{"type":51,"value":7251},"    primaryType",{"type":46,"tag":1052,"props":7253,"children":7254},{"style":1059},[7255],{"type":51,"value":1086},{"type":46,"tag":1052,"props":7257,"children":7258},{"style":1059},[7259],{"type":51,"value":1984},{"type":46,"tag":1052,"props":7261,"children":7262},{"style":1094},[7263],{"type":51,"value":7264},"PermitBatch",{"type":46,"tag":1052,"props":7266,"children":7267},{"style":1059},[7268],{"type":51,"value":796},{"type":46,"tag":1052,"props":7270,"children":7271},{"style":1059},[7272],{"type":51,"value":1106},{"type":46,"tag":1052,"props":7274,"children":7275},{"class":1054,"line":2069},[7276,7281,7285],{"type":46,"tag":1052,"props":7277,"children":7278},{"style":1059},[7279],{"type":51,"value":7280},"  }",{"type":46,"tag":1052,"props":7282,"children":7283},{"style":1755},[7284],{"type":51,"value":768},{"type":46,"tag":1052,"props":7286,"children":7287},{"style":1059},[7288],{"type":51,"value":1772},{"type":46,"tag":1052,"props":7290,"children":7291},{"class":1054,"line":2077},[7292],{"type":46,"tag":1052,"props":7293,"children":7294},{"style":1059},[7295],{"type":51,"value":1406},{"type":46,"tag":1052,"props":7297,"children":7298},{"class":1054,"line":2085},[7299],{"type":46,"tag":1052,"props":7300,"children":7301},{"emptyLinePlaceholder":1900},[7302],{"type":51,"value":1903},{"type":46,"tag":1052,"props":7304,"children":7305},{"class":1054,"line":2101},[7306],{"type":46,"tag":1052,"props":7307,"children":7308},{"style":1802},[7309],{"type":51,"value":7310},"\u002F\u002F Send the ORIGINAL (un-normalized) permit back to the API, with the signature.\n",{"type":46,"tag":1052,"props":7312,"children":7313},{"class":1054,"line":2122},[7314],{"type":46,"tag":1052,"props":7315,"children":7316},{"style":1802},[7317],{"type":51,"value":7318},"\u002F\u002F \u002Flp\u002Fcreate (uses batchPermitData) ...\n",{"type":46,"tag":1052,"props":7320,"children":7321},{"class":1054,"line":2143},[7322,7326,7331,7335,7339,7343,7348,7352,7357,7361,7365,7369,7374],{"type":46,"tag":1052,"props":7323,"children":7324},{"style":1074},[7325],{"type":51,"value":5953},{"type":46,"tag":1052,"props":7327,"children":7328},{"style":1792},[7329],{"type":51,"value":7330}," createBody ",{"type":46,"tag":1052,"props":7332,"children":7333},{"style":1059},[7334],{"type":51,"value":5963},{"type":46,"tag":1052,"props":7336,"children":7337},{"style":1059},[7338],{"type":51,"value":6056},{"type":46,"tag":1052,"props":7340,"children":7341},{"style":1059},[7342],{"type":51,"value":7115},{"type":46,"tag":1052,"props":7344,"children":7345},{"style":1792},[7346],{"type":51,"value":7347},"createParams",{"type":46,"tag":1052,"props":7349,"children":7350},{"style":1059},[7351],{"type":51,"value":1244},{"type":46,"tag":1052,"props":7353,"children":7354},{"style":1755},[7355],{"type":51,"value":7356}," batchPermitData",{"type":46,"tag":1052,"props":7358,"children":7359},{"style":1059},[7360],{"type":51,"value":1086},{"type":46,"tag":1052,"props":7362,"children":7363},{"style":1792},[7364],{"type":51,"value":6400},{"type":46,"tag":1052,"props":7366,"children":7367},{"style":1059},[7368],{"type":51,"value":1244},{"type":46,"tag":1052,"props":7370,"children":7371},{"style":1792},[7372],{"type":51,"value":7373}," signature ",{"type":46,"tag":1052,"props":7375,"children":7376},{"style":1059},[7377],{"type":51,"value":7378},"};\n",{"type":46,"tag":1052,"props":7380,"children":7381},{"class":1054,"line":2165},[7382],{"type":46,"tag":1052,"props":7383,"children":7384},{"style":1802},[7385],{"type":51,"value":7386},"\u002F\u002F ... or \u002Flp\u002Fincrease (uses v4BatchPermitData)\n",{"type":46,"tag":1052,"props":7388,"children":7390},{"class":1054,"line":7389},21,[7391,7395,7400,7404,7408,7412,7417,7421,7425,7429,7433],{"type":46,"tag":1052,"props":7392,"children":7393},{"style":1074},[7394],{"type":51,"value":5953},{"type":46,"tag":1052,"props":7396,"children":7397},{"style":1792},[7398],{"type":51,"value":7399}," increaseBody ",{"type":46,"tag":1052,"props":7401,"children":7402},{"style":1059},[7403],{"type":51,"value":5963},{"type":46,"tag":1052,"props":7405,"children":7406},{"style":1059},[7407],{"type":51,"value":6056},{"type":46,"tag":1052,"props":7409,"children":7410},{"style":1059},[7411],{"type":51,"value":7115},{"type":46,"tag":1052,"props":7413,"children":7414},{"style":1792},[7415],{"type":51,"value":7416},"increaseParams",{"type":46,"tag":1052,"props":7418,"children":7419},{"style":1059},[7420],{"type":51,"value":1244},{"type":46,"tag":1052,"props":7422,"children":7423},{"style":1792},[7424],{"type":51,"value":6400},{"type":46,"tag":1052,"props":7426,"children":7427},{"style":1059},[7428],{"type":51,"value":1244},{"type":46,"tag":1052,"props":7430,"children":7431},{"style":1792},[7432],{"type":51,"value":7373},{"type":46,"tag":1052,"props":7434,"children":7435},{"style":1059},[7436],{"type":51,"value":7378},{"type":46,"tag":54,"props":7438,"children":7439},{},[7440,7442,7448,7450,7456],{"type":51,"value":7441},"For full typed implementations (v3 NFT permit, ",{"type":46,"tag":85,"props":7443,"children":7445},{"className":7444},[],[7446],{"type":51,"value":7447},"EIP712Domain",{"type":51,"value":7449}," edge cases, migration), see ",{"type":46,"tag":243,"props":7451,"children":7453},{"href":7452},".\u002Freferences\u002Fadvanced-patterns.md#permit-and-approval-deep-dive",[7454],{"type":51,"value":7455},"Advanced Patterns Reference",{"type":51,"value":650},{"type":46,"tag":65,"props":7458,"children":7460},{"id":7459},"critical-implementation-notes",[7461],{"type":51,"value":7462},"Critical Implementation Notes",{"type":46,"tag":442,"props":7464,"children":7466},{"id":7465},"_1-sign-the-wrapped-transaction-not-the-wrapper",[7467],{"type":51,"value":7468},"1. Sign the wrapped transaction, not the wrapper",{"type":46,"tag":54,"props":7470,"children":7471},{},[7472,7477,7479,7485,7487,7493],{"type":46,"tag":85,"props":7473,"children":7475},{"className":7474},[],[7476],{"type":51,"value":308},{"type":51,"value":7478}," returns ",{"type":46,"tag":85,"props":7480,"children":7482},{"className":7481},[],[7483],{"type":51,"value":7484},"transactions: ApprovalTransactionRequest[]",{"type":51,"value":7486},". Each element is ",{"type":46,"tag":85,"props":7488,"children":7490},{"className":7489},[],[7491],{"type":51,"value":7492},"{ transaction, cancelApproval, action, gasFee? }",{"type":51,"value":650},{"type":46,"tag":110,"props":7495,"children":7497},{"className":1725,"code":7496,"language":1727,"meta":115,"style":115},"\u002F\u002F WRONG — signs the wrapper object, not a transaction\nfor (const a of transactions) await walletClient.sendTransaction(a);\n\n\u002F\u002F CORRECT\nfor (const a of transactions) await walletClient.sendTransaction(a.transaction);\n",[7498],{"type":46,"tag":85,"props":7499,"children":7500},{"__ignoreMap":115},[7501,7509,7563,7570,7578],{"type":46,"tag":1052,"props":7502,"children":7503},{"class":1054,"line":1055},[7504],{"type":46,"tag":1052,"props":7505,"children":7506},{"style":1802},[7507],{"type":51,"value":7508},"\u002F\u002F WRONG — signs the wrapper object, not a transaction\n",{"type":46,"tag":1052,"props":7510,"children":7511},{"class":1054,"line":1065},[7512,7516,7520,7524,7529,7533,7537,7542,7546,7550,7554,7559],{"type":46,"tag":1052,"props":7513,"children":7514},{"style":5966},[7515],{"type":51,"value":6553},{"type":46,"tag":1052,"props":7517,"children":7518},{"style":1792},[7519],{"type":51,"value":6297},{"type":46,"tag":1052,"props":7521,"children":7522},{"style":1074},[7523],{"type":51,"value":5953},{"type":46,"tag":1052,"props":7525,"children":7526},{"style":1792},[7527],{"type":51,"value":7528}," a ",{"type":46,"tag":1052,"props":7530,"children":7531},{"style":1059},[7532],{"type":51,"value":6571},{"type":46,"tag":1052,"props":7534,"children":7535},{"style":1792},[7536],{"type":51,"value":6576},{"type":46,"tag":1052,"props":7538,"children":7539},{"style":5966},[7540],{"type":51,"value":7541},"await",{"type":46,"tag":1052,"props":7543,"children":7544},{"style":1792},[7545],{"type":51,"value":6645},{"type":46,"tag":1052,"props":7547,"children":7548},{"style":1059},[7549],{"type":51,"value":650},{"type":46,"tag":1052,"props":7551,"children":7552},{"style":5972},[7553],{"type":51,"value":6654},{"type":46,"tag":1052,"props":7555,"children":7556},{"style":1792},[7557],{"type":51,"value":7558},"(a)",{"type":46,"tag":1052,"props":7560,"children":7561},{"style":1059},[7562],{"type":51,"value":1772},{"type":46,"tag":1052,"props":7564,"children":7565},{"class":1054,"line":1109},[7566],{"type":46,"tag":1052,"props":7567,"children":7568},{"emptyLinePlaceholder":1900},[7569],{"type":51,"value":1903},{"type":46,"tag":1052,"props":7571,"children":7572},{"class":1054,"line":1146},[7573],{"type":46,"tag":1052,"props":7574,"children":7575},{"style":1802},[7576],{"type":51,"value":7577},"\u002F\u002F CORRECT\n",{"type":46,"tag":1052,"props":7579,"children":7580},{"class":1054,"line":1177},[7581,7585,7589,7593,7597,7601,7605,7609,7613,7617,7621,7626,7630,7635],{"type":46,"tag":1052,"props":7582,"children":7583},{"style":5966},[7584],{"type":51,"value":6553},{"type":46,"tag":1052,"props":7586,"children":7587},{"style":1792},[7588],{"type":51,"value":6297},{"type":46,"tag":1052,"props":7590,"children":7591},{"style":1074},[7592],{"type":51,"value":5953},{"type":46,"tag":1052,"props":7594,"children":7595},{"style":1792},[7596],{"type":51,"value":7528},{"type":46,"tag":1052,"props":7598,"children":7599},{"style":1059},[7600],{"type":51,"value":6571},{"type":46,"tag":1052,"props":7602,"children":7603},{"style":1792},[7604],{"type":51,"value":6576},{"type":46,"tag":1052,"props":7606,"children":7607},{"style":5966},[7608],{"type":51,"value":7541},{"type":46,"tag":1052,"props":7610,"children":7611},{"style":1792},[7612],{"type":51,"value":6645},{"type":46,"tag":1052,"props":7614,"children":7615},{"style":1059},[7616],{"type":51,"value":650},{"type":46,"tag":1052,"props":7618,"children":7619},{"style":5972},[7620],{"type":51,"value":6654},{"type":46,"tag":1052,"props":7622,"children":7623},{"style":1792},[7624],{"type":51,"value":7625},"(a",{"type":46,"tag":1052,"props":7627,"children":7628},{"style":1059},[7629],{"type":51,"value":650},{"type":46,"tag":1052,"props":7631,"children":7632},{"style":1792},[7633],{"type":51,"value":7634},"transaction)",{"type":46,"tag":1052,"props":7636,"children":7637},{"style":1059},[7638],{"type":51,"value":1772},{"type":46,"tag":442,"props":7640,"children":7642},{"id":7641},"_2-use-the-contracts-response-field-names",[7643],{"type":51,"value":7644},"2. Use the contract's response field names",{"type":46,"tag":110,"props":7646,"children":7648},{"className":1725,"code":7647,"language":1727,"meta":115,"style":115},"\u002F\u002F WRONG — these names come from the narrative guide, not the contract\nconst { approvals } = await checkApprovalRes.json();\nconst { minPrice, maxPrice } = createResponse;\n\n\u002F\u002F CORRECT\nconst { transactions } = await checkApprovalRes.json();\nconst { adjustedMinPrice, adjustedMaxPrice } = createResponse;\n",[7649],{"type":46,"tag":85,"props":7650,"children":7651},{"__ignoreMap":115},[7652,7660,7709,7751,7758,7765,7813],{"type":46,"tag":1052,"props":7653,"children":7654},{"class":1054,"line":1055},[7655],{"type":46,"tag":1052,"props":7656,"children":7657},{"style":1802},[7658],{"type":51,"value":7659},"\u002F\u002F WRONG — these names come from the narrative guide, not the contract\n",{"type":46,"tag":1052,"props":7661,"children":7662},{"class":1054,"line":1065},[7663,7667,7671,7676,7680,7684,7688,7693,7697,7701,7705],{"type":46,"tag":1052,"props":7664,"children":7665},{"style":1074},[7666],{"type":51,"value":5953},{"type":46,"tag":1052,"props":7668,"children":7669},{"style":1059},[7670],{"type":51,"value":6056},{"type":46,"tag":1052,"props":7672,"children":7673},{"style":1792},[7674],{"type":51,"value":7675}," approvals ",{"type":46,"tag":1052,"props":7677,"children":7678},{"style":1059},[7679],{"type":51,"value":5994},{"type":46,"tag":1052,"props":7681,"children":7682},{"style":1059},[7683],{"type":51,"value":6418},{"type":46,"tag":1052,"props":7685,"children":7686},{"style":5966},[7687],{"type":51,"value":5969},{"type":46,"tag":1052,"props":7689,"children":7690},{"style":1792},[7691],{"type":51,"value":7692}," checkApprovalRes",{"type":46,"tag":1052,"props":7694,"children":7695},{"style":1059},[7696],{"type":51,"value":650},{"type":46,"tag":1052,"props":7698,"children":7699},{"style":5972},[7700],{"type":51,"value":1046},{"type":46,"tag":1052,"props":7702,"children":7703},{"style":1792},[7704],{"type":51,"value":6440},{"type":46,"tag":1052,"props":7706,"children":7707},{"style":1059},[7708],{"type":51,"value":1772},{"type":46,"tag":1052,"props":7710,"children":7711},{"class":1054,"line":1109},[7712,7716,7720,7725,7729,7734,7738,7742,7747],{"type":46,"tag":1052,"props":7713,"children":7714},{"style":1074},[7715],{"type":51,"value":5953},{"type":46,"tag":1052,"props":7717,"children":7718},{"style":1059},[7719],{"type":51,"value":6056},{"type":46,"tag":1052,"props":7721,"children":7722},{"style":1792},[7723],{"type":51,"value":7724}," minPrice",{"type":46,"tag":1052,"props":7726,"children":7727},{"style":1059},[7728],{"type":51,"value":1244},{"type":46,"tag":1052,"props":7730,"children":7731},{"style":1792},[7732],{"type":51,"value":7733}," maxPrice ",{"type":46,"tag":1052,"props":7735,"children":7736},{"style":1059},[7737],{"type":51,"value":5994},{"type":46,"tag":1052,"props":7739,"children":7740},{"style":1059},[7741],{"type":51,"value":6418},{"type":46,"tag":1052,"props":7743,"children":7744},{"style":1792},[7745],{"type":51,"value":7746}," createResponse",{"type":46,"tag":1052,"props":7748,"children":7749},{"style":1059},[7750],{"type":51,"value":1772},{"type":46,"tag":1052,"props":7752,"children":7753},{"class":1054,"line":1146},[7754],{"type":46,"tag":1052,"props":7755,"children":7756},{"emptyLinePlaceholder":1900},[7757],{"type":51,"value":1903},{"type":46,"tag":1052,"props":7759,"children":7760},{"class":1054,"line":1177},[7761],{"type":46,"tag":1052,"props":7762,"children":7763},{"style":1802},[7764],{"type":51,"value":7577},{"type":46,"tag":1052,"props":7766,"children":7767},{"class":1054,"line":1203},[7768,7772,7776,7781,7785,7789,7793,7797,7801,7805,7809],{"type":46,"tag":1052,"props":7769,"children":7770},{"style":1074},[7771],{"type":51,"value":5953},{"type":46,"tag":1052,"props":7773,"children":7774},{"style":1059},[7775],{"type":51,"value":6056},{"type":46,"tag":1052,"props":7777,"children":7778},{"style":1792},[7779],{"type":51,"value":7780}," transactions ",{"type":46,"tag":1052,"props":7782,"children":7783},{"style":1059},[7784],{"type":51,"value":5994},{"type":46,"tag":1052,"props":7786,"children":7787},{"style":1059},[7788],{"type":51,"value":6418},{"type":46,"tag":1052,"props":7790,"children":7791},{"style":5966},[7792],{"type":51,"value":5969},{"type":46,"tag":1052,"props":7794,"children":7795},{"style":1792},[7796],{"type":51,"value":7692},{"type":46,"tag":1052,"props":7798,"children":7799},{"style":1059},[7800],{"type":51,"value":650},{"type":46,"tag":1052,"props":7802,"children":7803},{"style":5972},[7804],{"type":51,"value":1046},{"type":46,"tag":1052,"props":7806,"children":7807},{"style":1792},[7808],{"type":51,"value":6440},{"type":46,"tag":1052,"props":7810,"children":7811},{"style":1059},[7812],{"type":51,"value":1772},{"type":46,"tag":1052,"props":7814,"children":7815},{"class":1054,"line":1282},[7816,7820,7824,7829,7833,7838,7842,7846,7850],{"type":46,"tag":1052,"props":7817,"children":7818},{"style":1074},[7819],{"type":51,"value":5953},{"type":46,"tag":1052,"props":7821,"children":7822},{"style":1059},[7823],{"type":51,"value":6056},{"type":46,"tag":1052,"props":7825,"children":7826},{"style":1792},[7827],{"type":51,"value":7828}," adjustedMinPrice",{"type":46,"tag":1052,"props":7830,"children":7831},{"style":1059},[7832],{"type":51,"value":1244},{"type":46,"tag":1052,"props":7834,"children":7835},{"style":1792},[7836],{"type":51,"value":7837}," adjustedMaxPrice ",{"type":46,"tag":1052,"props":7839,"children":7840},{"style":1059},[7841],{"type":51,"value":5994},{"type":46,"tag":1052,"props":7843,"children":7844},{"style":1059},[7845],{"type":51,"value":6418},{"type":46,"tag":1052,"props":7847,"children":7848},{"style":1792},[7849],{"type":51,"value":7746},{"type":46,"tag":1052,"props":7851,"children":7852},{"style":1059},[7853],{"type":51,"value":1772},{"type":46,"tag":442,"props":7855,"children":7857},{"id":7856},"_3-never-modify-always-validate-the-data-field",[7858,7860,7866],{"type":51,"value":7859},"3. Never modify, always validate the ",{"type":46,"tag":85,"props":7861,"children":7863},{"className":7862},[],[7864],{"type":51,"value":7865},"data",{"type":51,"value":7867}," field",{"type":46,"tag":54,"props":7869,"children":7870},{},[7871,7873,7879,7880,7886,7887,7892,7893,7899],{"type":51,"value":7872},"The ",{"type":46,"tag":85,"props":7874,"children":7876},{"className":7875},[],[7877],{"type":51,"value":7878},"create",{"type":51,"value":3556},{"type":46,"tag":85,"props":7881,"children":7883},{"className":7882},[],[7884],{"type":51,"value":7885},"increase",{"type":51,"value":3556},{"type":46,"tag":85,"props":7888,"children":7890},{"className":7889},[],[7891],{"type":51,"value":5251},{"type":51,"value":3556},{"type":46,"tag":85,"props":7894,"children":7896},{"className":7895},[],[7897],{"type":51,"value":7898},"claim",{"type":51,"value":7900}," field holds pre-validated calldata.",{"type":46,"tag":110,"props":7902,"children":7904},{"className":1725,"code":7903,"language":1727,"meta":115,"style":115},"function validateLpTransaction(tx: TransactionRequest): void {\n  if (!tx.data || tx.data === '' || tx.data === '0x') throw new Error('Empty transaction data');\n  if (!tx.to || !isAddress(tx.to)) throw new Error('Invalid recipient address');\n  if (!tx.from || !isAddress(tx.from)) throw new Error('Invalid sender address');\n  if (tx.maxFeePerGas && tx.gasPrice) throw new Error('Cannot set both maxFeePerGas and gasPrice');\n}\n",[7905],{"type":46,"tag":85,"props":7906,"children":7907},{"__ignoreMap":115},[7908,7952,8083,8183,8280,8363],{"type":46,"tag":1052,"props":7909,"children":7910},{"class":1054,"line":1055},[7911,7916,7921,7925,7930,7934,7938,7943,7948],{"type":46,"tag":1052,"props":7912,"children":7913},{"style":1074},[7914],{"type":51,"value":7915},"function",{"type":46,"tag":1052,"props":7917,"children":7918},{"style":5972},[7919],{"type":51,"value":7920}," validateLpTransaction",{"type":46,"tag":1052,"props":7922,"children":7923},{"style":1059},[7924],{"type":51,"value":761},{"type":46,"tag":1052,"props":7926,"children":7927},{"style":7006},[7928],{"type":51,"value":7929},"tx",{"type":46,"tag":1052,"props":7931,"children":7932},{"style":1059},[7933],{"type":51,"value":1086},{"type":46,"tag":1052,"props":7935,"children":7936},{"style":1216},[7937],{"type":51,"value":1935},{"type":46,"tag":1052,"props":7939,"children":7940},{"style":1059},[7941],{"type":51,"value":7942},"):",{"type":46,"tag":1052,"props":7944,"children":7945},{"style":1216},[7946],{"type":51,"value":7947}," void",{"type":46,"tag":1052,"props":7949,"children":7950},{"style":1059},[7951],{"type":51,"value":1749},{"type":46,"tag":1052,"props":7953,"children":7954},{"class":1054,"line":1065},[7955,7960,7964,7968,7972,7976,7980,7985,7990,7994,7998,8003,8008,8012,8016,8020,8024,8028,8032,8037,8041,8046,8050,8054,8058,8062,8066,8071,8075,8079],{"type":46,"tag":1052,"props":7956,"children":7957},{"style":5966},[7958],{"type":51,"value":7959},"  if",{"type":46,"tag":1052,"props":7961,"children":7962},{"style":1755},[7963],{"type":51,"value":6297},{"type":46,"tag":1052,"props":7965,"children":7966},{"style":1059},[7967],{"type":51,"value":6302},{"type":46,"tag":1052,"props":7969,"children":7970},{"style":1792},[7971],{"type":51,"value":7929},{"type":46,"tag":1052,"props":7973,"children":7974},{"style":1059},[7975],{"type":51,"value":650},{"type":46,"tag":1052,"props":7977,"children":7978},{"style":1792},[7979],{"type":51,"value":7865},{"type":46,"tag":1052,"props":7981,"children":7982},{"style":1059},[7983],{"type":51,"value":7984}," ||",{"type":46,"tag":1052,"props":7986,"children":7987},{"style":1792},[7988],{"type":51,"value":7989}," tx",{"type":46,"tag":1052,"props":7991,"children":7992},{"style":1059},[7993],{"type":51,"value":650},{"type":46,"tag":1052,"props":7995,"children":7996},{"style":1792},[7997],{"type":51,"value":7865},{"type":46,"tag":1052,"props":7999,"children":8000},{"style":1059},[8001],{"type":51,"value":8002}," ===",{"type":46,"tag":1052,"props":8004,"children":8005},{"style":1059},[8006],{"type":51,"value":8007}," ''",{"type":46,"tag":1052,"props":8009,"children":8010},{"style":1059},[8011],{"type":51,"value":7984},{"type":46,"tag":1052,"props":8013,"children":8014},{"style":1792},[8015],{"type":51,"value":7989},{"type":46,"tag":1052,"props":8017,"children":8018},{"style":1059},[8019],{"type":51,"value":650},{"type":46,"tag":1052,"props":8021,"children":8022},{"style":1792},[8023],{"type":51,"value":7865},{"type":46,"tag":1052,"props":8025,"children":8026},{"style":1059},[8027],{"type":51,"value":8002},{"type":46,"tag":1052,"props":8029,"children":8030},{"style":1059},[8031],{"type":51,"value":1984},{"type":46,"tag":1052,"props":8033,"children":8034},{"style":1094},[8035],{"type":51,"value":8036},"0x",{"type":46,"tag":1052,"props":8038,"children":8039},{"style":1059},[8040],{"type":51,"value":796},{"type":46,"tag":1052,"props":8042,"children":8043},{"style":1755},[8044],{"type":51,"value":8045},") ",{"type":46,"tag":1052,"props":8047,"children":8048},{"style":5966},[8049],{"type":51,"value":6321},{"type":46,"tag":1052,"props":8051,"children":8052},{"style":1059},[8053],{"type":51,"value":6326},{"type":46,"tag":1052,"props":8055,"children":8056},{"style":5972},[8057],{"type":51,"value":6331},{"type":46,"tag":1052,"props":8059,"children":8060},{"style":1755},[8061],{"type":51,"value":761},{"type":46,"tag":1052,"props":8063,"children":8064},{"style":1059},[8065],{"type":51,"value":796},{"type":46,"tag":1052,"props":8067,"children":8068},{"style":1094},[8069],{"type":51,"value":8070},"Empty transaction data",{"type":46,"tag":1052,"props":8072,"children":8073},{"style":1059},[8074],{"type":51,"value":796},{"type":46,"tag":1052,"props":8076,"children":8077},{"style":1755},[8078],{"type":51,"value":768},{"type":46,"tag":1052,"props":8080,"children":8081},{"style":1059},[8082],{"type":51,"value":1772},{"type":46,"tag":1052,"props":8084,"children":8085},{"class":1054,"line":1109},[8086,8090,8094,8098,8102,8106,8111,8115,8120,8125,8129,8133,8137,8141,8146,8150,8154,8158,8162,8166,8171,8175,8179],{"type":46,"tag":1052,"props":8087,"children":8088},{"style":5966},[8089],{"type":51,"value":7959},{"type":46,"tag":1052,"props":8091,"children":8092},{"style":1755},[8093],{"type":51,"value":6297},{"type":46,"tag":1052,"props":8095,"children":8096},{"style":1059},[8097],{"type":51,"value":6302},{"type":46,"tag":1052,"props":8099,"children":8100},{"style":1792},[8101],{"type":51,"value":7929},{"type":46,"tag":1052,"props":8103,"children":8104},{"style":1059},[8105],{"type":51,"value":650},{"type":46,"tag":1052,"props":8107,"children":8108},{"style":1792},[8109],{"type":51,"value":8110},"to",{"type":46,"tag":1052,"props":8112,"children":8113},{"style":1059},[8114],{"type":51,"value":7984},{"type":46,"tag":1052,"props":8116,"children":8117},{"style":1059},[8118],{"type":51,"value":8119}," !",{"type":46,"tag":1052,"props":8121,"children":8122},{"style":5972},[8123],{"type":51,"value":8124},"isAddress",{"type":46,"tag":1052,"props":8126,"children":8127},{"style":1755},[8128],{"type":51,"value":761},{"type":46,"tag":1052,"props":8130,"children":8131},{"style":1792},[8132],{"type":51,"value":7929},{"type":46,"tag":1052,"props":8134,"children":8135},{"style":1059},[8136],{"type":51,"value":650},{"type":46,"tag":1052,"props":8138,"children":8139},{"style":1792},[8140],{"type":51,"value":8110},{"type":46,"tag":1052,"props":8142,"children":8143},{"style":1755},[8144],{"type":51,"value":8145},")) ",{"type":46,"tag":1052,"props":8147,"children":8148},{"style":5966},[8149],{"type":51,"value":6321},{"type":46,"tag":1052,"props":8151,"children":8152},{"style":1059},[8153],{"type":51,"value":6326},{"type":46,"tag":1052,"props":8155,"children":8156},{"style":5972},[8157],{"type":51,"value":6331},{"type":46,"tag":1052,"props":8159,"children":8160},{"style":1755},[8161],{"type":51,"value":761},{"type":46,"tag":1052,"props":8163,"children":8164},{"style":1059},[8165],{"type":51,"value":796},{"type":46,"tag":1052,"props":8167,"children":8168},{"style":1094},[8169],{"type":51,"value":8170},"Invalid recipient address",{"type":46,"tag":1052,"props":8172,"children":8173},{"style":1059},[8174],{"type":51,"value":796},{"type":46,"tag":1052,"props":8176,"children":8177},{"style":1755},[8178],{"type":51,"value":768},{"type":46,"tag":1052,"props":8180,"children":8181},{"style":1059},[8182],{"type":51,"value":1772},{"type":46,"tag":1052,"props":8184,"children":8185},{"class":1054,"line":1146},[8186,8190,8194,8198,8202,8206,8211,8215,8219,8223,8227,8231,8235,8239,8243,8247,8251,8255,8259,8263,8268,8272,8276],{"type":46,"tag":1052,"props":8187,"children":8188},{"style":5966},[8189],{"type":51,"value":7959},{"type":46,"tag":1052,"props":8191,"children":8192},{"style":1755},[8193],{"type":51,"value":6297},{"type":46,"tag":1052,"props":8195,"children":8196},{"style":1059},[8197],{"type":51,"value":6302},{"type":46,"tag":1052,"props":8199,"children":8200},{"style":1792},[8201],{"type":51,"value":7929},{"type":46,"tag":1052,"props":8203,"children":8204},{"style":1059},[8205],{"type":51,"value":650},{"type":46,"tag":1052,"props":8207,"children":8208},{"style":1792},[8209],{"type":51,"value":8210},"from",{"type":46,"tag":1052,"props":8212,"children":8213},{"style":1059},[8214],{"type":51,"value":7984},{"type":46,"tag":1052,"props":8216,"children":8217},{"style":1059},[8218],{"type":51,"value":8119},{"type":46,"tag":1052,"props":8220,"children":8221},{"style":5972},[8222],{"type":51,"value":8124},{"type":46,"tag":1052,"props":8224,"children":8225},{"style":1755},[8226],{"type":51,"value":761},{"type":46,"tag":1052,"props":8228,"children":8229},{"style":1792},[8230],{"type":51,"value":7929},{"type":46,"tag":1052,"props":8232,"children":8233},{"style":1059},[8234],{"type":51,"value":650},{"type":46,"tag":1052,"props":8236,"children":8237},{"style":1792},[8238],{"type":51,"value":8210},{"type":46,"tag":1052,"props":8240,"children":8241},{"style":1755},[8242],{"type":51,"value":8145},{"type":46,"tag":1052,"props":8244,"children":8245},{"style":5966},[8246],{"type":51,"value":6321},{"type":46,"tag":1052,"props":8248,"children":8249},{"style":1059},[8250],{"type":51,"value":6326},{"type":46,"tag":1052,"props":8252,"children":8253},{"style":5972},[8254],{"type":51,"value":6331},{"type":46,"tag":1052,"props":8256,"children":8257},{"style":1755},[8258],{"type":51,"value":761},{"type":46,"tag":1052,"props":8260,"children":8261},{"style":1059},[8262],{"type":51,"value":796},{"type":46,"tag":1052,"props":8264,"children":8265},{"style":1094},[8266],{"type":51,"value":8267},"Invalid sender address",{"type":46,"tag":1052,"props":8269,"children":8270},{"style":1059},[8271],{"type":51,"value":796},{"type":46,"tag":1052,"props":8273,"children":8274},{"style":1755},[8275],{"type":51,"value":768},{"type":46,"tag":1052,"props":8277,"children":8278},{"style":1059},[8279],{"type":51,"value":1772},{"type":46,"tag":1052,"props":8281,"children":8282},{"class":1054,"line":1177},[8283,8287,8291,8295,8299,8304,8309,8313,8317,8322,8326,8330,8334,8338,8342,8346,8351,8355,8359],{"type":46,"tag":1052,"props":8284,"children":8285},{"style":5966},[8286],{"type":51,"value":7959},{"type":46,"tag":1052,"props":8288,"children":8289},{"style":1755},[8290],{"type":51,"value":6297},{"type":46,"tag":1052,"props":8292,"children":8293},{"style":1792},[8294],{"type":51,"value":7929},{"type":46,"tag":1052,"props":8296,"children":8297},{"style":1059},[8298],{"type":51,"value":650},{"type":46,"tag":1052,"props":8300,"children":8301},{"style":1792},[8302],{"type":51,"value":8303},"maxFeePerGas",{"type":46,"tag":1052,"props":8305,"children":8306},{"style":1059},[8307],{"type":51,"value":8308}," &&",{"type":46,"tag":1052,"props":8310,"children":8311},{"style":1792},[8312],{"type":51,"value":7989},{"type":46,"tag":1052,"props":8314,"children":8315},{"style":1059},[8316],{"type":51,"value":650},{"type":46,"tag":1052,"props":8318,"children":8319},{"style":1792},[8320],{"type":51,"value":8321},"gasPrice",{"type":46,"tag":1052,"props":8323,"children":8324},{"style":1755},[8325],{"type":51,"value":8045},{"type":46,"tag":1052,"props":8327,"children":8328},{"style":5966},[8329],{"type":51,"value":6321},{"type":46,"tag":1052,"props":8331,"children":8332},{"style":1059},[8333],{"type":51,"value":6326},{"type":46,"tag":1052,"props":8335,"children":8336},{"style":5972},[8337],{"type":51,"value":6331},{"type":46,"tag":1052,"props":8339,"children":8340},{"style":1755},[8341],{"type":51,"value":761},{"type":46,"tag":1052,"props":8343,"children":8344},{"style":1059},[8345],{"type":51,"value":796},{"type":46,"tag":1052,"props":8347,"children":8348},{"style":1094},[8349],{"type":51,"value":8350},"Cannot set both maxFeePerGas and gasPrice",{"type":46,"tag":1052,"props":8352,"children":8353},{"style":1059},[8354],{"type":51,"value":796},{"type":46,"tag":1052,"props":8356,"children":8357},{"style":1755},[8358],{"type":51,"value":768},{"type":46,"tag":1052,"props":8360,"children":8361},{"style":1059},[8362],{"type":51,"value":1772},{"type":46,"tag":1052,"props":8364,"children":8365},{"class":1054,"line":1203},[8366],{"type":46,"tag":1052,"props":8367,"children":8368},{"style":1059},[8369],{"type":51,"value":1406},{"type":46,"tag":54,"props":8371,"children":8372},{},[8373],{"type":51,"value":8374},"Never edit the calldata — modifying it can cause reverts or loss of funds.",{"type":46,"tag":442,"props":8376,"children":8378},{"id":8377},"_4-transactions-are-time-sensitive",[8379],{"type":51,"value":8380},"4. Transactions are time-sensitive",{"type":46,"tag":54,"props":8382,"children":8383},{},[8384],{"type":51,"value":8385},"Pool price moves. If the user takes more than ~30 seconds to review, refetch the transaction before broadcasting.",{"type":46,"tag":110,"props":8387,"children":8389},{"className":1725,"code":8388,"language":1727,"meta":115,"style":115},"const TX_EXPIRY_MS = 30_000;\nconst builtAt = Date.now();\n\u002F\u002F ... user reviews ...\nif (Date.now() - builtAt > TX_EXPIRY_MS) lpTx = await refetchLpTransaction(params);\n",[8390],{"type":46,"tag":85,"props":8391,"children":8392},{"__ignoreMap":115},[8393,8418,8456,8464],{"type":46,"tag":1052,"props":8394,"children":8395},{"class":1054,"line":1055},[8396,8400,8405,8409,8414],{"type":46,"tag":1052,"props":8397,"children":8398},{"style":1074},[8399],{"type":51,"value":5953},{"type":46,"tag":1052,"props":8401,"children":8402},{"style":1792},[8403],{"type":51,"value":8404}," TX_EXPIRY_MS ",{"type":46,"tag":1052,"props":8406,"children":8407},{"style":1059},[8408],{"type":51,"value":5963},{"type":46,"tag":1052,"props":8410,"children":8411},{"style":1167},[8412],{"type":51,"value":8413}," 30_000",{"type":46,"tag":1052,"props":8415,"children":8416},{"style":1059},[8417],{"type":51,"value":1772},{"type":46,"tag":1052,"props":8419,"children":8420},{"class":1054,"line":1065},[8421,8425,8430,8434,8439,8443,8448,8452],{"type":46,"tag":1052,"props":8422,"children":8423},{"style":1074},[8424],{"type":51,"value":5953},{"type":46,"tag":1052,"props":8426,"children":8427},{"style":1792},[8428],{"type":51,"value":8429}," builtAt ",{"type":46,"tag":1052,"props":8431,"children":8432},{"style":1059},[8433],{"type":51,"value":5963},{"type":46,"tag":1052,"props":8435,"children":8436},{"style":1792},[8437],{"type":51,"value":8438}," Date",{"type":46,"tag":1052,"props":8440,"children":8441},{"style":1059},[8442],{"type":51,"value":650},{"type":46,"tag":1052,"props":8444,"children":8445},{"style":5972},[8446],{"type":51,"value":8447},"now",{"type":46,"tag":1052,"props":8449,"children":8450},{"style":1792},[8451],{"type":51,"value":6440},{"type":46,"tag":1052,"props":8453,"children":8454},{"style":1059},[8455],{"type":51,"value":1772},{"type":46,"tag":1052,"props":8457,"children":8458},{"class":1054,"line":1109},[8459],{"type":46,"tag":1052,"props":8460,"children":8461},{"style":1802},[8462],{"type":51,"value":8463},"\u002F\u002F ... user reviews ...\n",{"type":46,"tag":1052,"props":8465,"children":8466},{"class":1054,"line":1146},[8467,8471,8476,8480,8484,8489,8494,8498,8502,8507,8511,8515,8520,8525],{"type":46,"tag":1052,"props":8468,"children":8469},{"style":5966},[8470],{"type":51,"value":6292},{"type":46,"tag":1052,"props":8472,"children":8473},{"style":1792},[8474],{"type":51,"value":8475}," (Date",{"type":46,"tag":1052,"props":8477,"children":8478},{"style":1059},[8479],{"type":51,"value":650},{"type":46,"tag":1052,"props":8481,"children":8482},{"style":5972},[8483],{"type":51,"value":8447},{"type":46,"tag":1052,"props":8485,"children":8486},{"style":1792},[8487],{"type":51,"value":8488},"() ",{"type":46,"tag":1052,"props":8490,"children":8491},{"style":1059},[8492],{"type":51,"value":8493},"-",{"type":46,"tag":1052,"props":8495,"children":8496},{"style":1792},[8497],{"type":51,"value":8429},{"type":46,"tag":1052,"props":8499,"children":8500},{"style":1059},[8501],{"type":51,"value":775},{"type":46,"tag":1052,"props":8503,"children":8504},{"style":1792},[8505],{"type":51,"value":8506}," TX_EXPIRY_MS) lpTx ",{"type":46,"tag":1052,"props":8508,"children":8509},{"style":1059},[8510],{"type":51,"value":5963},{"type":46,"tag":1052,"props":8512,"children":8513},{"style":5966},[8514],{"type":51,"value":5969},{"type":46,"tag":1052,"props":8516,"children":8517},{"style":5972},[8518],{"type":51,"value":8519}," refetchLpTransaction",{"type":46,"tag":1052,"props":8521,"children":8522},{"style":1792},[8523],{"type":51,"value":8524},"(params)",{"type":46,"tag":1052,"props":8526,"children":8527},{"style":1059},[8528],{"type":51,"value":1772},{"type":46,"tag":442,"props":8530,"children":8532},{"id":8531},"_5-amounts-are-wei-strings",[8533],{"type":51,"value":8534},"5. Amounts are wei strings",{"type":46,"tag":54,"props":8536,"children":8537},{},[8538,8540,8545,8547,8553],{"type":51,"value":8539},"All ",{"type":46,"tag":85,"props":8541,"children":8543},{"className":8542},[],[8544],{"type":51,"value":1253},{"type":51,"value":8546}," fields are integer strings in the token's smallest unit. Convert with ",{"type":46,"tag":85,"props":8548,"children":8550},{"className":8549},[],[8551],{"type":51,"value":8552},"parseUnits(value, decimals).toString()",{"type":51,"value":8554}," — never send ether-denominated decimals.",{"type":46,"tag":442,"props":8556,"children":8558},{"id":8557},"_6-strip-undefined-optional-fields",[8559],{"type":51,"value":8560},"6. Strip undefined optional fields",{"type":46,"tag":54,"props":8562,"children":8563},{},[8564,8566,8571,8572,8577,8579,8585],{"type":51,"value":8565},"Send permit fields as a matched pair (",{"type":46,"tag":85,"props":8567,"children":8569},{"className":8568},[],[8570],{"type":51,"value":3203},{"type":51,"value":3205},{"type":46,"tag":85,"props":8573,"children":8575},{"className":8574},[],[8576],{"type":51,"value":3211},{"type":51,"value":8578},") or omit both. Do not send ",{"type":46,"tag":85,"props":8580,"children":8582},{"className":8581},[],[8583],{"type":51,"value":8584},"signature: undefined",{"type":51,"value":8586}," alongside a present permit, or vice versa.",{"type":46,"tag":65,"props":8588,"children":8590},{"id":8589},"worked-example-create-a-v3-position-viem",[8591],{"type":51,"value":8592},"Worked Example: Create a v3 Position (viem)",{"type":46,"tag":110,"props":8594,"children":8596},{"className":1725,"code":8595,"language":1727,"meta":115,"style":115},"import { createWalletClient, createPublicClient, http, isAddress, parseUnits } from 'viem';\nimport { mainnet } from 'viem\u002Fchains';\nimport { privateKeyToAccount } from 'viem\u002Faccounts';\n\nconst LP_API_BASE_URL = 'https:\u002F\u002Fliquidity.api.uniswap.org';\nconst API_KEY = process.env.UNISWAP_API_KEY!; \u002F\u002F never hardcode\n\nconst account = privateKeyToAccount(process.env.PRIVATE_KEY as `0x${string}`);\nconst walletClient = createWalletClient({\n  account,\n  chain: mainnet,\n  transport: http(process.env.RPC_URL),\n});\nconst publicClient = createPublicClient({ chain: mainnet, transport: http(process.env.RPC_URL) });\n\nconst headers = {\n  'x-api-key': API_KEY,\n  'Content-Type': 'application\u002Fjson',\n  Accept: 'application\u002Fjson',\n};\n\nasync function lpFetch(path: string, body: object) {\n  const res = await fetch(`${LP_API_BASE_URL}${path}`, {\n    method: 'POST',\n    headers,\n    body: JSON.stringify(body),\n  });\n  if (!res.ok) throw new Error(`${path} failed: ${res.status} ${await res.text()}`);\n  return res.json();\n}\n\n\u002F\u002F Same checks as the canonical validateLpTransaction in \"Critical Implementation Notes\" above.\nfunction validateLpTransaction(tx: any) {\n  if (!tx || !tx.data || tx.data === '' || tx.data === '0x')\n    throw new Error('Empty transaction data');\n  if (!tx.to || !isAddress(tx.to)) throw new Error('Invalid recipient address');\n  if (!tx.from || !isAddress(tx.from)) throw new Error('Invalid sender address');\n  if (tx.maxFeePerGas && tx.gasPrice) throw new Error('Cannot set both maxFeePerGas and gasPrice');\n}\n\nasync function createV3Position() {\n  const protocol = 'V3';\n  const chainId = 1;\n  const token0Address = '0x1f9840a85d5af5bf1d1762f925bdaddc4201f984'; \u002F\u002F UNI\n  const token1Address = '0xdAC17F958D2ee523a2206206994597C13D831ec7'; \u002F\u002F USDT\n  const independentToken = { tokenAddress: token0Address, amount: parseUnits('10', 18).toString() };\n\n  \u002F\u002F 1. Approvals\n  const { transactions } = await lpFetch('\u002Flp\u002Fcheck_approval', {\n    walletAddress: account.address,\n    protocol,\n    chainId,\n    lpTokens: [independentToken],\n    action: 'CREATE',\n  });\n  for (const a of transactions) {\n    validateLpTransaction(a.transaction);\n    const hash = await walletClient.sendTransaction(a.transaction);\n    await publicClient.waitForTransactionReceipt({ hash });\n  }\n\n  \u002F\u002F 2. Build the create transaction\n  const created = await lpFetch('\u002Flp\u002Fcreate', {\n    walletAddress: account.address,\n    chainId,\n    protocol,\n    independentToken,\n    existingPool: {\n      token0Address,\n      token1Address,\n      poolReference: '0x3470447f3cecffac709d3e783a307790b0208d60',\n    },\n    priceBounds: {\n      minPrice: '0.00000000000324',\n      maxPrice: '0.00000000000393',\n      quotedTokenAddress: token1Address,\n    },\n    simulateTransaction: true,\n  });\n\n  \u002F\u002F 3. CONFIRM WITH USER before broadcasting (use AskUserQuestion in the skill flow):\n  \u002F\u002F    pair, amounts (created.token0 \u002F created.token1), adjusted range\n  \u002F\u002F    (created.adjustedMinPrice \u002F created.adjustedMaxPrice), created.gasFee\n  validateLpTransaction(created.create);\n  const hash = await walletClient.sendTransaction(created.create);\n  return publicClient.waitForTransactionReceipt({ hash });\n}\n",[8597],{"type":46,"tag":85,"props":8598,"children":8599},{"__ignoreMap":115},[8600,8679,8720,8761,8768,8800,8849,8856,8933,8961,8973,8993,9034,9049,9140,9147,9167,9195,9230,9258,9265,9272,9334,9391,9420,9433,9475,9491,9614,9643,9651,9659,9668,9704,9805,9845,9941,10037,10117,10125,10133,10158,10190,10214,10252,10290,10388,10396,10405,10461,10492,10505,10518,10548,10577,10593,10632,10665,10722,10767,10776,10784,10793,10842,10870,10882,10894,10907,10924,10937,10950,10979,10988,11005,11034,11063,11084,11092,11115,11131,11139,11148,11157,11166,11199,11255,11299],{"type":46,"tag":1052,"props":8601,"children":8602},{"class":1054,"line":1055},[8603,8608,8612,8617,8621,8626,8630,8635,8639,8644,8648,8653,8657,8662,8666,8671,8675],{"type":46,"tag":1052,"props":8604,"children":8605},{"style":5966},[8606],{"type":51,"value":8607},"import",{"type":46,"tag":1052,"props":8609,"children":8610},{"style":1059},[8611],{"type":51,"value":6056},{"type":46,"tag":1052,"props":8613,"children":8614},{"style":1792},[8615],{"type":51,"value":8616}," createWalletClient",{"type":46,"tag":1052,"props":8618,"children":8619},{"style":1059},[8620],{"type":51,"value":1244},{"type":46,"tag":1052,"props":8622,"children":8623},{"style":1792},[8624],{"type":51,"value":8625}," createPublicClient",{"type":46,"tag":1052,"props":8627,"children":8628},{"style":1059},[8629],{"type":51,"value":1244},{"type":46,"tag":1052,"props":8631,"children":8632},{"style":1792},[8633],{"type":51,"value":8634}," http",{"type":46,"tag":1052,"props":8636,"children":8637},{"style":1059},[8638],{"type":51,"value":1244},{"type":46,"tag":1052,"props":8640,"children":8641},{"style":1792},[8642],{"type":51,"value":8643}," isAddress",{"type":46,"tag":1052,"props":8645,"children":8646},{"style":1059},[8647],{"type":51,"value":1244},{"type":46,"tag":1052,"props":8649,"children":8650},{"style":1792},[8651],{"type":51,"value":8652}," parseUnits",{"type":46,"tag":1052,"props":8654,"children":8655},{"style":1059},[8656],{"type":51,"value":6261},{"type":46,"tag":1052,"props":8658,"children":8659},{"style":5966},[8660],{"type":51,"value":8661}," from",{"type":46,"tag":1052,"props":8663,"children":8664},{"style":1059},[8665],{"type":51,"value":1984},{"type":46,"tag":1052,"props":8667,"children":8668},{"style":1094},[8669],{"type":51,"value":8670},"viem",{"type":46,"tag":1052,"props":8672,"children":8673},{"style":1059},[8674],{"type":51,"value":796},{"type":46,"tag":1052,"props":8676,"children":8677},{"style":1059},[8678],{"type":51,"value":1772},{"type":46,"tag":1052,"props":8680,"children":8681},{"class":1054,"line":1065},[8682,8686,8690,8695,8699,8703,8707,8712,8716],{"type":46,"tag":1052,"props":8683,"children":8684},{"style":5966},[8685],{"type":51,"value":8607},{"type":46,"tag":1052,"props":8687,"children":8688},{"style":1059},[8689],{"type":51,"value":6056},{"type":46,"tag":1052,"props":8691,"children":8692},{"style":1792},[8693],{"type":51,"value":8694}," mainnet",{"type":46,"tag":1052,"props":8696,"children":8697},{"style":1059},[8698],{"type":51,"value":6261},{"type":46,"tag":1052,"props":8700,"children":8701},{"style":5966},[8702],{"type":51,"value":8661},{"type":46,"tag":1052,"props":8704,"children":8705},{"style":1059},[8706],{"type":51,"value":1984},{"type":46,"tag":1052,"props":8708,"children":8709},{"style":1094},[8710],{"type":51,"value":8711},"viem\u002Fchains",{"type":46,"tag":1052,"props":8713,"children":8714},{"style":1059},[8715],{"type":51,"value":796},{"type":46,"tag":1052,"props":8717,"children":8718},{"style":1059},[8719],{"type":51,"value":1772},{"type":46,"tag":1052,"props":8721,"children":8722},{"class":1054,"line":1109},[8723,8727,8731,8736,8740,8744,8748,8753,8757],{"type":46,"tag":1052,"props":8724,"children":8725},{"style":5966},[8726],{"type":51,"value":8607},{"type":46,"tag":1052,"props":8728,"children":8729},{"style":1059},[8730],{"type":51,"value":6056},{"type":46,"tag":1052,"props":8732,"children":8733},{"style":1792},[8734],{"type":51,"value":8735}," privateKeyToAccount",{"type":46,"tag":1052,"props":8737,"children":8738},{"style":1059},[8739],{"type":51,"value":6261},{"type":46,"tag":1052,"props":8741,"children":8742},{"style":5966},[8743],{"type":51,"value":8661},{"type":46,"tag":1052,"props":8745,"children":8746},{"style":1059},[8747],{"type":51,"value":1984},{"type":46,"tag":1052,"props":8749,"children":8750},{"style":1094},[8751],{"type":51,"value":8752},"viem\u002Faccounts",{"type":46,"tag":1052,"props":8754,"children":8755},{"style":1059},[8756],{"type":51,"value":796},{"type":46,"tag":1052,"props":8758,"children":8759},{"style":1059},[8760],{"type":51,"value":1772},{"type":46,"tag":1052,"props":8762,"children":8763},{"class":1054,"line":1146},[8764],{"type":46,"tag":1052,"props":8765,"children":8766},{"emptyLinePlaceholder":1900},[8767],{"type":51,"value":1903},{"type":46,"tag":1052,"props":8769,"children":8770},{"class":1054,"line":1177},[8771,8775,8780,8784,8788,8792,8796],{"type":46,"tag":1052,"props":8772,"children":8773},{"style":1074},[8774],{"type":51,"value":5953},{"type":46,"tag":1052,"props":8776,"children":8777},{"style":1792},[8778],{"type":51,"value":8779}," LP_API_BASE_URL ",{"type":46,"tag":1052,"props":8781,"children":8782},{"style":1059},[8783],{"type":51,"value":5963},{"type":46,"tag":1052,"props":8785,"children":8786},{"style":1059},[8787],{"type":51,"value":1984},{"type":46,"tag":1052,"props":8789,"children":8790},{"style":1094},[8791],{"type":51,"value":161},{"type":46,"tag":1052,"props":8793,"children":8794},{"style":1059},[8795],{"type":51,"value":796},{"type":46,"tag":1052,"props":8797,"children":8798},{"style":1059},[8799],{"type":51,"value":1772},{"type":46,"tag":1052,"props":8801,"children":8802},{"class":1054,"line":1203},[8803,8807,8812,8816,8821,8825,8830,8834,8839,8844],{"type":46,"tag":1052,"props":8804,"children":8805},{"style":1074},[8806],{"type":51,"value":5953},{"type":46,"tag":1052,"props":8808,"children":8809},{"style":1792},[8810],{"type":51,"value":8811}," API_KEY ",{"type":46,"tag":1052,"props":8813,"children":8814},{"style":1059},[8815],{"type":51,"value":5963},{"type":46,"tag":1052,"props":8817,"children":8818},{"style":1792},[8819],{"type":51,"value":8820}," process",{"type":46,"tag":1052,"props":8822,"children":8823},{"style":1059},[8824],{"type":51,"value":650},{"type":46,"tag":1052,"props":8826,"children":8827},{"style":1792},[8828],{"type":51,"value":8829},"env",{"type":46,"tag":1052,"props":8831,"children":8832},{"style":1059},[8833],{"type":51,"value":650},{"type":46,"tag":1052,"props":8835,"children":8836},{"style":1792},[8837],{"type":51,"value":8838},"UNISWAP_API_KEY",{"type":46,"tag":1052,"props":8840,"children":8841},{"style":1059},[8842],{"type":51,"value":8843},"!;",{"type":46,"tag":1052,"props":8845,"children":8846},{"style":1802},[8847],{"type":51,"value":8848}," \u002F\u002F never hardcode\n",{"type":46,"tag":1052,"props":8850,"children":8851},{"class":1054,"line":1282},[8852],{"type":46,"tag":1052,"props":8853,"children":8854},{"emptyLinePlaceholder":1900},[8855],{"type":51,"value":1903},{"type":46,"tag":1052,"props":8857,"children":8858},{"class":1054,"line":1356},[8859,8863,8868,8872,8876,8881,8885,8889,8893,8898,8903,8908,8912,8916,8921,8925,8929],{"type":46,"tag":1052,"props":8860,"children":8861},{"style":1074},[8862],{"type":51,"value":5953},{"type":46,"tag":1052,"props":8864,"children":8865},{"style":1792},[8866],{"type":51,"value":8867}," account ",{"type":46,"tag":1052,"props":8869,"children":8870},{"style":1059},[8871],{"type":51,"value":5963},{"type":46,"tag":1052,"props":8873,"children":8874},{"style":5972},[8875],{"type":51,"value":8735},{"type":46,"tag":1052,"props":8877,"children":8878},{"style":1792},[8879],{"type":51,"value":8880},"(process",{"type":46,"tag":1052,"props":8882,"children":8883},{"style":1059},[8884],{"type":51,"value":650},{"type":46,"tag":1052,"props":8886,"children":8887},{"style":1792},[8888],{"type":51,"value":8829},{"type":46,"tag":1052,"props":8890,"children":8891},{"style":1059},[8892],{"type":51,"value":650},{"type":46,"tag":1052,"props":8894,"children":8895},{"style":1792},[8896],{"type":51,"value":8897},"PRIVATE_KEY ",{"type":46,"tag":1052,"props":8899,"children":8900},{"style":5966},[8901],{"type":51,"value":8902},"as",{"type":46,"tag":1052,"props":8904,"children":8905},{"style":1059},[8906],{"type":51,"value":8907}," `",{"type":46,"tag":1052,"props":8909,"children":8910},{"style":1094},[8911],{"type":51,"value":8036},{"type":46,"tag":1052,"props":8913,"children":8914},{"style":1059},[8915],{"type":51,"value":6349},{"type":46,"tag":1052,"props":8917,"children":8918},{"style":1216},[8919],{"type":51,"value":8920},"string",{"type":46,"tag":1052,"props":8922,"children":8923},{"style":1059},[8924],{"type":51,"value":6367},{"type":46,"tag":1052,"props":8926,"children":8927},{"style":1792},[8928],{"type":51,"value":768},{"type":46,"tag":1052,"props":8930,"children":8931},{"style":1059},[8932],{"type":51,"value":1772},{"type":46,"tag":1052,"props":8934,"children":8935},{"class":1054,"line":1365},[8936,8940,8945,8949,8953,8957],{"type":46,"tag":1052,"props":8937,"children":8938},{"style":1074},[8939],{"type":51,"value":5953},{"type":46,"tag":1052,"props":8941,"children":8942},{"style":1792},[8943],{"type":51,"value":8944}," walletClient ",{"type":46,"tag":1052,"props":8946,"children":8947},{"style":1059},[8948],{"type":51,"value":5963},{"type":46,"tag":1052,"props":8950,"children":8951},{"style":5972},[8952],{"type":51,"value":8616},{"type":46,"tag":1052,"props":8954,"children":8955},{"style":1792},[8956],{"type":51,"value":761},{"type":46,"tag":1052,"props":8958,"children":8959},{"style":1059},[8960],{"type":51,"value":1062},{"type":46,"tag":1052,"props":8962,"children":8963},{"class":1054,"line":1400},[8964,8969],{"type":46,"tag":1052,"props":8965,"children":8966},{"style":1792},[8967],{"type":51,"value":8968},"  account",{"type":46,"tag":1052,"props":8970,"children":8971},{"style":1059},[8972],{"type":51,"value":1106},{"type":46,"tag":1052,"props":8974,"children":8975},{"class":1054,"line":1947},[8976,8981,8985,8989],{"type":46,"tag":1052,"props":8977,"children":8978},{"style":1755},[8979],{"type":51,"value":8980},"  chain",{"type":46,"tag":1052,"props":8982,"children":8983},{"style":1059},[8984],{"type":51,"value":1086},{"type":46,"tag":1052,"props":8986,"children":8987},{"style":1792},[8988],{"type":51,"value":8694},{"type":46,"tag":1052,"props":8990,"children":8991},{"style":1059},[8992],{"type":51,"value":1106},{"type":46,"tag":1052,"props":8994,"children":8995},{"class":1054,"line":1969},[8996,9001,9005,9009,9013,9017,9021,9025,9030],{"type":46,"tag":1052,"props":8997,"children":8998},{"style":1755},[8999],{"type":51,"value":9000},"  transport",{"type":46,"tag":1052,"props":9002,"children":9003},{"style":1059},[9004],{"type":51,"value":1086},{"type":46,"tag":1052,"props":9006,"children":9007},{"style":5972},[9008],{"type":51,"value":8634},{"type":46,"tag":1052,"props":9010,"children":9011},{"style":1792},[9012],{"type":51,"value":8880},{"type":46,"tag":1052,"props":9014,"children":9015},{"style":1059},[9016],{"type":51,"value":650},{"type":46,"tag":1052,"props":9018,"children":9019},{"style":1792},[9020],{"type":51,"value":8829},{"type":46,"tag":1052,"props":9022,"children":9023},{"style":1059},[9024],{"type":51,"value":650},{"type":46,"tag":1052,"props":9026,"children":9027},{"style":1792},[9028],{"type":51,"value":9029},"RPC_URL)",{"type":46,"tag":1052,"props":9031,"children":9032},{"style":1059},[9033],{"type":51,"value":1106},{"type":46,"tag":1052,"props":9035,"children":9036},{"class":1054,"line":2048},[9037,9041,9045],{"type":46,"tag":1052,"props":9038,"children":9039},{"style":1059},[9040],{"type":51,"value":5994},{"type":46,"tag":1052,"props":9042,"children":9043},{"style":1792},[9044],{"type":51,"value":768},{"type":46,"tag":1052,"props":9046,"children":9047},{"style":1059},[9048],{"type":51,"value":1772},{"type":46,"tag":1052,"props":9050,"children":9051},{"class":1054,"line":2069},[9052,9056,9061,9065,9069,9073,9077,9082,9086,9090,9094,9099,9103,9107,9111,9115,9119,9123,9128,9132,9136],{"type":46,"tag":1052,"props":9053,"children":9054},{"style":1074},[9055],{"type":51,"value":5953},{"type":46,"tag":1052,"props":9057,"children":9058},{"style":1792},[9059],{"type":51,"value":9060}," publicClient ",{"type":46,"tag":1052,"props":9062,"children":9063},{"style":1059},[9064],{"type":51,"value":5963},{"type":46,"tag":1052,"props":9066,"children":9067},{"style":5972},[9068],{"type":51,"value":8625},{"type":46,"tag":1052,"props":9070,"children":9071},{"style":1792},[9072],{"type":51,"value":761},{"type":46,"tag":1052,"props":9074,"children":9075},{"style":1059},[9076],{"type":51,"value":6175},{"type":46,"tag":1052,"props":9078,"children":9079},{"style":1755},[9080],{"type":51,"value":9081}," chain",{"type":46,"tag":1052,"props":9083,"children":9084},{"style":1059},[9085],{"type":51,"value":1086},{"type":46,"tag":1052,"props":9087,"children":9088},{"style":1792},[9089],{"type":51,"value":8694},{"type":46,"tag":1052,"props":9091,"children":9092},{"style":1059},[9093],{"type":51,"value":1244},{"type":46,"tag":1052,"props":9095,"children":9096},{"style":1755},[9097],{"type":51,"value":9098}," transport",{"type":46,"tag":1052,"props":9100,"children":9101},{"style":1059},[9102],{"type":51,"value":1086},{"type":46,"tag":1052,"props":9104,"children":9105},{"style":5972},[9106],{"type":51,"value":8634},{"type":46,"tag":1052,"props":9108,"children":9109},{"style":1792},[9110],{"type":51,"value":8880},{"type":46,"tag":1052,"props":9112,"children":9113},{"style":1059},[9114],{"type":51,"value":650},{"type":46,"tag":1052,"props":9116,"children":9117},{"style":1792},[9118],{"type":51,"value":8829},{"type":46,"tag":1052,"props":9120,"children":9121},{"style":1059},[9122],{"type":51,"value":650},{"type":46,"tag":1052,"props":9124,"children":9125},{"style":1792},[9126],{"type":51,"value":9127},"RPC_URL) ",{"type":46,"tag":1052,"props":9129,"children":9130},{"style":1059},[9131],{"type":51,"value":5994},{"type":46,"tag":1052,"props":9133,"children":9134},{"style":1792},[9135],{"type":51,"value":768},{"type":46,"tag":1052,"props":9137,"children":9138},{"style":1059},[9139],{"type":51,"value":1772},{"type":46,"tag":1052,"props":9141,"children":9142},{"class":1054,"line":2077},[9143],{"type":46,"tag":1052,"props":9144,"children":9145},{"emptyLinePlaceholder":1900},[9146],{"type":51,"value":1903},{"type":46,"tag":1052,"props":9148,"children":9149},{"class":1054,"line":2085},[9150,9154,9159,9163],{"type":46,"tag":1052,"props":9151,"children":9152},{"style":1074},[9153],{"type":51,"value":5953},{"type":46,"tag":1052,"props":9155,"children":9156},{"style":1792},[9157],{"type":51,"value":9158}," headers ",{"type":46,"tag":1052,"props":9160,"children":9161},{"style":1059},[9162],{"type":51,"value":5963},{"type":46,"tag":1052,"props":9164,"children":9165},{"style":1059},[9166],{"type":51,"value":1749},{"type":46,"tag":1052,"props":9168,"children":9169},{"class":1054,"line":2101},[9170,9175,9179,9183,9187,9191],{"type":46,"tag":1052,"props":9171,"children":9172},{"style":1059},[9173],{"type":51,"value":9174},"  '",{"type":46,"tag":1052,"props":9176,"children":9177},{"style":1755},[9178],{"type":51,"value":196},{"type":46,"tag":1052,"props":9180,"children":9181},{"style":1059},[9182],{"type":51,"value":796},{"type":46,"tag":1052,"props":9184,"children":9185},{"style":1059},[9186],{"type":51,"value":1086},{"type":46,"tag":1052,"props":9188,"children":9189},{"style":1792},[9190],{"type":51,"value":6077},{"type":46,"tag":1052,"props":9192,"children":9193},{"style":1059},[9194],{"type":51,"value":1106},{"type":46,"tag":1052,"props":9196,"children":9197},{"class":1054,"line":2122},[9198,9202,9206,9210,9214,9218,9222,9226],{"type":46,"tag":1052,"props":9199,"children":9200},{"style":1059},[9201],{"type":51,"value":9174},{"type":46,"tag":1052,"props":9203,"children":9204},{"style":1755},[9205],{"type":51,"value":6090},{"type":46,"tag":1052,"props":9207,"children":9208},{"style":1059},[9209],{"type":51,"value":796},{"type":46,"tag":1052,"props":9211,"children":9212},{"style":1059},[9213],{"type":51,"value":1086},{"type":46,"tag":1052,"props":9215,"children":9216},{"style":1059},[9217],{"type":51,"value":1984},{"type":46,"tag":1052,"props":9219,"children":9220},{"style":1094},[9221],{"type":51,"value":6107},{"type":46,"tag":1052,"props":9223,"children":9224},{"style":1059},[9225],{"type":51,"value":796},{"type":46,"tag":1052,"props":9227,"children":9228},{"style":1059},[9229],{"type":51,"value":1106},{"type":46,"tag":1052,"props":9231,"children":9232},{"class":1054,"line":2143},[9233,9238,9242,9246,9250,9254],{"type":46,"tag":1052,"props":9234,"children":9235},{"style":1755},[9236],{"type":51,"value":9237},"  Accept",{"type":46,"tag":1052,"props":9239,"children":9240},{"style":1059},[9241],{"type":51,"value":1086},{"type":46,"tag":1052,"props":9243,"children":9244},{"style":1059},[9245],{"type":51,"value":1984},{"type":46,"tag":1052,"props":9247,"children":9248},{"style":1094},[9249],{"type":51,"value":6107},{"type":46,"tag":1052,"props":9251,"children":9252},{"style":1059},[9253],{"type":51,"value":796},{"type":46,"tag":1052,"props":9255,"children":9256},{"style":1059},[9257],{"type":51,"value":1106},{"type":46,"tag":1052,"props":9259,"children":9260},{"class":1054,"line":2165},[9261],{"type":46,"tag":1052,"props":9262,"children":9263},{"style":1059},[9264],{"type":51,"value":7378},{"type":46,"tag":1052,"props":9266,"children":9267},{"class":1054,"line":7389},[9268],{"type":46,"tag":1052,"props":9269,"children":9270},{"emptyLinePlaceholder":1900},[9271],{"type":51,"value":1903},{"type":46,"tag":1052,"props":9273,"children":9275},{"class":1054,"line":9274},22,[9276,9281,9286,9291,9295,9300,9304,9308,9312,9317,9321,9326,9330],{"type":46,"tag":1052,"props":9277,"children":9278},{"style":1074},[9279],{"type":51,"value":9280},"async",{"type":46,"tag":1052,"props":9282,"children":9283},{"style":1074},[9284],{"type":51,"value":9285}," function",{"type":46,"tag":1052,"props":9287,"children":9288},{"style":5972},[9289],{"type":51,"value":9290}," lpFetch",{"type":46,"tag":1052,"props":9292,"children":9293},{"style":1059},[9294],{"type":51,"value":761},{"type":46,"tag":1052,"props":9296,"children":9297},{"style":7006},[9298],{"type":51,"value":9299},"path",{"type":46,"tag":1052,"props":9301,"children":9302},{"style":1059},[9303],{"type":51,"value":1086},{"type":46,"tag":1052,"props":9305,"children":9306},{"style":1216},[9307],{"type":51,"value":1767},{"type":46,"tag":1052,"props":9309,"children":9310},{"style":1059},[9311],{"type":51,"value":1244},{"type":46,"tag":1052,"props":9313,"children":9314},{"style":7006},[9315],{"type":51,"value":9316}," body",{"type":46,"tag":1052,"props":9318,"children":9319},{"style":1059},[9320],{"type":51,"value":1086},{"type":46,"tag":1052,"props":9322,"children":9323},{"style":1216},[9324],{"type":51,"value":9325}," object",{"type":46,"tag":1052,"props":9327,"children":9328},{"style":1059},[9329],{"type":51,"value":768},{"type":46,"tag":1052,"props":9331,"children":9332},{"style":1059},[9333],{"type":51,"value":1749},{"type":46,"tag":1052,"props":9335,"children":9337},{"class":1054,"line":9336},23,[9338,9342,9346,9350,9354,9358,9362,9366,9370,9375,9379,9383,9387],{"type":46,"tag":1052,"props":9339,"children":9340},{"style":1074},[9341],{"type":51,"value":6627},{"type":46,"tag":1052,"props":9343,"children":9344},{"style":1792},[9345],{"type":51,"value":6427},{"type":46,"tag":1052,"props":9347,"children":9348},{"style":1059},[9349],{"type":51,"value":6418},{"type":46,"tag":1052,"props":9351,"children":9352},{"style":5966},[9353],{"type":51,"value":5969},{"type":46,"tag":1052,"props":9355,"children":9356},{"style":5972},[9357],{"type":51,"value":5975},{"type":46,"tag":1052,"props":9359,"children":9360},{"style":1755},[9361],{"type":51,"value":761},{"type":46,"tag":1052,"props":9363,"children":9364},{"style":1059},[9365],{"type":51,"value":5984},{"type":46,"tag":1052,"props":9367,"children":9368},{"style":1792},[9369],{"type":51,"value":5989},{"type":46,"tag":1052,"props":9371,"children":9372},{"style":1059},[9373],{"type":51,"value":9374},"}${",{"type":46,"tag":1052,"props":9376,"children":9377},{"style":1792},[9378],{"type":51,"value":9299},{"type":46,"tag":1052,"props":9380,"children":9381},{"style":1059},[9382],{"type":51,"value":6367},{"type":46,"tag":1052,"props":9384,"children":9385},{"style":1059},[9386],{"type":51,"value":1244},{"type":46,"tag":1052,"props":9388,"children":9389},{"style":1059},[9390],{"type":51,"value":1749},{"type":46,"tag":1052,"props":9392,"children":9394},{"class":1054,"line":9393},24,[9395,9400,9404,9408,9412,9416],{"type":46,"tag":1052,"props":9396,"children":9397},{"style":1755},[9398],{"type":51,"value":9399},"    method",{"type":46,"tag":1052,"props":9401,"children":9402},{"style":1059},[9403],{"type":51,"value":1086},{"type":46,"tag":1052,"props":9405,"children":9406},{"style":1059},[9407],{"type":51,"value":1984},{"type":46,"tag":1052,"props":9409,"children":9410},{"style":1094},[9411],{"type":51,"value":6031},{"type":46,"tag":1052,"props":9413,"children":9414},{"style":1059},[9415],{"type":51,"value":796},{"type":46,"tag":1052,"props":9417,"children":9418},{"style":1059},[9419],{"type":51,"value":1106},{"type":46,"tag":1052,"props":9421,"children":9423},{"class":1054,"line":9422},25,[9424,9429],{"type":46,"tag":1052,"props":9425,"children":9426},{"style":1792},[9427],{"type":51,"value":9428},"    headers",{"type":46,"tag":1052,"props":9430,"children":9431},{"style":1059},[9432],{"type":51,"value":1106},{"type":46,"tag":1052,"props":9434,"children":9436},{"class":1054,"line":9435},26,[9437,9442,9446,9450,9454,9458,9462,9467,9471],{"type":46,"tag":1052,"props":9438,"children":9439},{"style":1755},[9440],{"type":51,"value":9441},"    body",{"type":46,"tag":1052,"props":9443,"children":9444},{"style":1059},[9445],{"type":51,"value":1086},{"type":46,"tag":1052,"props":9447,"children":9448},{"style":1792},[9449],{"type":51,"value":6157},{"type":46,"tag":1052,"props":9451,"children":9452},{"style":1059},[9453],{"type":51,"value":650},{"type":46,"tag":1052,"props":9455,"children":9456},{"style":5972},[9457],{"type":51,"value":6166},{"type":46,"tag":1052,"props":9459,"children":9460},{"style":1755},[9461],{"type":51,"value":761},{"type":46,"tag":1052,"props":9463,"children":9464},{"style":1792},[9465],{"type":51,"value":9466},"body",{"type":46,"tag":1052,"props":9468,"children":9469},{"style":1755},[9470],{"type":51,"value":768},{"type":46,"tag":1052,"props":9472,"children":9473},{"style":1059},[9474],{"type":51,"value":1106},{"type":46,"tag":1052,"props":9476,"children":9478},{"class":1054,"line":9477},27,[9479,9483,9487],{"type":46,"tag":1052,"props":9480,"children":9481},{"style":1059},[9482],{"type":51,"value":7280},{"type":46,"tag":1052,"props":9484,"children":9485},{"style":1755},[9486],{"type":51,"value":768},{"type":46,"tag":1052,"props":9488,"children":9489},{"style":1059},[9490],{"type":51,"value":1772},{"type":46,"tag":1052,"props":9492,"children":9494},{"class":1054,"line":9493},28,[9495,9499,9503,9507,9511,9515,9520,9524,9528,9532,9536,9540,9544,9548,9552,9557,9561,9565,9569,9573,9577,9582,9586,9590,9594,9598,9602,9606,9610],{"type":46,"tag":1052,"props":9496,"children":9497},{"style":5966},[9498],{"type":51,"value":7959},{"type":46,"tag":1052,"props":9500,"children":9501},{"style":1755},[9502],{"type":51,"value":6297},{"type":46,"tag":1052,"props":9504,"children":9505},{"style":1059},[9506],{"type":51,"value":6302},{"type":46,"tag":1052,"props":9508,"children":9509},{"style":1792},[9510],{"type":51,"value":6307},{"type":46,"tag":1052,"props":9512,"children":9513},{"style":1059},[9514],{"type":51,"value":650},{"type":46,"tag":1052,"props":9516,"children":9517},{"style":1792},[9518],{"type":51,"value":9519},"ok",{"type":46,"tag":1052,"props":9521,"children":9522},{"style":1755},[9523],{"type":51,"value":8045},{"type":46,"tag":1052,"props":9525,"children":9526},{"style":5966},[9527],{"type":51,"value":6321},{"type":46,"tag":1052,"props":9529,"children":9530},{"style":1059},[9531],{"type":51,"value":6326},{"type":46,"tag":1052,"props":9533,"children":9534},{"style":5972},[9535],{"type":51,"value":6331},{"type":46,"tag":1052,"props":9537,"children":9538},{"style":1755},[9539],{"type":51,"value":761},{"type":46,"tag":1052,"props":9541,"children":9542},{"style":1059},[9543],{"type":51,"value":5984},{"type":46,"tag":1052,"props":9545,"children":9546},{"style":1792},[9547],{"type":51,"value":9299},{"type":46,"tag":1052,"props":9549,"children":9550},{"style":1059},[9551],{"type":51,"value":5994},{"type":46,"tag":1052,"props":9553,"children":9554},{"style":1094},[9555],{"type":51,"value":9556}," failed: ",{"type":46,"tag":1052,"props":9558,"children":9559},{"style":1059},[9560],{"type":51,"value":6349},{"type":46,"tag":1052,"props":9562,"children":9563},{"style":1792},[9564],{"type":51,"value":6307},{"type":46,"tag":1052,"props":9566,"children":9567},{"style":1059},[9568],{"type":51,"value":650},{"type":46,"tag":1052,"props":9570,"children":9571},{"style":1792},[9572],{"type":51,"value":6362},{"type":46,"tag":1052,"props":9574,"children":9575},{"style":1059},[9576],{"type":51,"value":5994},{"type":46,"tag":1052,"props":9578,"children":9579},{"style":1059},[9580],{"type":51,"value":9581}," ${",{"type":46,"tag":1052,"props":9583,"children":9584},{"style":5966},[9585],{"type":51,"value":7541},{"type":46,"tag":1052,"props":9587,"children":9588},{"style":1792},[9589],{"type":51,"value":6427},{"type":46,"tag":1052,"props":9591,"children":9592},{"style":1059},[9593],{"type":51,"value":650},{"type":46,"tag":1052,"props":9595,"children":9596},{"style":5972},[9597],{"type":51,"value":51},{"type":46,"tag":1052,"props":9599,"children":9600},{"style":1792},[9601],{"type":51,"value":6440},{"type":46,"tag":1052,"props":9603,"children":9604},{"style":1059},[9605],{"type":51,"value":6367},{"type":46,"tag":1052,"props":9607,"children":9608},{"style":1755},[9609],{"type":51,"value":768},{"type":46,"tag":1052,"props":9611,"children":9612},{"style":1059},[9613],{"type":51,"value":1772},{"type":46,"tag":1052,"props":9615,"children":9617},{"class":1054,"line":9616},29,[9618,9623,9627,9631,9635,9639],{"type":46,"tag":1052,"props":9619,"children":9620},{"style":5966},[9621],{"type":51,"value":9622},"  return",{"type":46,"tag":1052,"props":9624,"children":9625},{"style":1792},[9626],{"type":51,"value":6427},{"type":46,"tag":1052,"props":9628,"children":9629},{"style":1059},[9630],{"type":51,"value":650},{"type":46,"tag":1052,"props":9632,"children":9633},{"style":5972},[9634],{"type":51,"value":1046},{"type":46,"tag":1052,"props":9636,"children":9637},{"style":1755},[9638],{"type":51,"value":6440},{"type":46,"tag":1052,"props":9640,"children":9641},{"style":1059},[9642],{"type":51,"value":1772},{"type":46,"tag":1052,"props":9644,"children":9646},{"class":1054,"line":9645},30,[9647],{"type":46,"tag":1052,"props":9648,"children":9649},{"style":1059},[9650],{"type":51,"value":1406},{"type":46,"tag":1052,"props":9652,"children":9654},{"class":1054,"line":9653},31,[9655],{"type":46,"tag":1052,"props":9656,"children":9657},{"emptyLinePlaceholder":1900},[9658],{"type":51,"value":1903},{"type":46,"tag":1052,"props":9660,"children":9662},{"class":1054,"line":9661},32,[9663],{"type":46,"tag":1052,"props":9664,"children":9665},{"style":1802},[9666],{"type":51,"value":9667},"\u002F\u002F Same checks as the canonical validateLpTransaction in \"Critical Implementation Notes\" above.\n",{"type":46,"tag":1052,"props":9669,"children":9671},{"class":1054,"line":9670},33,[9672,9676,9680,9684,9688,9692,9696,9700],{"type":46,"tag":1052,"props":9673,"children":9674},{"style":1074},[9675],{"type":51,"value":7915},{"type":46,"tag":1052,"props":9677,"children":9678},{"style":5972},[9679],{"type":51,"value":7920},{"type":46,"tag":1052,"props":9681,"children":9682},{"style":1059},[9683],{"type":51,"value":761},{"type":46,"tag":1052,"props":9685,"children":9686},{"style":7006},[9687],{"type":51,"value":7929},{"type":46,"tag":1052,"props":9689,"children":9690},{"style":1059},[9691],{"type":51,"value":1086},{"type":46,"tag":1052,"props":9693,"children":9694},{"style":1216},[9695],{"type":51,"value":7060},{"type":46,"tag":1052,"props":9697,"children":9698},{"style":1059},[9699],{"type":51,"value":768},{"type":46,"tag":1052,"props":9701,"children":9702},{"style":1059},[9703],{"type":51,"value":1749},{"type":46,"tag":1052,"props":9705,"children":9707},{"class":1054,"line":9706},34,[9708,9712,9716,9720,9724,9728,9732,9736,9740,9744,9748,9752,9756,9760,9764,9768,9772,9776,9780,9784,9788,9792,9796,9800],{"type":46,"tag":1052,"props":9709,"children":9710},{"style":5966},[9711],{"type":51,"value":7959},{"type":46,"tag":1052,"props":9713,"children":9714},{"style":1755},[9715],{"type":51,"value":6297},{"type":46,"tag":1052,"props":9717,"children":9718},{"style":1059},[9719],{"type":51,"value":6302},{"type":46,"tag":1052,"props":9721,"children":9722},{"style":1792},[9723],{"type":51,"value":7929},{"type":46,"tag":1052,"props":9725,"children":9726},{"style":1059},[9727],{"type":51,"value":7984},{"type":46,"tag":1052,"props":9729,"children":9730},{"style":1059},[9731],{"type":51,"value":8119},{"type":46,"tag":1052,"props":9733,"children":9734},{"style":1792},[9735],{"type":51,"value":7929},{"type":46,"tag":1052,"props":9737,"children":9738},{"style":1059},[9739],{"type":51,"value":650},{"type":46,"tag":1052,"props":9741,"children":9742},{"style":1792},[9743],{"type":51,"value":7865},{"type":46,"tag":1052,"props":9745,"children":9746},{"style":1059},[9747],{"type":51,"value":7984},{"type":46,"tag":1052,"props":9749,"children":9750},{"style":1792},[9751],{"type":51,"value":7989},{"type":46,"tag":1052,"props":9753,"children":9754},{"style":1059},[9755],{"type":51,"value":650},{"type":46,"tag":1052,"props":9757,"children":9758},{"style":1792},[9759],{"type":51,"value":7865},{"type":46,"tag":1052,"props":9761,"children":9762},{"style":1059},[9763],{"type":51,"value":8002},{"type":46,"tag":1052,"props":9765,"children":9766},{"style":1059},[9767],{"type":51,"value":8007},{"type":46,"tag":1052,"props":9769,"children":9770},{"style":1059},[9771],{"type":51,"value":7984},{"type":46,"tag":1052,"props":9773,"children":9774},{"style":1792},[9775],{"type":51,"value":7989},{"type":46,"tag":1052,"props":9777,"children":9778},{"style":1059},[9779],{"type":51,"value":650},{"type":46,"tag":1052,"props":9781,"children":9782},{"style":1792},[9783],{"type":51,"value":7865},{"type":46,"tag":1052,"props":9785,"children":9786},{"style":1059},[9787],{"type":51,"value":8002},{"type":46,"tag":1052,"props":9789,"children":9790},{"style":1059},[9791],{"type":51,"value":1984},{"type":46,"tag":1052,"props":9793,"children":9794},{"style":1094},[9795],{"type":51,"value":8036},{"type":46,"tag":1052,"props":9797,"children":9798},{"style":1059},[9799],{"type":51,"value":796},{"type":46,"tag":1052,"props":9801,"children":9802},{"style":1755},[9803],{"type":51,"value":9804},")\n",{"type":46,"tag":1052,"props":9806,"children":9807},{"class":1054,"line":29},[9808,9813,9817,9821,9825,9829,9833,9837,9841],{"type":46,"tag":1052,"props":9809,"children":9810},{"style":5966},[9811],{"type":51,"value":9812},"    throw",{"type":46,"tag":1052,"props":9814,"children":9815},{"style":1059},[9816],{"type":51,"value":6326},{"type":46,"tag":1052,"props":9818,"children":9819},{"style":5972},[9820],{"type":51,"value":6331},{"type":46,"tag":1052,"props":9822,"children":9823},{"style":1755},[9824],{"type":51,"value":761},{"type":46,"tag":1052,"props":9826,"children":9827},{"style":1059},[9828],{"type":51,"value":796},{"type":46,"tag":1052,"props":9830,"children":9831},{"style":1094},[9832],{"type":51,"value":8070},{"type":46,"tag":1052,"props":9834,"children":9835},{"style":1059},[9836],{"type":51,"value":796},{"type":46,"tag":1052,"props":9838,"children":9839},{"style":1755},[9840],{"type":51,"value":768},{"type":46,"tag":1052,"props":9842,"children":9843},{"style":1059},[9844],{"type":51,"value":1772},{"type":46,"tag":1052,"props":9846,"children":9848},{"class":1054,"line":9847},36,[9849,9853,9857,9861,9865,9869,9873,9877,9881,9885,9889,9893,9897,9901,9905,9909,9913,9917,9921,9925,9929,9933,9937],{"type":46,"tag":1052,"props":9850,"children":9851},{"style":5966},[9852],{"type":51,"value":7959},{"type":46,"tag":1052,"props":9854,"children":9855},{"style":1755},[9856],{"type":51,"value":6297},{"type":46,"tag":1052,"props":9858,"children":9859},{"style":1059},[9860],{"type":51,"value":6302},{"type":46,"tag":1052,"props":9862,"children":9863},{"style":1792},[9864],{"type":51,"value":7929},{"type":46,"tag":1052,"props":9866,"children":9867},{"style":1059},[9868],{"type":51,"value":650},{"type":46,"tag":1052,"props":9870,"children":9871},{"style":1792},[9872],{"type":51,"value":8110},{"type":46,"tag":1052,"props":9874,"children":9875},{"style":1059},[9876],{"type":51,"value":7984},{"type":46,"tag":1052,"props":9878,"children":9879},{"style":1059},[9880],{"type":51,"value":8119},{"type":46,"tag":1052,"props":9882,"children":9883},{"style":5972},[9884],{"type":51,"value":8124},{"type":46,"tag":1052,"props":9886,"children":9887},{"style":1755},[9888],{"type":51,"value":761},{"type":46,"tag":1052,"props":9890,"children":9891},{"style":1792},[9892],{"type":51,"value":7929},{"type":46,"tag":1052,"props":9894,"children":9895},{"style":1059},[9896],{"type":51,"value":650},{"type":46,"tag":1052,"props":9898,"children":9899},{"style":1792},[9900],{"type":51,"value":8110},{"type":46,"tag":1052,"props":9902,"children":9903},{"style":1755},[9904],{"type":51,"value":8145},{"type":46,"tag":1052,"props":9906,"children":9907},{"style":5966},[9908],{"type":51,"value":6321},{"type":46,"tag":1052,"props":9910,"children":9911},{"style":1059},[9912],{"type":51,"value":6326},{"type":46,"tag":1052,"props":9914,"children":9915},{"style":5972},[9916],{"type":51,"value":6331},{"type":46,"tag":1052,"props":9918,"children":9919},{"style":1755},[9920],{"type":51,"value":761},{"type":46,"tag":1052,"props":9922,"children":9923},{"style":1059},[9924],{"type":51,"value":796},{"type":46,"tag":1052,"props":9926,"children":9927},{"style":1094},[9928],{"type":51,"value":8170},{"type":46,"tag":1052,"props":9930,"children":9931},{"style":1059},[9932],{"type":51,"value":796},{"type":46,"tag":1052,"props":9934,"children":9935},{"style":1755},[9936],{"type":51,"value":768},{"type":46,"tag":1052,"props":9938,"children":9939},{"style":1059},[9940],{"type":51,"value":1772},{"type":46,"tag":1052,"props":9942,"children":9944},{"class":1054,"line":9943},37,[9945,9949,9953,9957,9961,9965,9969,9973,9977,9981,9985,9989,9993,9997,10001,10005,10009,10013,10017,10021,10025,10029,10033],{"type":46,"tag":1052,"props":9946,"children":9947},{"style":5966},[9948],{"type":51,"value":7959},{"type":46,"tag":1052,"props":9950,"children":9951},{"style":1755},[9952],{"type":51,"value":6297},{"type":46,"tag":1052,"props":9954,"children":9955},{"style":1059},[9956],{"type":51,"value":6302},{"type":46,"tag":1052,"props":9958,"children":9959},{"style":1792},[9960],{"type":51,"value":7929},{"type":46,"tag":1052,"props":9962,"children":9963},{"style":1059},[9964],{"type":51,"value":650},{"type":46,"tag":1052,"props":9966,"children":9967},{"style":1792},[9968],{"type":51,"value":8210},{"type":46,"tag":1052,"props":9970,"children":9971},{"style":1059},[9972],{"type":51,"value":7984},{"type":46,"tag":1052,"props":9974,"children":9975},{"style":1059},[9976],{"type":51,"value":8119},{"type":46,"tag":1052,"props":9978,"children":9979},{"style":5972},[9980],{"type":51,"value":8124},{"type":46,"tag":1052,"props":9982,"children":9983},{"style":1755},[9984],{"type":51,"value":761},{"type":46,"tag":1052,"props":9986,"children":9987},{"style":1792},[9988],{"type":51,"value":7929},{"type":46,"tag":1052,"props":9990,"children":9991},{"style":1059},[9992],{"type":51,"value":650},{"type":46,"tag":1052,"props":9994,"children":9995},{"style":1792},[9996],{"type":51,"value":8210},{"type":46,"tag":1052,"props":9998,"children":9999},{"style":1755},[10000],{"type":51,"value":8145},{"type":46,"tag":1052,"props":10002,"children":10003},{"style":5966},[10004],{"type":51,"value":6321},{"type":46,"tag":1052,"props":10006,"children":10007},{"style":1059},[10008],{"type":51,"value":6326},{"type":46,"tag":1052,"props":10010,"children":10011},{"style":5972},[10012],{"type":51,"value":6331},{"type":46,"tag":1052,"props":10014,"children":10015},{"style":1755},[10016],{"type":51,"value":761},{"type":46,"tag":1052,"props":10018,"children":10019},{"style":1059},[10020],{"type":51,"value":796},{"type":46,"tag":1052,"props":10022,"children":10023},{"style":1094},[10024],{"type":51,"value":8267},{"type":46,"tag":1052,"props":10026,"children":10027},{"style":1059},[10028],{"type":51,"value":796},{"type":46,"tag":1052,"props":10030,"children":10031},{"style":1755},[10032],{"type":51,"value":768},{"type":46,"tag":1052,"props":10034,"children":10035},{"style":1059},[10036],{"type":51,"value":1772},{"type":46,"tag":1052,"props":10038,"children":10040},{"class":1054,"line":10039},38,[10041,10045,10049,10053,10057,10061,10065,10069,10073,10077,10081,10085,10089,10093,10097,10101,10105,10109,10113],{"type":46,"tag":1052,"props":10042,"children":10043},{"style":5966},[10044],{"type":51,"value":7959},{"type":46,"tag":1052,"props":10046,"children":10047},{"style":1755},[10048],{"type":51,"value":6297},{"type":46,"tag":1052,"props":10050,"children":10051},{"style":1792},[10052],{"type":51,"value":7929},{"type":46,"tag":1052,"props":10054,"children":10055},{"style":1059},[10056],{"type":51,"value":650},{"type":46,"tag":1052,"props":10058,"children":10059},{"style":1792},[10060],{"type":51,"value":8303},{"type":46,"tag":1052,"props":10062,"children":10063},{"style":1059},[10064],{"type":51,"value":8308},{"type":46,"tag":1052,"props":10066,"children":10067},{"style":1792},[10068],{"type":51,"value":7989},{"type":46,"tag":1052,"props":10070,"children":10071},{"style":1059},[10072],{"type":51,"value":650},{"type":46,"tag":1052,"props":10074,"children":10075},{"style":1792},[10076],{"type":51,"value":8321},{"type":46,"tag":1052,"props":10078,"children":10079},{"style":1755},[10080],{"type":51,"value":8045},{"type":46,"tag":1052,"props":10082,"children":10083},{"style":5966},[10084],{"type":51,"value":6321},{"type":46,"tag":1052,"props":10086,"children":10087},{"style":1059},[10088],{"type":51,"value":6326},{"type":46,"tag":1052,"props":10090,"children":10091},{"style":5972},[10092],{"type":51,"value":6331},{"type":46,"tag":1052,"props":10094,"children":10095},{"style":1755},[10096],{"type":51,"value":761},{"type":46,"tag":1052,"props":10098,"children":10099},{"style":1059},[10100],{"type":51,"value":796},{"type":46,"tag":1052,"props":10102,"children":10103},{"style":1094},[10104],{"type":51,"value":8350},{"type":46,"tag":1052,"props":10106,"children":10107},{"style":1059},[10108],{"type":51,"value":796},{"type":46,"tag":1052,"props":10110,"children":10111},{"style":1755},[10112],{"type":51,"value":768},{"type":46,"tag":1052,"props":10114,"children":10115},{"style":1059},[10116],{"type":51,"value":1772},{"type":46,"tag":1052,"props":10118,"children":10120},{"class":1054,"line":10119},39,[10121],{"type":46,"tag":1052,"props":10122,"children":10123},{"style":1059},[10124],{"type":51,"value":1406},{"type":46,"tag":1052,"props":10126,"children":10128},{"class":1054,"line":10127},40,[10129],{"type":46,"tag":1052,"props":10130,"children":10131},{"emptyLinePlaceholder":1900},[10132],{"type":51,"value":1903},{"type":46,"tag":1052,"props":10134,"children":10136},{"class":1054,"line":10135},41,[10137,10141,10145,10150,10154],{"type":46,"tag":1052,"props":10138,"children":10139},{"style":1074},[10140],{"type":51,"value":9280},{"type":46,"tag":1052,"props":10142,"children":10143},{"style":1074},[10144],{"type":51,"value":9285},{"type":46,"tag":1052,"props":10146,"children":10147},{"style":5972},[10148],{"type":51,"value":10149}," createV3Position",{"type":46,"tag":1052,"props":10151,"children":10152},{"style":1059},[10153],{"type":51,"value":6440},{"type":46,"tag":1052,"props":10155,"children":10156},{"style":1059},[10157],{"type":51,"value":1749},{"type":46,"tag":1052,"props":10159,"children":10161},{"class":1054,"line":10160},42,[10162,10166,10170,10174,10178,10182,10186],{"type":46,"tag":1052,"props":10163,"children":10164},{"style":1074},[10165],{"type":51,"value":6627},{"type":46,"tag":1052,"props":10167,"children":10168},{"style":1792},[10169],{"type":51,"value":6189},{"type":46,"tag":1052,"props":10171,"children":10172},{"style":1059},[10173],{"type":51,"value":6418},{"type":46,"tag":1052,"props":10175,"children":10176},{"style":1059},[10177],{"type":51,"value":1984},{"type":46,"tag":1052,"props":10179,"children":10180},{"style":1094},[10181],{"type":51,"value":520},{"type":46,"tag":1052,"props":10183,"children":10184},{"style":1059},[10185],{"type":51,"value":796},{"type":46,"tag":1052,"props":10187,"children":10188},{"style":1059},[10189],{"type":51,"value":1772},{"type":46,"tag":1052,"props":10191,"children":10193},{"class":1054,"line":10192},43,[10194,10198,10202,10206,10210],{"type":46,"tag":1052,"props":10195,"children":10196},{"style":1074},[10197],{"type":51,"value":6627},{"type":46,"tag":1052,"props":10199,"children":10200},{"style":1792},[10201],{"type":51,"value":6214},{"type":46,"tag":1052,"props":10203,"children":10204},{"style":1059},[10205],{"type":51,"value":6418},{"type":46,"tag":1052,"props":10207,"children":10208},{"style":1167},[10209],{"type":51,"value":1170},{"type":46,"tag":1052,"props":10211,"children":10212},{"style":1059},[10213],{"type":51,"value":1772},{"type":46,"tag":1052,"props":10215,"children":10217},{"class":1054,"line":10216},44,[10218,10222,10227,10231,10235,10239,10243,10247],{"type":46,"tag":1052,"props":10219,"children":10220},{"style":1074},[10221],{"type":51,"value":6627},{"type":46,"tag":1052,"props":10223,"children":10224},{"style":1792},[10225],{"type":51,"value":10226}," token0Address",{"type":46,"tag":1052,"props":10228,"children":10229},{"style":1059},[10230],{"type":51,"value":6418},{"type":46,"tag":1052,"props":10232,"children":10233},{"style":1059},[10234],{"type":51,"value":1984},{"type":46,"tag":1052,"props":10236,"children":10237},{"style":1094},[10238],{"type":51,"value":2589},{"type":46,"tag":1052,"props":10240,"children":10241},{"style":1059},[10242],{"type":51,"value":796},{"type":46,"tag":1052,"props":10244,"children":10245},{"style":1059},[10246],{"type":51,"value":725},{"type":46,"tag":1052,"props":10248,"children":10249},{"style":1802},[10250],{"type":51,"value":10251}," \u002F\u002F UNI\n",{"type":46,"tag":1052,"props":10253,"children":10255},{"class":1054,"line":10254},45,[10256,10260,10265,10269,10273,10277,10281,10285],{"type":46,"tag":1052,"props":10257,"children":10258},{"style":1074},[10259],{"type":51,"value":6627},{"type":46,"tag":1052,"props":10261,"children":10262},{"style":1792},[10263],{"type":51,"value":10264}," token1Address",{"type":46,"tag":1052,"props":10266,"children":10267},{"style":1059},[10268],{"type":51,"value":6418},{"type":46,"tag":1052,"props":10270,"children":10271},{"style":1059},[10272],{"type":51,"value":1984},{"type":46,"tag":1052,"props":10274,"children":10275},{"style":1094},[10276],{"type":51,"value":2625},{"type":46,"tag":1052,"props":10278,"children":10279},{"style":1059},[10280],{"type":51,"value":796},{"type":46,"tag":1052,"props":10282,"children":10283},{"style":1059},[10284],{"type":51,"value":725},{"type":46,"tag":1052,"props":10286,"children":10287},{"style":1802},[10288],{"type":51,"value":10289}," \u002F\u002F USDT\n",{"type":46,"tag":1052,"props":10291,"children":10293},{"class":1054,"line":10292},46,[10294,10298,10303,10307,10311,10316,10320,10324,10328,10333,10337,10341,10345,10349,10354,10358,10362,10367,10371,10375,10380,10384],{"type":46,"tag":1052,"props":10295,"children":10296},{"style":1074},[10297],{"type":51,"value":6627},{"type":46,"tag":1052,"props":10299,"children":10300},{"style":1792},[10301],{"type":51,"value":10302}," independentToken",{"type":46,"tag":1052,"props":10304,"children":10305},{"style":1059},[10306],{"type":51,"value":6418},{"type":46,"tag":1052,"props":10308,"children":10309},{"style":1059},[10310],{"type":51,"value":6056},{"type":46,"tag":1052,"props":10312,"children":10313},{"style":1755},[10314],{"type":51,"value":10315}," tokenAddress",{"type":46,"tag":1052,"props":10317,"children":10318},{"style":1059},[10319],{"type":51,"value":1086},{"type":46,"tag":1052,"props":10321,"children":10322},{"style":1792},[10323],{"type":51,"value":10226},{"type":46,"tag":1052,"props":10325,"children":10326},{"style":1059},[10327],{"type":51,"value":1244},{"type":46,"tag":1052,"props":10329,"children":10330},{"style":1755},[10331],{"type":51,"value":10332}," amount",{"type":46,"tag":1052,"props":10334,"children":10335},{"style":1059},[10336],{"type":51,"value":1086},{"type":46,"tag":1052,"props":10338,"children":10339},{"style":5972},[10340],{"type":51,"value":8652},{"type":46,"tag":1052,"props":10342,"children":10343},{"style":1755},[10344],{"type":51,"value":761},{"type":46,"tag":1052,"props":10346,"children":10347},{"style":1059},[10348],{"type":51,"value":796},{"type":46,"tag":1052,"props":10350,"children":10351},{"style":1094},[10352],{"type":51,"value":10353},"10",{"type":46,"tag":1052,"props":10355,"children":10356},{"style":1059},[10357],{"type":51,"value":796},{"type":46,"tag":1052,"props":10359,"children":10360},{"style":1059},[10361],{"type":51,"value":1244},{"type":46,"tag":1052,"props":10363,"children":10364},{"style":1167},[10365],{"type":51,"value":10366}," 18",{"type":46,"tag":1052,"props":10368,"children":10369},{"style":1755},[10370],{"type":51,"value":768},{"type":46,"tag":1052,"props":10372,"children":10373},{"style":1059},[10374],{"type":51,"value":650},{"type":46,"tag":1052,"props":10376,"children":10377},{"style":5972},[10378],{"type":51,"value":10379},"toString",{"type":46,"tag":1052,"props":10381,"children":10382},{"style":1755},[10383],{"type":51,"value":8488},{"type":46,"tag":1052,"props":10385,"children":10386},{"style":1059},[10387],{"type":51,"value":7378},{"type":46,"tag":1052,"props":10389,"children":10391},{"class":1054,"line":10390},47,[10392],{"type":46,"tag":1052,"props":10393,"children":10394},{"emptyLinePlaceholder":1900},[10395],{"type":51,"value":1903},{"type":46,"tag":1052,"props":10397,"children":10399},{"class":1054,"line":10398},48,[10400],{"type":46,"tag":1052,"props":10401,"children":10402},{"style":1802},[10403],{"type":51,"value":10404},"  \u002F\u002F 1. Approvals\n",{"type":46,"tag":1052,"props":10406,"children":10408},{"class":1054,"line":10407},49,[10409,10413,10417,10421,10425,10429,10433,10437,10441,10445,10449,10453,10457],{"type":46,"tag":1052,"props":10410,"children":10411},{"style":1074},[10412],{"type":51,"value":6627},{"type":46,"tag":1052,"props":10414,"children":10415},{"style":1059},[10416],{"type":51,"value":6056},{"type":46,"tag":1052,"props":10418,"children":10419},{"style":1792},[10420],{"type":51,"value":6391},{"type":46,"tag":1052,"props":10422,"children":10423},{"style":1059},[10424],{"type":51,"value":6261},{"type":46,"tag":1052,"props":10426,"children":10427},{"style":1059},[10428],{"type":51,"value":6418},{"type":46,"tag":1052,"props":10430,"children":10431},{"style":5966},[10432],{"type":51,"value":5969},{"type":46,"tag":1052,"props":10434,"children":10435},{"style":5972},[10436],{"type":51,"value":9290},{"type":46,"tag":1052,"props":10438,"children":10439},{"style":1755},[10440],{"type":51,"value":761},{"type":46,"tag":1052,"props":10442,"children":10443},{"style":1059},[10444],{"type":51,"value":796},{"type":46,"tag":1052,"props":10446,"children":10447},{"style":1094},[10448],{"type":51,"value":308},{"type":46,"tag":1052,"props":10450,"children":10451},{"style":1059},[10452],{"type":51,"value":796},{"type":46,"tag":1052,"props":10454,"children":10455},{"style":1059},[10456],{"type":51,"value":1244},{"type":46,"tag":1052,"props":10458,"children":10459},{"style":1059},[10460],{"type":51,"value":1749},{"type":46,"tag":1052,"props":10462,"children":10464},{"class":1054,"line":10463},50,[10465,10470,10474,10479,10483,10488],{"type":46,"tag":1052,"props":10466,"children":10467},{"style":1755},[10468],{"type":51,"value":10469},"    walletAddress",{"type":46,"tag":1052,"props":10471,"children":10472},{"style":1059},[10473],{"type":51,"value":1086},{"type":46,"tag":1052,"props":10475,"children":10476},{"style":1792},[10477],{"type":51,"value":10478}," account",{"type":46,"tag":1052,"props":10480,"children":10481},{"style":1059},[10482],{"type":51,"value":650},{"type":46,"tag":1052,"props":10484,"children":10485},{"style":1792},[10486],{"type":51,"value":10487},"address",{"type":46,"tag":1052,"props":10489,"children":10490},{"style":1059},[10491],{"type":51,"value":1106},{"type":46,"tag":1052,"props":10493,"children":10495},{"class":1054,"line":10494},51,[10496,10501],{"type":46,"tag":1052,"props":10497,"children":10498},{"style":1792},[10499],{"type":51,"value":10500},"    protocol",{"type":46,"tag":1052,"props":10502,"children":10503},{"style":1059},[10504],{"type":51,"value":1106},{"type":46,"tag":1052,"props":10506,"children":10508},{"class":1054,"line":10507},52,[10509,10514],{"type":46,"tag":1052,"props":10510,"children":10511},{"style":1792},[10512],{"type":51,"value":10513},"    chainId",{"type":46,"tag":1052,"props":10515,"children":10516},{"style":1059},[10517],{"type":51,"value":1106},{"type":46,"tag":1052,"props":10519,"children":10521},{"class":1054,"line":10520},53,[10522,10527,10531,10535,10539,10544],{"type":46,"tag":1052,"props":10523,"children":10524},{"style":1755},[10525],{"type":51,"value":10526},"    lpTokens",{"type":46,"tag":1052,"props":10528,"children":10529},{"style":1059},[10530],{"type":51,"value":1086},{"type":46,"tag":1052,"props":10532,"children":10533},{"style":1755},[10534],{"type":51,"value":7033},{"type":46,"tag":1052,"props":10536,"children":10537},{"style":1792},[10538],{"type":51,"value":871},{"type":46,"tag":1052,"props":10540,"children":10541},{"style":1755},[10542],{"type":51,"value":10543},"]",{"type":46,"tag":1052,"props":10545,"children":10546},{"style":1059},[10547],{"type":51,"value":1106},{"type":46,"tag":1052,"props":10549,"children":10551},{"class":1054,"line":10550},54,[10552,10557,10561,10565,10569,10573],{"type":46,"tag":1052,"props":10553,"children":10554},{"style":1755},[10555],{"type":51,"value":10556},"    action",{"type":46,"tag":1052,"props":10558,"children":10559},{"style":1059},[10560],{"type":51,"value":1086},{"type":46,"tag":1052,"props":10562,"children":10563},{"style":1059},[10564],{"type":51,"value":1984},{"type":46,"tag":1052,"props":10566,"children":10567},{"style":1094},[10568],{"type":51,"value":1392},{"type":46,"tag":1052,"props":10570,"children":10571},{"style":1059},[10572],{"type":51,"value":796},{"type":46,"tag":1052,"props":10574,"children":10575},{"style":1059},[10576],{"type":51,"value":1106},{"type":46,"tag":1052,"props":10578,"children":10580},{"class":1054,"line":10579},55,[10581,10585,10589],{"type":46,"tag":1052,"props":10582,"children":10583},{"style":1059},[10584],{"type":51,"value":7280},{"type":46,"tag":1052,"props":10586,"children":10587},{"style":1755},[10588],{"type":51,"value":768},{"type":46,"tag":1052,"props":10590,"children":10591},{"style":1059},[10592],{"type":51,"value":1772},{"type":46,"tag":1052,"props":10594,"children":10596},{"class":1054,"line":10595},56,[10597,10602,10606,10610,10615,10620,10624,10628],{"type":46,"tag":1052,"props":10598,"children":10599},{"style":5966},[10600],{"type":51,"value":10601},"  for",{"type":46,"tag":1052,"props":10603,"children":10604},{"style":1755},[10605],{"type":51,"value":6297},{"type":46,"tag":1052,"props":10607,"children":10608},{"style":1074},[10609],{"type":51,"value":5953},{"type":46,"tag":1052,"props":10611,"children":10612},{"style":1792},[10613],{"type":51,"value":10614}," a",{"type":46,"tag":1052,"props":10616,"children":10617},{"style":1059},[10618],{"type":51,"value":10619}," of",{"type":46,"tag":1052,"props":10621,"children":10622},{"style":1792},[10623],{"type":51,"value":6391},{"type":46,"tag":1052,"props":10625,"children":10626},{"style":1755},[10627],{"type":51,"value":8045},{"type":46,"tag":1052,"props":10629,"children":10630},{"style":1059},[10631],{"type":51,"value":1062},{"type":46,"tag":1052,"props":10633,"children":10635},{"class":1054,"line":10634},57,[10636,10641,10645,10649,10653,10657,10661],{"type":46,"tag":1052,"props":10637,"children":10638},{"style":5972},[10639],{"type":51,"value":10640},"    validateLpTransaction",{"type":46,"tag":1052,"props":10642,"children":10643},{"style":1755},[10644],{"type":51,"value":761},{"type":46,"tag":1052,"props":10646,"children":10647},{"style":1792},[10648],{"type":51,"value":243},{"type":46,"tag":1052,"props":10650,"children":10651},{"style":1059},[10652],{"type":51,"value":650},{"type":46,"tag":1052,"props":10654,"children":10655},{"style":1792},[10656],{"type":51,"value":6606},{"type":46,"tag":1052,"props":10658,"children":10659},{"style":1755},[10660],{"type":51,"value":768},{"type":46,"tag":1052,"props":10662,"children":10663},{"style":1059},[10664],{"type":51,"value":1772},{"type":46,"tag":1052,"props":10666,"children":10668},{"class":1054,"line":10667},58,[10669,10674,10678,10682,10686,10690,10694,10698,10702,10706,10710,10714,10718],{"type":46,"tag":1052,"props":10670,"children":10671},{"style":1074},[10672],{"type":51,"value":10673},"    const",{"type":46,"tag":1052,"props":10675,"children":10676},{"style":1792},[10677],{"type":51,"value":6632},{"type":46,"tag":1052,"props":10679,"children":10680},{"style":1059},[10681],{"type":51,"value":6418},{"type":46,"tag":1052,"props":10683,"children":10684},{"style":5966},[10685],{"type":51,"value":5969},{"type":46,"tag":1052,"props":10687,"children":10688},{"style":1792},[10689],{"type":51,"value":6645},{"type":46,"tag":1052,"props":10691,"children":10692},{"style":1059},[10693],{"type":51,"value":650},{"type":46,"tag":1052,"props":10695,"children":10696},{"style":5972},[10697],{"type":51,"value":6654},{"type":46,"tag":1052,"props":10699,"children":10700},{"style":1755},[10701],{"type":51,"value":761},{"type":46,"tag":1052,"props":10703,"children":10704},{"style":1792},[10705],{"type":51,"value":243},{"type":46,"tag":1052,"props":10707,"children":10708},{"style":1059},[10709],{"type":51,"value":650},{"type":46,"tag":1052,"props":10711,"children":10712},{"style":1792},[10713],{"type":51,"value":6606},{"type":46,"tag":1052,"props":10715,"children":10716},{"style":1755},[10717],{"type":51,"value":768},{"type":46,"tag":1052,"props":10719,"children":10720},{"style":1059},[10721],{"type":51,"value":1772},{"type":46,"tag":1052,"props":10723,"children":10725},{"class":1054,"line":10724},59,[10726,10731,10735,10739,10743,10747,10751,10755,10759,10763],{"type":46,"tag":1052,"props":10727,"children":10728},{"style":5966},[10729],{"type":51,"value":10730},"    await",{"type":46,"tag":1052,"props":10732,"children":10733},{"style":1792},[10734],{"type":51,"value":6691},{"type":46,"tag":1052,"props":10736,"children":10737},{"style":1059},[10738],{"type":51,"value":650},{"type":46,"tag":1052,"props":10740,"children":10741},{"style":5972},[10742],{"type":51,"value":6700},{"type":46,"tag":1052,"props":10744,"children":10745},{"style":1755},[10746],{"type":51,"value":761},{"type":46,"tag":1052,"props":10748,"children":10749},{"style":1059},[10750],{"type":51,"value":6175},{"type":46,"tag":1052,"props":10752,"children":10753},{"style":1792},[10754],{"type":51,"value":6632},{"type":46,"tag":1052,"props":10756,"children":10757},{"style":1059},[10758],{"type":51,"value":6261},{"type":46,"tag":1052,"props":10760,"children":10761},{"style":1755},[10762],{"type":51,"value":768},{"type":46,"tag":1052,"props":10764,"children":10765},{"style":1059},[10766],{"type":51,"value":1772},{"type":46,"tag":1052,"props":10768,"children":10770},{"class":1054,"line":10769},60,[10771],{"type":46,"tag":1052,"props":10772,"children":10773},{"style":1059},[10774],{"type":51,"value":10775},"  }\n",{"type":46,"tag":1052,"props":10777,"children":10779},{"class":1054,"line":10778},61,[10780],{"type":46,"tag":1052,"props":10781,"children":10782},{"emptyLinePlaceholder":1900},[10783],{"type":51,"value":1903},{"type":46,"tag":1052,"props":10785,"children":10787},{"class":1054,"line":10786},62,[10788],{"type":46,"tag":1052,"props":10789,"children":10790},{"style":1802},[10791],{"type":51,"value":10792},"  \u002F\u002F 2. Build the create transaction\n",{"type":46,"tag":1052,"props":10794,"children":10796},{"class":1054,"line":10795},63,[10797,10801,10806,10810,10814,10818,10822,10826,10830,10834,10838],{"type":46,"tag":1052,"props":10798,"children":10799},{"style":1074},[10800],{"type":51,"value":6627},{"type":46,"tag":1052,"props":10802,"children":10803},{"style":1792},[10804],{"type":51,"value":10805}," created",{"type":46,"tag":1052,"props":10807,"children":10808},{"style":1059},[10809],{"type":51,"value":6418},{"type":46,"tag":1052,"props":10811,"children":10812},{"style":5966},[10813],{"type":51,"value":5969},{"type":46,"tag":1052,"props":10815,"children":10816},{"style":5972},[10817],{"type":51,"value":9290},{"type":46,"tag":1052,"props":10819,"children":10820},{"style":1755},[10821],{"type":51,"value":761},{"type":46,"tag":1052,"props":10823,"children":10824},{"style":1059},[10825],{"type":51,"value":796},{"type":46,"tag":1052,"props":10827,"children":10828},{"style":1094},[10829],{"type":51,"value":330},{"type":46,"tag":1052,"props":10831,"children":10832},{"style":1059},[10833],{"type":51,"value":796},{"type":46,"tag":1052,"props":10835,"children":10836},{"style":1059},[10837],{"type":51,"value":1244},{"type":46,"tag":1052,"props":10839,"children":10840},{"style":1059},[10841],{"type":51,"value":1749},{"type":46,"tag":1052,"props":10843,"children":10845},{"class":1054,"line":10844},64,[10846,10850,10854,10858,10862,10866],{"type":46,"tag":1052,"props":10847,"children":10848},{"style":1755},[10849],{"type":51,"value":10469},{"type":46,"tag":1052,"props":10851,"children":10852},{"style":1059},[10853],{"type":51,"value":1086},{"type":46,"tag":1052,"props":10855,"children":10856},{"style":1792},[10857],{"type":51,"value":10478},{"type":46,"tag":1052,"props":10859,"children":10860},{"style":1059},[10861],{"type":51,"value":650},{"type":46,"tag":1052,"props":10863,"children":10864},{"style":1792},[10865],{"type":51,"value":10487},{"type":46,"tag":1052,"props":10867,"children":10868},{"style":1059},[10869],{"type":51,"value":1106},{"type":46,"tag":1052,"props":10871,"children":10873},{"class":1054,"line":10872},65,[10874,10878],{"type":46,"tag":1052,"props":10875,"children":10876},{"style":1792},[10877],{"type":51,"value":10513},{"type":46,"tag":1052,"props":10879,"children":10880},{"style":1059},[10881],{"type":51,"value":1106},{"type":46,"tag":1052,"props":10883,"children":10885},{"class":1054,"line":10884},66,[10886,10890],{"type":46,"tag":1052,"props":10887,"children":10888},{"style":1792},[10889],{"type":51,"value":10500},{"type":46,"tag":1052,"props":10891,"children":10892},{"style":1059},[10893],{"type":51,"value":1106},{"type":46,"tag":1052,"props":10895,"children":10897},{"class":1054,"line":10896},67,[10898,10903],{"type":46,"tag":1052,"props":10899,"children":10900},{"style":1792},[10901],{"type":51,"value":10902},"    independentToken",{"type":46,"tag":1052,"props":10904,"children":10905},{"style":1059},[10906],{"type":51,"value":1106},{"type":46,"tag":1052,"props":10908,"children":10910},{"class":1054,"line":10909},68,[10911,10916,10920],{"type":46,"tag":1052,"props":10912,"children":10913},{"style":1755},[10914],{"type":51,"value":10915},"    existingPool",{"type":46,"tag":1052,"props":10917,"children":10918},{"style":1059},[10919],{"type":51,"value":1086},{"type":46,"tag":1052,"props":10921,"children":10922},{"style":1059},[10923],{"type":51,"value":1749},{"type":46,"tag":1052,"props":10925,"children":10927},{"class":1054,"line":10926},69,[10928,10933],{"type":46,"tag":1052,"props":10929,"children":10930},{"style":1792},[10931],{"type":51,"value":10932},"      token0Address",{"type":46,"tag":1052,"props":10934,"children":10935},{"style":1059},[10936],{"type":51,"value":1106},{"type":46,"tag":1052,"props":10938,"children":10940},{"class":1054,"line":10939},70,[10941,10946],{"type":46,"tag":1052,"props":10942,"children":10943},{"style":1792},[10944],{"type":51,"value":10945},"      token1Address",{"type":46,"tag":1052,"props":10947,"children":10948},{"style":1059},[10949],{"type":51,"value":1106},{"type":46,"tag":1052,"props":10951,"children":10953},{"class":1054,"line":10952},71,[10954,10959,10963,10967,10971,10975],{"type":46,"tag":1052,"props":10955,"children":10956},{"style":1755},[10957],{"type":51,"value":10958},"      poolReference",{"type":46,"tag":1052,"props":10960,"children":10961},{"style":1059},[10962],{"type":51,"value":1086},{"type":46,"tag":1052,"props":10964,"children":10965},{"style":1059},[10966],{"type":51,"value":1984},{"type":46,"tag":1052,"props":10968,"children":10969},{"style":1094},[10970],{"type":51,"value":2661},{"type":46,"tag":1052,"props":10972,"children":10973},{"style":1059},[10974],{"type":51,"value":796},{"type":46,"tag":1052,"props":10976,"children":10977},{"style":1059},[10978],{"type":51,"value":1106},{"type":46,"tag":1052,"props":10980,"children":10982},{"class":1054,"line":10981},72,[10983],{"type":46,"tag":1052,"props":10984,"children":10985},{"style":1059},[10986],{"type":51,"value":10987},"    },\n",{"type":46,"tag":1052,"props":10989,"children":10991},{"class":1054,"line":10990},73,[10992,10997,11001],{"type":46,"tag":1052,"props":10993,"children":10994},{"style":1755},[10995],{"type":51,"value":10996},"    priceBounds",{"type":46,"tag":1052,"props":10998,"children":10999},{"style":1059},[11000],{"type":51,"value":1086},{"type":46,"tag":1052,"props":11002,"children":11003},{"style":1059},[11004],{"type":51,"value":1749},{"type":46,"tag":1052,"props":11006,"children":11008},{"class":1054,"line":11007},74,[11009,11014,11018,11022,11026,11030],{"type":46,"tag":1052,"props":11010,"children":11011},{"style":1755},[11012],{"type":51,"value":11013},"      minPrice",{"type":46,"tag":1052,"props":11015,"children":11016},{"style":1059},[11017],{"type":51,"value":1086},{"type":46,"tag":1052,"props":11019,"children":11020},{"style":1059},[11021],{"type":51,"value":1984},{"type":46,"tag":1052,"props":11023,"children":11024},{"style":1094},[11025],{"type":51,"value":2821},{"type":46,"tag":1052,"props":11027,"children":11028},{"style":1059},[11029],{"type":51,"value":796},{"type":46,"tag":1052,"props":11031,"children":11032},{"style":1059},[11033],{"type":51,"value":1106},{"type":46,"tag":1052,"props":11035,"children":11037},{"class":1054,"line":11036},75,[11038,11043,11047,11051,11055,11059],{"type":46,"tag":1052,"props":11039,"children":11040},{"style":1755},[11041],{"type":51,"value":11042},"      maxPrice",{"type":46,"tag":1052,"props":11044,"children":11045},{"style":1059},[11046],{"type":51,"value":1086},{"type":46,"tag":1052,"props":11048,"children":11049},{"style":1059},[11050],{"type":51,"value":1984},{"type":46,"tag":1052,"props":11052,"children":11053},{"style":1094},[11054],{"type":51,"value":2857},{"type":46,"tag":1052,"props":11056,"children":11057},{"style":1059},[11058],{"type":51,"value":796},{"type":46,"tag":1052,"props":11060,"children":11061},{"style":1059},[11062],{"type":51,"value":1106},{"type":46,"tag":1052,"props":11064,"children":11066},{"class":1054,"line":11065},76,[11067,11072,11076,11080],{"type":46,"tag":1052,"props":11068,"children":11069},{"style":1755},[11070],{"type":51,"value":11071},"      quotedTokenAddress",{"type":46,"tag":1052,"props":11073,"children":11074},{"style":1059},[11075],{"type":51,"value":1086},{"type":46,"tag":1052,"props":11077,"children":11078},{"style":1792},[11079],{"type":51,"value":10264},{"type":46,"tag":1052,"props":11081,"children":11082},{"style":1059},[11083],{"type":51,"value":1106},{"type":46,"tag":1052,"props":11085,"children":11087},{"class":1054,"line":11086},77,[11088],{"type":46,"tag":1052,"props":11089,"children":11090},{"style":1059},[11091],{"type":51,"value":10987},{"type":46,"tag":1052,"props":11093,"children":11095},{"class":1054,"line":11094},78,[11096,11101,11105,11111],{"type":46,"tag":1052,"props":11097,"children":11098},{"style":1755},[11099],{"type":51,"value":11100},"    simulateTransaction",{"type":46,"tag":1052,"props":11102,"children":11103},{"style":1059},[11104],{"type":51,"value":1086},{"type":46,"tag":1052,"props":11106,"children":11108},{"style":11107},"--shiki-light:#FF5370;--shiki-default:#FF9CAC;--shiki-dark:#FF9CAC",[11109],{"type":51,"value":11110}," true",{"type":46,"tag":1052,"props":11112,"children":11113},{"style":1059},[11114],{"type":51,"value":1106},{"type":46,"tag":1052,"props":11116,"children":11118},{"class":1054,"line":11117},79,[11119,11123,11127],{"type":46,"tag":1052,"props":11120,"children":11121},{"style":1059},[11122],{"type":51,"value":7280},{"type":46,"tag":1052,"props":11124,"children":11125},{"style":1755},[11126],{"type":51,"value":768},{"type":46,"tag":1052,"props":11128,"children":11129},{"style":1059},[11130],{"type":51,"value":1772},{"type":46,"tag":1052,"props":11132,"children":11134},{"class":1054,"line":11133},80,[11135],{"type":46,"tag":1052,"props":11136,"children":11137},{"emptyLinePlaceholder":1900},[11138],{"type":51,"value":1903},{"type":46,"tag":1052,"props":11140,"children":11142},{"class":1054,"line":11141},81,[11143],{"type":46,"tag":1052,"props":11144,"children":11145},{"style":1802},[11146],{"type":51,"value":11147},"  \u002F\u002F 3. CONFIRM WITH USER before broadcasting (use AskUserQuestion in the skill flow):\n",{"type":46,"tag":1052,"props":11149,"children":11151},{"class":1054,"line":11150},82,[11152],{"type":46,"tag":1052,"props":11153,"children":11154},{"style":1802},[11155],{"type":51,"value":11156},"  \u002F\u002F    pair, amounts (created.token0 \u002F created.token1), adjusted range\n",{"type":46,"tag":1052,"props":11158,"children":11160},{"class":1054,"line":11159},83,[11161],{"type":46,"tag":1052,"props":11162,"children":11163},{"style":1802},[11164],{"type":51,"value":11165},"  \u002F\u002F    (created.adjustedMinPrice \u002F created.adjustedMaxPrice), created.gasFee\n",{"type":46,"tag":1052,"props":11167,"children":11169},{"class":1054,"line":11168},84,[11170,11174,11178,11183,11187,11191,11195],{"type":46,"tag":1052,"props":11171,"children":11172},{"style":5972},[11173],{"type":51,"value":6588},{"type":46,"tag":1052,"props":11175,"children":11176},{"style":1755},[11177],{"type":51,"value":761},{"type":46,"tag":1052,"props":11179,"children":11180},{"style":1792},[11181],{"type":51,"value":11182},"created",{"type":46,"tag":1052,"props":11184,"children":11185},{"style":1059},[11186],{"type":51,"value":650},{"type":46,"tag":1052,"props":11188,"children":11189},{"style":1792},[11190],{"type":51,"value":7878},{"type":46,"tag":1052,"props":11192,"children":11193},{"style":1755},[11194],{"type":51,"value":768},{"type":46,"tag":1052,"props":11196,"children":11197},{"style":1059},[11198],{"type":51,"value":1772},{"type":46,"tag":1052,"props":11200,"children":11202},{"class":1054,"line":11201},85,[11203,11207,11211,11215,11219,11223,11227,11231,11235,11239,11243,11247,11251],{"type":46,"tag":1052,"props":11204,"children":11205},{"style":1074},[11206],{"type":51,"value":6627},{"type":46,"tag":1052,"props":11208,"children":11209},{"style":1792},[11210],{"type":51,"value":6632},{"type":46,"tag":1052,"props":11212,"children":11213},{"style":1059},[11214],{"type":51,"value":6418},{"type":46,"tag":1052,"props":11216,"children":11217},{"style":5966},[11218],{"type":51,"value":5969},{"type":46,"tag":1052,"props":11220,"children":11221},{"style":1792},[11222],{"type":51,"value":6645},{"type":46,"tag":1052,"props":11224,"children":11225},{"style":1059},[11226],{"type":51,"value":650},{"type":46,"tag":1052,"props":11228,"children":11229},{"style":5972},[11230],{"type":51,"value":6654},{"type":46,"tag":1052,"props":11232,"children":11233},{"style":1755},[11234],{"type":51,"value":761},{"type":46,"tag":1052,"props":11236,"children":11237},{"style":1792},[11238],{"type":51,"value":11182},{"type":46,"tag":1052,"props":11240,"children":11241},{"style":1059},[11242],{"type":51,"value":650},{"type":46,"tag":1052,"props":11244,"children":11245},{"style":1792},[11246],{"type":51,"value":7878},{"type":46,"tag":1052,"props":11248,"children":11249},{"style":1755},[11250],{"type":51,"value":768},{"type":46,"tag":1052,"props":11252,"children":11253},{"style":1059},[11254],{"type":51,"value":1772},{"type":46,"tag":1052,"props":11256,"children":11258},{"class":1054,"line":11257},86,[11259,11263,11267,11271,11275,11279,11283,11287,11291,11295],{"type":46,"tag":1052,"props":11260,"children":11261},{"style":5966},[11262],{"type":51,"value":9622},{"type":46,"tag":1052,"props":11264,"children":11265},{"style":1792},[11266],{"type":51,"value":6691},{"type":46,"tag":1052,"props":11268,"children":11269},{"style":1059},[11270],{"type":51,"value":650},{"type":46,"tag":1052,"props":11272,"children":11273},{"style":5972},[11274],{"type":51,"value":6700},{"type":46,"tag":1052,"props":11276,"children":11277},{"style":1755},[11278],{"type":51,"value":761},{"type":46,"tag":1052,"props":11280,"children":11281},{"style":1059},[11282],{"type":51,"value":6175},{"type":46,"tag":1052,"props":11284,"children":11285},{"style":1792},[11286],{"type":51,"value":6632},{"type":46,"tag":1052,"props":11288,"children":11289},{"style":1059},[11290],{"type":51,"value":6261},{"type":46,"tag":1052,"props":11292,"children":11293},{"style":1755},[11294],{"type":51,"value":768},{"type":46,"tag":1052,"props":11296,"children":11297},{"style":1059},[11298],{"type":51,"value":1772},{"type":46,"tag":1052,"props":11300,"children":11302},{"class":1054,"line":11301},87,[11303],{"type":46,"tag":1052,"props":11304,"children":11305},{"style":1059},[11306],{"type":51,"value":1406},{"type":46,"tag":65,"props":11308,"children":11310},{"id":11309},"companion-sdks",[11311],{"type":51,"value":11312},"Companion SDKs",{"type":46,"tag":54,"props":11314,"children":11315},{},[11316],{"type":51,"value":11317},"The API returns ready-to-sign transactions, so a protocol SDK is not required. For client-side pool\u002Fposition math, tick conversions, and validation, developers commonly pair the LP API with:",{"type":46,"tag":621,"props":11319,"children":11320},{},[11321,11361,11401,11419,11430],{"type":46,"tag":625,"props":11322,"children":11323},{},[11324,11330,11332,11338,11339,11345,11346,11352,11353,11359],{"type":46,"tag":85,"props":11325,"children":11327},{"className":11326},[],[11328],{"type":51,"value":11329},"@uniswap\u002Fsdk-core",{"type":51,"value":11331}," — chains, ",{"type":46,"tag":85,"props":11333,"children":11335},{"className":11334},[],[11336],{"type":51,"value":11337},"Token",{"type":51,"value":727},{"type":46,"tag":85,"props":11340,"children":11342},{"className":11341},[],[11343],{"type":51,"value":11344},"CurrencyAmount",{"type":51,"value":727},{"type":46,"tag":85,"props":11347,"children":11349},{"className":11348},[],[11350],{"type":51,"value":11351},"Percent",{"type":51,"value":727},{"type":46,"tag":85,"props":11354,"children":11356},{"className":11355},[],[11357],{"type":51,"value":11358},"Price",{"type":51,"value":11360}," (foundational).",{"type":46,"tag":625,"props":11362,"children":11363},{},[11364,11370,11372,11378,11379,11385,11387,11393,11394,11400],{"type":46,"tag":85,"props":11365,"children":11367},{"className":11366},[],[11368],{"type":51,"value":11369},"@uniswap\u002Fv3-sdk",{"type":51,"value":11371}," — v3 tick math (",{"type":46,"tag":85,"props":11373,"children":11375},{"className":11374},[],[11376],{"type":51,"value":11377},"TickMath",{"type":51,"value":727},{"type":46,"tag":85,"props":11380,"children":11382},{"className":11381},[],[11383],{"type":51,"value":11384},"nearestUsableTick",{"type":51,"value":11386},"), ",{"type":46,"tag":85,"props":11388,"children":11390},{"className":11389},[],[11391],{"type":51,"value":11392},"Pool",{"type":51,"value":727},{"type":46,"tag":85,"props":11395,"children":11397},{"className":11396},[],[11398],{"type":51,"value":11399},"Position",{"type":51,"value":650},{"type":46,"tag":625,"props":11402,"children":11403},{},[11404,11410,11412,11417],{"type":46,"tag":85,"props":11405,"children":11407},{"className":11406},[],[11408],{"type":51,"value":11409},"@uniswap\u002Fv4-sdk",{"type":51,"value":11411}," — v4 pool keys, hooks-aware ",{"type":46,"tag":85,"props":11413,"children":11415},{"className":11414},[],[11416],{"type":51,"value":11399},{"type":51,"value":11418}," modeling.",{"type":46,"tag":625,"props":11420,"children":11421},{},[11422,11428],{"type":46,"tag":85,"props":11423,"children":11425},{"className":11424},[],[11426],{"type":51,"value":11427},"@uniswap\u002Fv2-sdk",{"type":51,"value":11429}," — v2 pair\u002Fliquidity math.",{"type":46,"tag":625,"props":11431,"children":11432},{},[11433,11438,11440,11446],{"type":46,"tag":85,"props":11434,"children":11436},{"className":11435},[],[11437],{"type":51,"value":8670},{"type":51,"value":11439}," (or ethers) — sign and broadcast the returned ",{"type":46,"tag":85,"props":11441,"children":11443},{"className":11442},[],[11444],{"type":51,"value":11445},"{ to, data, value }",{"type":51,"value":11447},", and sign EIP-712 permit data.",{"type":46,"tag":65,"props":11449,"children":11451},{"id":11450},"error-handling",[11452],{"type":51,"value":11453},"Error Handling",{"type":46,"tag":260,"props":11455,"children":11456},{},[11457,11478],{"type":46,"tag":264,"props":11458,"children":11459},{},[11460],{"type":46,"tag":268,"props":11461,"children":11462},{},[11463,11468,11473],{"type":46,"tag":272,"props":11464,"children":11465},{},[11466],{"type":51,"value":11467},"Code",{"type":46,"tag":272,"props":11469,"children":11470},{},[11471],{"type":51,"value":11472},"Meaning",{"type":46,"tag":272,"props":11474,"children":11475},{},[11476],{"type":51,"value":11477},"Action",{"type":46,"tag":288,"props":11479,"children":11480},{},[11481,11498,11522,11540,11558],{"type":46,"tag":268,"props":11482,"children":11483},{},[11484,11488,11493],{"type":46,"tag":295,"props":11485,"children":11486},{},[11487],{"type":51,"value":2399},{"type":46,"tag":295,"props":11489,"children":11490},{},[11491],{"type":51,"value":11492},"Validation error",{"type":46,"tag":295,"props":11494,"children":11495},{},[11496],{"type":51,"value":11497},"Fix request fields (see common errors below)",{"type":46,"tag":268,"props":11499,"children":11500},{},[11501,11505,11510],{"type":46,"tag":295,"props":11502,"children":11503},{},[11504],{"type":51,"value":204},{"type":46,"tag":295,"props":11506,"children":11507},{},[11508],{"type":51,"value":11509},"Invalid API key",{"type":46,"tag":295,"props":11511,"children":11512},{},[11513,11515,11520],{"type":51,"value":11514},"Check the ",{"type":46,"tag":85,"props":11516,"children":11518},{"className":11517},[],[11519],{"type":51,"value":196},{"type":51,"value":11521}," header",{"type":46,"tag":268,"props":11523,"children":11524},{},[11525,11530,11535],{"type":46,"tag":295,"props":11526,"children":11527},{},[11528],{"type":51,"value":11529},"429",{"type":46,"tag":295,"props":11531,"children":11532},{},[11533],{"type":51,"value":11534},"Rate limited",{"type":46,"tag":295,"props":11536,"children":11537},{},[11538],{"type":51,"value":11539},"Exponential backoff; cache repeated reads",{"type":46,"tag":268,"props":11541,"children":11542},{},[11543,11548,11553],{"type":46,"tag":295,"props":11544,"children":11545},{},[11546],{"type":51,"value":11547},"500",{"type":46,"tag":295,"props":11549,"children":11550},{},[11551],{"type":51,"value":11552},"API error",{"type":46,"tag":295,"props":11554,"children":11555},{},[11556],{"type":51,"value":11557},"Retry with backoff",{"type":46,"tag":268,"props":11559,"children":11560},{},[11561,11566,11571],{"type":46,"tag":295,"props":11562,"children":11563},{},[11564],{"type":51,"value":11565},"503",{"type":46,"tag":295,"props":11567,"children":11568},{},[11569],{"type":51,"value":11570},"Temporary unavailability",{"type":46,"tag":295,"props":11572,"children":11573},{},[11574],{"type":51,"value":11575},"Retry",{"type":46,"tag":54,"props":11577,"children":11578},{},[11579,11581,11587,11589,11595,11597,11602,11604,11610,11611,11617,11618,11624,11625,11631,11633,11638,11640,11646,11648,11654,11655,11661,11662,11668],{"type":51,"value":11580},"Error body (Connect protocol): ",{"type":46,"tag":85,"props":11582,"children":11584},{"className":11583},[],[11585],{"type":51,"value":11586},"{ code: string, message: string, details?: Array\u003C{ type: string; value: string }> }",{"type":51,"value":11588}," — e.g. ",{"type":46,"tag":85,"props":11590,"children":11592},{"className":11591},[],[11593],{"type":51,"value":11594},"{\"code\":\"invalid_argument\",\"message\":\"RequestValidationError: ...\",\"details\":[...]}",{"type":51,"value":11596},". ",{"type":46,"tag":85,"props":11598,"children":11600},{"className":11599},[],[11601],{"type":51,"value":85},{"type":51,"value":11603}," is a Connect error-code string (",{"type":46,"tag":85,"props":11605,"children":11607},{"className":11606},[],[11608],{"type":51,"value":11609},"invalid_argument",{"type":51,"value":727},{"type":46,"tag":85,"props":11612,"children":11614},{"className":11613},[],[11615],{"type":51,"value":11616},"unauthenticated",{"type":51,"value":727},{"type":46,"tag":85,"props":11619,"children":11621},{"className":11620},[],[11622],{"type":51,"value":11623},"failed_precondition",{"type":51,"value":727},{"type":46,"tag":85,"props":11626,"children":11628},{"className":11627},[],[11629],{"type":51,"value":11630},"internal",{"type":51,"value":11632},", …), ",{"type":46,"tag":77,"props":11634,"children":11635},{},[11636],{"type":51,"value":11637},"not",{"type":51,"value":11639}," an HTTP number, and there is no top-level ",{"type":46,"tag":85,"props":11641,"children":11643},{"className":11642},[],[11644],{"type":51,"value":11645},"error",{"type":51,"value":11647}," field. Read ",{"type":46,"tag":85,"props":11649,"children":11651},{"className":11650},[],[11652],{"type":51,"value":11653},"body.code",{"type":51,"value":3556},{"type":46,"tag":85,"props":11656,"children":11658},{"className":11657},[],[11659],{"type":51,"value":11660},"body.message",{"type":51,"value":2188},{"type":46,"tag":85,"props":11663,"children":11665},{"className":11664},[],[11666],{"type":51,"value":11667},"body.error",{"type":51,"value":650},{"type":46,"tag":54,"props":11670,"children":11671},{},[11672],{"type":46,"tag":77,"props":11673,"children":11674},{},[11675],{"type":51,"value":11676},"Common errors",{"type":46,"tag":621,"props":11678,"children":11679},{},[11680,11710,11734,11752],{"type":46,"tag":625,"props":11681,"children":11682},{},[11683,11688,11690,11695,11696,11701,11703,11708],{"type":46,"tag":77,"props":11684,"children":11685},{},[11686],{"type":51,"value":11687},"v2 fee claim attempt",{"type":51,"value":11689},": calling ",{"type":46,"tag":85,"props":11691,"children":11693},{"className":11692},[],[11694],{"type":51,"value":416},{"type":51,"value":206},{"type":46,"tag":85,"props":11697,"children":11699},{"className":11698},[],[11700],{"type":51,"value":606},{"type":51,"value":11702},". Use ",{"type":46,"tag":85,"props":11704,"children":11706},{"className":11705},[],[11707],{"type":51,"value":395},{"type":51,"value":11709}," to realize v2 fees.",{"type":46,"tag":625,"props":11711,"children":11712},{},[11713,11718,11720,11725,11727,11732],{"type":46,"tag":77,"props":11714,"children":11715},{},[11716],{"type":51,"value":11717},"Pool not found",{"type":51,"value":11719},": verify token addresses, the ",{"type":46,"tag":85,"props":11721,"children":11723},{"className":11722},[],[11724],{"type":51,"value":2270},{"type":51,"value":11726},", and the chain; or use ",{"type":46,"tag":85,"props":11728,"children":11730},{"className":11729},[],[11731],{"type":51,"value":2281},{"type":51,"value":11733}," to initialize.",{"type":46,"tag":625,"props":11735,"children":11736},{},[11737,11742,11744,11750],{"type":46,"tag":77,"props":11738,"children":11739},{},[11740],{"type":51,"value":11741},"Insufficient liquidity",{"type":51,"value":11743},": the computed dependent amount exceeds balances; reduce ",{"type":46,"tag":85,"props":11745,"children":11747},{"className":11746},[],[11748],{"type":51,"value":11749},"independentToken.amount",{"type":51,"value":11751}," or widen the range.",{"type":46,"tag":625,"props":11753,"children":11754},{},[11755,11759,11761,11766,11768,11773],{"type":46,"tag":77,"props":11756,"children":11757},{},[11758],{"type":51,"value":11492},{"type":51,"value":11760},": ensure all required fields for the chosen ",{"type":46,"tag":85,"props":11762,"children":11764},{"className":11763},[],[11765],{"type":51,"value":1119},{"type":51,"value":11767},", checksummed addresses, wei-denominated amounts, and ",{"type":46,"tag":85,"props":11769,"children":11771},{"className":11770},[],[11772],{"type":51,"value":697},{"type":51,"value":11774}," in 1-100.",{"type":46,"tag":54,"props":11776,"children":11777},{},[11778,11780,11785],{"type":51,"value":11779},"For retry\u002Fbackoff, request caching, monitoring, and the full pre-broadcast checklist, see ",{"type":46,"tag":243,"props":11781,"children":11783},{"href":11782},".\u002Freferences\u002Fadvanced-patterns.md#error-recovery-and-reliability",[11784],{"type":51,"value":7455},{"type":51,"value":650},{"type":46,"tag":65,"props":11787,"children":11789},{"id":11788},"supported-chains",[11790],{"type":51,"value":666},{"type":46,"tag":54,"props":11792,"children":11793},{},[11794,11796,11801],{"type":51,"value":11795},"The LP API supports a fixed set of chain IDs. Validate ",{"type":46,"tag":85,"props":11797,"children":11799},{"className":11798},[],[11800],{"type":51,"value":1156},{"type":51,"value":11802}," against this set before sending:",{"type":46,"tag":110,"props":11804,"children":11807},{"className":11805,"code":11806,"language":51,"meta":115},[113],"1, 10, 56, 130, 137, 143, 196, 324, 480, 1868, 4217, 4326, 4663, 5042,\n8453, 10143, 42161, 42220, 43114, 59144, 81457, 7777777, 1301, 84532, 11155111\n",[11808],{"type":46,"tag":85,"props":11809,"children":11810},{"__ignoreMap":115},[11811],{"type":51,"value":11806},{"type":46,"tag":54,"props":11813,"children":11814},{},[11815,11817,11822,11824,11831],{"type":51,"value":11816},"(Mainnet 1, Optimism 10, BNB 56, Unichain 130, Polygon 137, Base 8453, Arbitrum 42161, Avalanche 43114, Linea 59144, Blast 81457, Zora 7777777, Sepolia 11155111, and others.) Confirm the live set against ",{"type":46,"tag":85,"props":11818,"children":11820},{"className":11819},[],[11821],{"type":51,"value":220},{"type":51,"value":11823}," availability or the ",{"type":46,"tag":243,"props":11825,"children":11828},{"href":11826,"rel":11827},"https:\u002F\u002Fdevelopers.uniswap.org\u002Fdocs\u002Fliquidity\u002Fliquidity-provisioning-api\u002Fgetting-started",[247],[11829],{"type":51,"value":11830},"supported chains docs",{"type":51,"value":650},{"type":46,"tag":65,"props":11833,"children":11835},{"id":11834},"additional-resources",[11836],{"type":51,"value":11837},"Additional Resources",{"type":46,"tag":621,"props":11839,"children":11840},{},[11841,11852,11864,11874,11884],{"type":46,"tag":625,"props":11842,"children":11843},{},[11844,11850],{"type":46,"tag":243,"props":11845,"children":11847},{"href":11826,"rel":11846},[247],[11848],{"type":51,"value":11849},"LP API: Getting Started",{"type":51,"value":11851}," — official conceptual overview",{"type":46,"tag":625,"props":11853,"children":11854},{},[11855,11862],{"type":46,"tag":243,"props":11856,"children":11859},{"href":11857,"rel":11858},"https:\u002F\u002Fdevelopers.uniswap.org\u002Fdocs\u002Fliquidity\u002Fliquidity-provisioning-api\u002Fintegration-guide",[247],[11860],{"type":51,"value":11861},"LP API: Integration Guide",{"type":51,"value":11863}," — official guide",{"type":46,"tag":625,"props":11865,"children":11866},{},[11867,11872],{"type":46,"tag":243,"props":11868,"children":11870},{"href":245,"rel":11869},[247],[11871],{"type":51,"value":250},{"type":51,"value":11873}," — get an API key",{"type":46,"tag":625,"props":11875,"children":11876},{},[11877,11882],{"type":46,"tag":243,"props":11878,"children":11880},{"href":11879},"..\u002Fswap-integration\u002FSKILL.md",[11881],{"type":51,"value":100},{"type":51,"value":11883}," — sibling skill for token swaps via the Trading API",{"type":46,"tag":625,"props":11885,"children":11886},{},[11887,11892],{"type":46,"tag":243,"props":11888,"children":11890},{"href":11889},".\u002Freferences\u002Fadvanced-patterns.md",[11891],{"type":51,"value":7455},{"type":51,"value":11893}," — permit deep-dive, migration, NFT-position quirks, reliability",{"type":46,"tag":11895,"props":11896,"children":11897},"style",{},[11898],{"type":51,"value":11899},"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);}",{"items":11901,"total":2077},[11902,11919,11934,11945,11958,11971,11982],{"slug":11903,"name":11903,"fn":11904,"description":11905,"org":11906,"tags":11907,"stars":25,"repoUrl":26,"updatedAt":11918},"configurator","configure auction smart contract parameters","Configure CCA (Continuous Clearing Auction) smart contract parameters through an interactive bulk form flow. Use when user says \"configure auction\", \"cca auction\", \"setup token auction\", \"auction configuration\", \"continuous auction\", or mentions CCA contracts.",{"slug":8,"name":9,"logoUrl":10,"githubOrg":9},[11908,11911,11914,11917],{"name":11909,"slug":11910,"type":15},"Configuration","configuration",{"name":11912,"slug":11913,"type":15},"Ethereum","ethereum",{"name":11915,"slug":11916,"type":15},"Smart Contracts","smart-contracts",{"name":13,"slug":14,"type":15},"2026-07-17T06:08:08.974641",{"slug":11920,"name":11920,"fn":11921,"description":11922,"org":11923,"tags":11924,"stars":25,"repoUrl":26,"updatedAt":11933},"copy-trade","copy trades from crypto wallets","This skill should be used when the user asks to \"copy trades from\" a wallet, \"mirror a wallet\", \"follow this address\", set up \"copy trading\", \"track and replicate a trader\", or mirror another account's swaps bounded by guardrails. Watches a target wallet and mirrors its trades, filtered by chain, asset match, position size, and the follower's own portfolio state.",{"slug":8,"name":9,"logoUrl":10,"githubOrg":9},[11925,11928,11929,11932],{"name":11926,"slug":11927,"type":15},"Automation","automation",{"name":11912,"slug":11913,"type":15},{"name":11930,"slug":11931,"type":15},"Trading","trading",{"name":13,"slug":14,"type":15},"2026-07-17T06:04:21.974052",{"slug":11935,"name":11935,"fn":11936,"description":11937,"org":11938,"tags":11939,"stars":25,"repoUrl":26,"updatedAt":11944},"dca-bot","automate dollar cost average token purchases","This skill should be used when the user wants to \"dca into\" a token, \"buy X every day\", set up a \"recurring buy\", \"dollar cost average\" into an asset, \"schedule a buy\", or \"auto-buy on a dip\". Buys a fixed amount into a token on a schedule, optionally only when a condition holds (for example only when ETH is below a price threshold). The host agent's scheduler wakes the skill on a cadence; each wake is one self-contained run.",{"slug":8,"name":9,"logoUrl":10,"githubOrg":9},[11940,11941,11942,11943],{"name":11926,"slug":11927,"type":15},{"name":17,"slug":18,"type":15},{"name":11930,"slug":11931,"type":15},{"name":13,"slug":14,"type":15},"2026-07-17T06:05:37.160647",{"slug":11946,"name":11946,"fn":11947,"description":11948,"org":11949,"tags":11950,"stars":25,"repoUrl":26,"updatedAt":11957},"deployer","deploy Uniswap CCA smart contracts","Deploy CCA (Continuous Clearing Auction) smart contracts using the Factory pattern. Use when user says \"deploy auction\", \"deploy cca\", \"factory deployment\", or wants to deploy a configured auction.",{"slug":8,"name":9,"logoUrl":10,"githubOrg":9},[11951,11954,11955,11956],{"name":11952,"slug":11953,"type":15},"Deployment","deployment",{"name":11912,"slug":11913,"type":15},{"name":11915,"slug":11916,"type":15},{"name":13,"slug":14,"type":15},"2026-07-17T06:08:09.661977",{"slug":11959,"name":11959,"fn":11960,"description":11961,"org":11962,"tags":11963,"stars":25,"repoUrl":26,"updatedAt":11970},"index-bot","create and rebalance asset portfolios","This skill should be used when the user asks to \"create an index\", \"build a basket of top assets\", \"buy a weighted basket\", \"make a portfolio of assets\", \"equal-weight basket\", \"rebalance my portfolio\", \"track the top N tokens\", or wants an automated, weighted multi-asset basket that buys in one pass and rebalances on a cadence. Builds the basket spec, delegates each buy and rebalance swap to the swap-integration Trading API flow, and records target weights in state.",{"slug":8,"name":9,"logoUrl":10,"githubOrg":9},[11964,11965,11968,11969],{"name":11912,"slug":11913,"type":15},{"name":11966,"slug":11967,"type":15},"Portfolio Management","portfolio-management",{"name":11930,"slug":11931,"type":15},{"name":13,"slug":14,"type":15},"2026-07-17T06:04:22.328253",{"slug":11972,"name":11972,"fn":11973,"description":11974,"org":11975,"tags":11976,"stars":25,"repoUrl":26,"updatedAt":11981},"liquidity-planner","plan and create liquidity positions","This skill should be used when the user asks to \"provide liquidity\", \"create LP position\", \"add liquidity to pool\", \"become a liquidity provider\", \"create v3 position\", \"create v4 position\", \"concentrated liquidity\", \"set price range\", or mentions providing liquidity, LP positions, or liquidity pools on Uniswap. Generates deep links to create positions in the Uniswap interface.",{"slug":8,"name":9,"logoUrl":10,"githubOrg":9},[11977,11978,11979,11980],{"name":17,"slug":18,"type":15},{"name":11912,"slug":11913,"type":15},{"name":20,"slug":21,"type":15},{"name":13,"slug":14,"type":15},"2026-07-17T06:08:09.315325",{"slug":4,"name":4,"fn":5,"description":6,"org":11983,"tags":11984,"stars":25,"repoUrl":26,"updatedAt":27},{"slug":8,"name":9,"logoUrl":10,"githubOrg":9},[11985,11986,11987,11988],{"name":23,"slug":24,"type":15},{"name":17,"slug":18,"type":15},{"name":20,"slug":21,"type":15},{"name":13,"slug":14,"type":15},{"items":11990,"total":2143},[11991,11998,12005,12012,12019,12026,12033,12040,12054,12065,12075,12086],{"slug":11903,"name":11903,"fn":11904,"description":11905,"org":11992,"tags":11993,"stars":25,"repoUrl":26,"updatedAt":11918},{"slug":8,"name":9,"logoUrl":10,"githubOrg":9},[11994,11995,11996,11997],{"name":11909,"slug":11910,"type":15},{"name":11912,"slug":11913,"type":15},{"name":11915,"slug":11916,"type":15},{"name":13,"slug":14,"type":15},{"slug":11920,"name":11920,"fn":11921,"description":11922,"org":11999,"tags":12000,"stars":25,"repoUrl":26,"updatedAt":11933},{"slug":8,"name":9,"logoUrl":10,"githubOrg":9},[12001,12002,12003,12004],{"name":11926,"slug":11927,"type":15},{"name":11912,"slug":11913,"type":15},{"name":11930,"slug":11931,"type":15},{"name":13,"slug":14,"type":15},{"slug":11935,"name":11935,"fn":11936,"description":11937,"org":12006,"tags":12007,"stars":25,"repoUrl":26,"updatedAt":11944},{"slug":8,"name":9,"logoUrl":10,"githubOrg":9},[12008,12009,12010,12011],{"name":11926,"slug":11927,"type":15},{"name":17,"slug":18,"type":15},{"name":11930,"slug":11931,"type":15},{"name":13,"slug":14,"type":15},{"slug":11946,"name":11946,"fn":11947,"description":11948,"org":12013,"tags":12014,"stars":25,"repoUrl":26,"updatedAt":11957},{"slug":8,"name":9,"logoUrl":10,"githubOrg":9},[12015,12016,12017,12018],{"name":11952,"slug":11953,"type":15},{"name":11912,"slug":11913,"type":15},{"name":11915,"slug":11916,"type":15},{"name":13,"slug":14,"type":15},{"slug":11959,"name":11959,"fn":11960,"description":11961,"org":12020,"tags":12021,"stars":25,"repoUrl":26,"updatedAt":11970},{"slug":8,"name":9,"logoUrl":10,"githubOrg":9},[12022,12023,12024,12025],{"name":11912,"slug":11913,"type":15},{"name":11966,"slug":11967,"type":15},{"name":11930,"slug":11931,"type":15},{"name":13,"slug":14,"type":15},{"slug":11972,"name":11972,"fn":11973,"description":11974,"org":12027,"tags":12028,"stars":25,"repoUrl":26,"updatedAt":11981},{"slug":8,"name":9,"logoUrl":10,"githubOrg":9},[12029,12030,12031,12032],{"name":17,"slug":18,"type":15},{"name":11912,"slug":11913,"type":15},{"name":20,"slug":21,"type":15},{"name":13,"slug":14,"type":15},{"slug":4,"name":4,"fn":5,"description":6,"org":12034,"tags":12035,"stars":25,"repoUrl":26,"updatedAt":27},{"slug":8,"name":9,"logoUrl":10,"githubOrg":9},[12036,12037,12038,12039],{"name":23,"slug":24,"type":15},{"name":17,"slug":18,"type":15},{"name":20,"slug":21,"type":15},{"name":13,"slug":14,"type":15},{"slug":12041,"name":12041,"fn":12042,"description":12043,"org":12044,"tags":12045,"stars":25,"repoUrl":26,"updatedAt":12053},"pay-with-any-token","pay HTTP 402 challenges with Uniswap","Pay HTTP 402 payment challenges using tokens via the Tempo CLI and Uniswap Trading API. Use when the user encounters a 402 Payment Required response, needs to fulfill a machine payment, mentions \"MPP\", \"Tempo payment\", \"pay for API access\", \"HTTP 402\", \"x402\", \"machine payment protocol\", \"pay-with-any-token\", \"use tempo\", \"tempo request\", or \"tempo wallet\".\n",{"slug":8,"name":9,"logoUrl":10,"githubOrg":9},[12046,12047,12050,12051],{"name":17,"slug":18,"type":15},{"name":12048,"slug":12049,"type":15},"Payments","payments",{"name":11930,"slug":11931,"type":15},{"name":12052,"slug":12052,"type":15},"x402","2026-07-17T06:04:29.756086",{"slug":12055,"name":12055,"fn":12056,"description":12057,"org":12058,"tags":12059,"stars":25,"repoUrl":26,"updatedAt":12064},"pay-with-app","pay 402 payment challenges","Pay HTTP 402 payment challenges issued by OKX's Agent Payments Protocol (APP) on X Layer using tokens from any chain via the Uniswap Trading API. Use this skill whenever the user encounters a 402 challenge whose network resolves to X Layer (chain 196), mentions \"APP\", \"Agent Payments Protocol\", \"OKX agent payment\", \"OKX Onchain OS\", \"OKX agentic wallet\", \"x402 on X Layer\", \"USDT0\", \"x42\", \"Instant Payment\", \"Batch Payment\", \"pay for X Layer API\", or wants to pay an OKX-backed merchant. Even when the user does not explicitly say APP, prefer this skill for any 402 challenge whose network resolves to X Layer (chain 196). For 402 challenges on other chains (Ethereum, Base, Arbitrum, Tempo) use pay-with-any-token instead.\n",{"slug":8,"name":9,"logoUrl":10,"githubOrg":9},[12060,12061,12062,12063],{"name":23,"slug":24,"type":15},{"name":12048,"slug":12049,"type":15},{"name":13,"slug":14,"type":15},{"name":12052,"slug":12052,"type":15},"2026-07-17T06:07:38.795043",{"slug":100,"name":100,"fn":12066,"description":12067,"org":12068,"tags":12069,"stars":25,"repoUrl":26,"updatedAt":12074},"integrate Uniswap swap functionality","Integrate Uniswap swaps into applications. Use when user says \"integrate swaps\", \"uniswap\", \"trading api\", \"add swap functionality\", \"build a swap frontend\", \"create a swap script\", \"smart contract swap integration\", \"use Universal Router\", \"Trading API\", or mentions swapping tokens via Uniswap.",{"slug":8,"name":9,"logoUrl":10,"githubOrg":9},[12070,12071,12072,12073],{"name":23,"slug":24,"type":15},{"name":17,"slug":18,"type":15},{"name":11930,"slug":11931,"type":15},{"name":13,"slug":14,"type":15},"2026-07-17T06:08:10.354222",{"slug":12076,"name":12076,"fn":12077,"description":12078,"org":12079,"tags":12080,"stars":25,"repoUrl":26,"updatedAt":12085},"swap-planner","plan and execute token swaps","This skill should be used when the user asks to \"swap tokens\", \"trade ETH for USDC\", \"exchange tokens on Uniswap\", \"buy tokens\", \"sell tokens\", \"convert ETH to stablecoins\", \"find memecoins\", \"discover tokens\", \"research tokens\", \"tokens to buy\", \"find tokens to swap\", \"what should I buy\", or mentions swapping, trading, researching, discovering, buying, or exchanging tokens on any Uniswap-supported chain. Supports both known token swaps and token discovery workflows (discovery uses keyword search and web search — there is no live \"trending\" feed). Generates deep links to execute swaps in the Uniswap interface.",{"slug":8,"name":9,"logoUrl":10,"githubOrg":9},[12081,12082,12083,12084],{"name":17,"slug":18,"type":15},{"name":20,"slug":21,"type":15},{"name":11930,"slug":11931,"type":15},{"name":13,"slug":14,"type":15},"2026-07-17T06:08:10.008152",{"slug":12087,"name":12087,"fn":12088,"description":12089,"org":12090,"tags":12091,"stars":25,"repoUrl":26,"updatedAt":12095},"v4-hook-generator","generate Uniswap v4 hook contracts","Generate Uniswap v4 hook contracts via OpenZeppelin MCP. Use when building custom swap logic, async swaps, hook-owned liquidity, custom curves, dynamic fees, MEV protection, limit orders, or oracle hooks.",{"slug":8,"name":9,"logoUrl":10,"githubOrg":9},[12092,12093,12094],{"name":11912,"slug":11913,"type":15},{"name":11915,"slug":11916,"type":15},{"name":13,"slug":14,"type":15},"2026-07-17T06:04:19.17669"]