The coordinate system every other concept builds on
Bins
Every bin has a unique signed integer identifier, bin_id: i32. Bin 0 is the par bin (price
1.0); positive ids are above par, negative below. A bin’s price is fixed and deterministic —
no bin’s price can ever be anything other than what its id implies:
bin_step, in basis points, is fixed per pool at creation and sets how far apart adjacent bins
are priced. A finer bin_step (e.g. 1 bp) covers a huge price range at high density; a coarser
one (e.g. 400 bp) covers a wider range per bin, more coarsely. 22 bin steps are supported,
from 1 bp to 400 bp. Prices are pre-computed once when a bin array is created and stored per
bin, so a swap never has to exponentiate on the hot path.
Bin arrays
Bins are grouped into fixed-size bin arrays of 100 bins each — the unit of account
allocation. Bin arrays are created permissionlessly, on demand (create_bin_array), and a
swap or deposit only ever loads the arrays it actually touches. There is no bitmap scanning
the full range up front — this is a deliberate sparse design (see
Swaps for the traversal consequences).
bin_array_index = bin_id.div_euclid(100) // which array a bin lives inbin_index = bin_id.rem_euclid(100) // local slot, 0..99bin_id = bin_array_index * 100 + bin_index
div_euclid, not plain integer division, is required — truncating division misclassifies
negative ids (bin_id = -1 lands in array -1 under div_euclid, array 0 under /).
The active bin
At any moment, exactly one bin is the pool’s active bin — the bin currently holding both
tokens, at the pool’s current market price. Every bin below the active bin holds only Y (it’s a
bid); every bin above holds only X (it’s an ask). This partition isn’t a separate
invariant the program maintains — it falls directly out of how deposits are
distributed and how swaps drain
bins: a swap can leave a fully-drained bin single-sided and still
active, and the next deposit or swap prices correctly against whatever that bin’s actual
post-drain composition is.
There’s no oracle and no curve formula to invert. The active bin’s price is the market
price, full stop — reading it is one field access (Pool.activeBinId), not a computation.
Fee tiers
Independent of bin_step, a pool also fixes a base fee rate at creation, from a table of 23
supported tiers, 0.01% to 10.00%. Fee rate is stored in native units where
FEE_PRECISION = 1_000_000_000 represents 100% — one native unit is 0.00001 basis points,
far finer than the 23 supported tiers themselves need, leaving headroom below basis-point
resolution for tiers finer than the current table. See Fees for how the
static rate combines with the dynamic surcharge.
Computing a bin’s price off-chain
The SDK exposes the same Q64.64 math the program uses, so a client can price a bin — e.g. to
pick lowerBinId/upperBinId for a new position — without an RPC round trip:
import { getBinPriceFromStep } from "@picon-finance/dlmm-sdk";const price = getBinPriceFromStep(pool.data.binStep, someBinId); // Q64.64, or undefined
undefined means someBinId is outside the representable range for that bin_step — every
supported bin_step has a fixed, compile-time-verified min_bin_id/max_bin_id range, sized
so base^bin_id stays representable.
{"docsConfig":{"theme":"mint","$schema":"https://mintlify.com/docs.json","name":"Picon DLMM","description":"Integrator documentation for Picon DLMM: protocol mechanics and the @picon-finance/dlmm-sdk TypeScript SDK.","colors":{"primary":"#1B9E3E","light":"#3fc463","dark":"#13712C"},"logo":{"light":"https://mintcdn.com/picon-finance/syK14BDzX_uQHb64/logo/light.svg?fit=max\u0026auto=format\u0026n=syK14BDzX_uQHb64\u0026q=85\u0026s=020c4c5c6fb71505d1838b1104dec105","dark":"https://mintcdn.com/picon-finance/syK14BDzX_uQHb64/logo/dark.svg?fit=max\u0026auto=format\u0026n=syK14BDzX_uQHb64\u0026q=85\u0026s=e86716cdec9181d79c0b63cb84ed53b7"},"favicon":"https://mintcdn.com/picon-finance/syK14BDzX_uQHb64/favicon.svg?fit=max\u0026auto=format\u0026n=syK14BDzX_uQHb64\u0026q=85\u0026s=172080d5f4869b20695014988fe76724","navbar":{"links":[{"href":"https://www.npmjs.com/package/@picon-finance/dlmm-sdk","label":"SDK on npm"}],"primary":{"type":"button","label":"Launch app","href":"https://dlmm.picon.finance"}},"footer":{"socials":{"x":"https://x.com/PiconDeFi","github":"https://github.com/picon-finance","discord":"https://discord.gg/wGXNfpMmqF"}},"styling":{"latex":false},"navigation":{"pages":[]}},"deployment":{"deploymentMetadataValue":{"subdomain":"picon-finance","hasAudioNarration":false,"actualSubdomain":"picon-finance","customDomains":["docs.picon.finance"],"gitSource":{"type":"github","owner":"picon-finance","repo":"picon-dlmm-docs","deployBranch":"main","contentDirectory":"","isPrivate":true,"mountPath":"","label":"","_id":"6b10fb619ffae5051c41b99a"},"entitlements":{"AI_CHAT":{"status":"DISABLED"}},"buildId":"6a93d3db5dac78bc31c7cc76","clientVersion":"0.0.4453","searchFilterCounts":[{"language":"default","tag":"Protocol concepts","count":7},{"language":"default","tag":"SDK","count":6},{"language":"default","tag":"Integrations","count":4},{"language":"default","tag":"Reference","count":3},{"language":"default","tag":"Get started","count":1},{"language":"default","tag":"Security","count":1}]},"assistantConfig":{"enableAskAiButton":false,"enableStarterQuestions":false,"enableContextualStarterQuestions":false,"enableAskAiSearchBar":true},"basePath":"","hasChatPermissions":false,"hasWebMcpPermissions":false,"toggles":[{"name":"kill-isr","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-mintlify-slack","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-integrations-settings","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"rbac-expansion","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-pr-grouping","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"custom-prefix","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"analytics-v7","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"user-flows-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"no-publish-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving-live","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"stripTemperatureMiddleware","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"support-platform-pylon-zendesk","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"instant-rollback","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications-server","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-fable","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fixed-ai-action-pricing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automation-resolve-merge-conflict","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"scoped-publishing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"mintql","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"page-level-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-version-history-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"billing-page-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"full-page-search","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workspace-projects","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fork-pr-previews","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"revalidation-jwt","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"hobby-abuse-scan","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"dashboard-inbox","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"turbopuffer-dual-write","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"approve-review-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-metadata","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"turbopuffer-serve","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"live-agents","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"starter-pricing","enabled":true,"variant":{"name":"control","enabled":true,"payload":{"type":"string","value":"control"},"feature_enabled":true},"impressionData":false},{"name":"llms-txt-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"auth-vite-origin","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false}],"starterQuestions":[],"googleFontsInlined":false},"customCss":[]}
{"page":{"pagePath":"concepts/bins-and-pricing","slug":"/concepts/bins-and-pricing","pageMetadata":{"title":"Bins and pricing","description":"The coordinate system every other concept builds on","href":"/concepts/bins-and-pricing"},"description":{"compiledSource":"\"use strict\";\nconst {jsx: _jsx} = arguments[0];\nconst {useMDXComponents: _provideComponents} = arguments[0];\nfunction _createMdxContent(props) {\n const _components = {\n p: \"p\",\n ..._provideComponents(),\n ...props.components\n };\n return _jsx(_components.p, {\n children: \"The coordinate system every other concept builds on\"\n });\n}\nfunction MDXContent(props = {}) {\n const {wrapper: MDXLayout} = {\n ..._provideComponents(),\n ...props.components\n };\n return MDXLayout ? _jsx(MDXLayout, {\n ...props,\n children: _jsx(_createMdxContent, {\n ...props\n })\n }) : _createMdxContent(props);\n}\nreturn {\n default: MDXContent\n};\n","frontmatter":{},"scope":{}},"pageType":"default","mdx":{"mdxSource":{"compiledSource":"\"use strict\";const{Fragment:_Fragment,jsx:_jsx,jsxs:_jsxs}=arguments[0];const{useMDXComponents:_provideComponents}=arguments[0];function _createMdxContent(props){const _components={a:`a`,code:`code`,em:`em`,p:`p`,pre:`pre`,span:`span`,strong:`strong`,..._provideComponents(),...props.components},{CodeBlock,Heading,Tip}=_components;if(!CodeBlock)_missingMdxReference(`CodeBlock`,true);if(!Heading)_missingMdxReference(`Heading`,true);if(!Tip)_missingMdxReference(`Tip`,true);return _jsxs(_Fragment,{children:[_jsx(Heading,{level:`2`,id:`bins`,children:`Bins`}),`\n`,_jsxs(_components.p,{children:[`Every bin has a unique signed integer identifier, `,_jsx(_components.code,{children:`bin_id: i32`}),`. Bin `,_jsx(_components.code,{children:`0`}),` is the par bin (price\n`,_jsx(_components.code,{children:`1.0`}),`); positive ids are above par, negative below. A bin’s price is fixed and deterministic —\nno bin’s price can ever be anything other than what its id implies:`]}),`\n`,_jsx(CodeBlock,{numberOfLines:`3`,language:`text`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`text`,children:_jsxs(_components.code,{language:`text`,numberOfLines:`3`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`price(bin_id) = base^bin_id (Q64.64 fixed point)`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`base = 1 + bin_step / 10_000`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{})})]})})}),`\n`,_jsxs(_components.p,{children:[_jsx(_components.code,{children:`bin_step`}),`, in basis points, is fixed per pool at creation and sets how far apart adjacent bins\nare priced. A finer `,_jsx(_components.code,{children:`bin_step`}),` (e.g. 1 bp) covers a huge price range at high density; a coarser\none (e.g. 400 bp) covers a wider range per bin, more coarsely. 22 bin steps are supported,\nfrom 1 bp to 400 bp. Prices are pre-computed once when a bin array is created and stored per\nbin, so a swap never has to exponentiate on the hot path.`]}),`\n`,_jsx(Heading,{level:`2`,id:`bin-arrays`,children:`Bin arrays`}),`\n`,_jsxs(_components.p,{children:[`Bins are grouped into fixed-size `,_jsx(_components.strong,{children:`bin arrays`}),` of 100 bins each — the unit of account\nallocation. Bin arrays are created permissionlessly, on demand (`,_jsx(_components.code,{children:`create_bin_array`}),`), and a\nswap or deposit only ever loads the arrays it actually touches. There is no bitmap scanning\nthe full range up front — this is a deliberate `,_jsx(_components.strong,{children:`sparse`}),` design (see\n`,_jsx(_components.a,{href:`/concepts/swaps`,children:`Swaps`}),` for the traversal consequences).`]}),`\n`,_jsx(CodeBlock,{numberOfLines:`4`,language:`text`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`text`,children:_jsxs(_components.code,{language:`text`,numberOfLines:`4`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`bin_array_index = bin_id.div_euclid(100) // which array a bin lives in`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`bin_index = bin_id.rem_euclid(100) // local slot, 0..99`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`bin_id = bin_array_index * 100 + bin_index`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{})})]})})}),`\n`,_jsxs(_components.p,{children:[_jsx(_components.code,{children:`div_euclid`}),`, not plain integer division, is required — truncating division misclassifies\nnegative ids (`,_jsx(_components.code,{children:`bin_id = -1`}),` lands in array `,_jsx(_components.code,{children:`-1`}),` under `,_jsx(_components.code,{children:`div_euclid`}),`, array `,_jsx(_components.code,{children:`0`}),` under `,_jsx(_components.code,{children:`/`}),`).`]}),`\n`,_jsx(Heading,{level:`2`,id:`the-active-bin`,children:`The active bin`}),`\n`,_jsxs(_components.p,{children:[`At any moment, exactly one bin is the pool’s `,_jsx(_components.strong,{children:`active bin`}),` — the bin currently holding both\ntokens, at the pool’s current market price. Every bin below the active bin holds only Y (it’s a\n`,_jsx(_components.strong,{children:`bid`}),`); every bin above holds only X (it’s an `,_jsx(_components.strong,{children:`ask`}),`). This partition isn’t a separate\ninvariant the program maintains — it falls directly out of how `,_jsx(_components.a,{href:`/concepts/positions-and-liquidity`,children:`deposits are\ndistributed`}),` and how `,_jsx(_components.a,{href:`/concepts/swaps#traversal`,children:`swaps drain\nbins`}),`: a swap can leave a fully-drained bin single-sided and still\nactive, and the next deposit or swap prices correctly against whatever that bin’s actual\npost-drain composition is.`]}),`\n`,_jsx(Tip,{children:_jsxs(_components.p,{children:[`There’s no oracle and no curve formula to invert. The active bin’s price `,_jsx(_components.em,{children:`is`}),` the market\nprice, full stop — reading it is one field access (`,_jsx(_components.code,{children:`Pool.activeBinId`}),`), not a computation.`]})}),`\n`,_jsx(Heading,{level:`2`,id:`fee-tiers`,children:`Fee tiers`}),`\n`,_jsxs(_components.p,{children:[`Independent of `,_jsx(_components.code,{children:`bin_step`}),`, a pool also fixes a base fee rate at creation, from a table of 23\nsupported tiers, `,_jsx(_components.code,{children:`0.01%`}),` to `,_jsx(_components.code,{children:`10.00%`}),`. Fee rate is stored in `,_jsx(_components.strong,{children:`native units`}),` where\n`,_jsx(_components.code,{children:`FEE_PRECISION = 1_000_000_000`}),` represents 100% — one native unit is `,_jsx(_components.code,{children:`0.00001`}),` basis points,\nfar finer than the 23 supported tiers themselves need, leaving headroom below basis-point\nresolution for tiers finer than the current table. See `,_jsx(_components.a,{href:`/concepts/fees`,children:`Fees`}),` for how the\nstatic rate combines with the dynamic surcharge.`]}),`\n`,_jsx(Heading,{level:`2`,id:`computing-a-bin’s-price-off-chain`,children:`Computing a bin’s price off-chain`}),`\n`,_jsxs(_components.p,{children:[`The SDK exposes the same Q64.64 math the program uses, so a client can price a bin — e.g. to\npick `,_jsx(_components.code,{children:`lowerBinId`}),`/`,_jsx(_components.code,{children:`upperBinId`}),` for a new position — without an RPC round trip:`]}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`3`,language:`typescript`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`typescript`,children:_jsxs(_components.code,{language:`typescript`,numberOfLines:`3`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#C586C0`},children:`import`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` { `}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`getBinPriceFromStep`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` } `}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#C586C0`},children:`from`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"@picon-finance/dlmm-sdk\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`;`})]}),`\n`,_jsx(_components.span,{className:`line`}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:`const`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#4FC1FF`},children:` price`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:` =`}),_jsx(_components.span,{style:{color:`#8250DF`,\"--shiki-dark\":`#DCDCAA`},children:` getBinPriceFromStep`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`(`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`pool`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`.`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`data`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`.`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`binStep`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`, `}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`someBinId`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`); `}),_jsx(_components.span,{style:{color:`#6E7781`,\"--shiki-dark\":`#6A9955`},children:`// Q64.64, or undefined`})]}),`\n`]})})}),`\n`,_jsxs(_components.p,{children:[_jsx(_components.code,{children:`undefined`}),` means `,_jsx(_components.code,{children:`someBinId`}),` is outside the representable range for that `,_jsx(_components.code,{children:`bin_step`}),` — every\nsupported `,_jsx(_components.code,{children:`bin_step`}),` has a fixed, compile-time-verified `,_jsx(_components.code,{children:`min_bin_id`}),`/`,_jsx(_components.code,{children:`max_bin_id`}),` range, sized\nso `,_jsx(_components.code,{children:`base^bin_id`}),` stays representable.`]})]})}function MDXContent(props={}){const{wrapper:MDXLayout}={..._provideComponents(),...props.components};return MDXLayout?_jsx(MDXLayout,{...props,children:_jsx(_createMdxContent,{...props})}):_createMdxContent(props)}return{default:MDXContent};function _missingMdxReference(id,component){throw new Error(`Expected `+(component?`component`:`object`)+\" `\"+id+\"` to be defined: you likely forgot to import, pass, or provide it.\")}","frontmatter":{},"scope":{"config":{},"pageMetadata":{"title":"Bins and pricing","description":"The coordinate system every other concept builds on","href":"/concepts/bins-and-pricing"}}},"mdxSourceWithNoJs":null},"mdxExtracts":{"tableOfContents":[{"title":"Bins","slug":"bins","depth":2,"children":[]},{"title":"Bin arrays","slug":"bin-arrays","depth":2,"children":[]},{"title":"The active bin","slug":"the-active-bin","depth":2,"children":[]},{"title":"Fee tiers","slug":"fee-tiers","depth":2,"children":[]},{"title":"Computing a bin’s price off-chain","slug":"computing-a-bin’s-price-off-chain","depth":2,"children":[]}],"codeExamples":{}},"jsLinks":[],"subdomain":"picon-finance","siteName":"Picon DLMM","title":"Bins and pricing - Picon DLMM","contextualStarterQuestions":[],"navMaps":{"firstHrefInVersion":{},"firstHrefInLanguage":{}},"lastModified":"2026-08-16T08:39:32.053Z","originalFileLocation":"concepts/bins-and-pricing.mdx"},"headHtml":"\u003cscript data-mint-head>(function(){var d=document.documentElement,p=null;if(!p){try{p=localStorage.getItem(\"isDarkMode\")}catch(e){}if(p==='true')p='dark';else if(p==='false')p='light';if(p!=='light'\u0026\u0026p!=='dark'\u0026\u0026p!=='system')p=\"system\"}var r=p==='system'?(matchMedia(\"(prefers-color-scheme: dark)\").matches?'dark':'light'):p;d.classList.remove(r==='dark'?'light':'dark');d.classList.add(r);d.setAttribute(\"data-theme-preference\",p)})();\u003c/script>\u003cmeta data-mint-head name=\"description\" content=\"The coordinate system every other concept builds on\">\u003cmeta data-mint-head name=\"application-name\" content=\"Picon DLMM\">\u003cmeta data-mint-head name=\"generator\" content=\"Mintlify\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/picon-finance/uAvS2Z0cFlLUgo5y/_generated/favicon/android-chrome-192x192.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"apple-touch-icon\" type=\"image/png\" sizes=\"180x180\" href=\"/mintlify-assets/_mintlify/favicons/picon-finance/uAvS2Z0cFlLUgo5y/_generated/favicon/apple-touch-icon.png\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/picon-finance/uAvS2Z0cFlLUgo5y/_generated/favicon/favicon-16x16.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/mintlify-assets/_mintlify/favicons/picon-finance/uAvS2Z0cFlLUgo5y/_generated/favicon/favicon-32x32.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/x-icon\" href=\"/mintlify-assets/_mintlify/favicons/picon-finance/uAvS2Z0cFlLUgo5y/_generated/favicon/favicon.ico\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/picon-finance/uAvS2Z0cFlLUgo5y/_generated/favicon-dark/android-chrome-192x192.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/picon-finance/uAvS2Z0cFlLUgo5y/_generated/favicon-dark/favicon-16x16.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/mintlify-assets/_mintlify/favicons/picon-finance/uAvS2Z0cFlLUgo5y/_generated/favicon-dark/favicon-32x32.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/x-icon\" href=\"/mintlify-assets/_mintlify/favicons/picon-finance/uAvS2Z0cFlLUgo5y/_generated/favicon-dark/favicon.ico\" media=\"(prefers-color-scheme: dark)\">\u003cmeta data-mint-head property=\"og:title\" content=\"Bins and pricing - Picon DLMM\">\u003cmeta data-mint-head property=\"og:description\" content=\"The coordinate system every other concept builds on\">\u003cmeta data-mint-head property=\"og:site_name\" content=\"Picon DLMM\">\u003cmeta data-mint-head property=\"og:url\" content=\"https://docs.picon.finance/concepts/bins-and-pricing\">\u003cmeta data-mint-head property=\"og:type\" content=\"website\">\u003cmeta data-mint-head property=\"og:image\" content=\"https://picon-finance.mintlify.site/_mintlify/api/og/v2?division=Protocol+concepts\u0026amp;title=Bins+and+pricing\u0026amp;description=The+coordinate+system+every+other+concept+builds+on\u0026amp;theme=31f78455181f3ef1b722307b\u0026amp;signature=e606607abb9e9e5b82398add5f2f1d97855116e76ac9707ec118ab33cc457d78\">\u003cmeta data-mint-head property=\"og:image:width\" content=\"1200\">\u003cmeta data-mint-head property=\"og:image:height\" content=\"630\">\u003cmeta data-mint-head name=\"twitter:card\" content=\"summary_large_image\">\u003cmeta data-mint-head name=\"twitter:title\" content=\"Bins and pricing - Picon DLMM\">\u003cmeta data-mint-head name=\"twitter:description\" content=\"The coordinate system every other concept builds on\">\u003cmeta data-mint-head name=\"twitter:image\" content=\"https://picon-finance.mintlify.site/_mintlify/api/og/v2?division=Protocol+concepts\u0026amp;title=Bins+and+pricing\u0026amp;description=The+coordinate+system+every+other+concept+builds+on\u0026amp;theme=31f78455181f3ef1b722307b\u0026amp;signature=e606607abb9e9e5b82398add5f2f1d97855116e76ac9707ec118ab33cc457d78\">\u003cmeta data-mint-head name=\"twitter:image:width\" content=\"1200\">\u003cmeta data-mint-head name=\"twitter:image:height\" content=\"630\">\u003cmeta data-mint-head name=\"msapplication-config\" content=\"/mintlify-assets/_mintlify/favicons/picon-finance/uAvS2Z0cFlLUgo5y/_generated/favicon/browserconfig.xml\">\u003cmeta data-mint-head name=\"apple-mobile-web-app-title\" content=\"Picon DLMM\">\u003cmeta data-mint-head name=\"msapplication-TileColor\" content=\"#1B9E3E\">\u003clink data-mint-head rel=\"canonical\" href=\"https://docs.picon.finance/concepts/bins-and-pricing\">\u003clink data-mint-head rel=\"alternate\" type=\"application/xml\" href=\"/sitemap.xml\">\u003clink data-mint-head rel=\"alternate\" type=\"text/markdown\" href=\"/concepts/bins-and-pricing.md\">\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@graph\":[{\"@type\":\"Organization\",\"@id\":\"https://docs.picon.finance/#organization\",\"name\":\"Picon DLMM\",\"url\":\"https://docs.picon.finance\",\"logo\":{\"@type\":\"ImageObject\",\"url\":\"https://mintcdn.com/picon-finance/syK14BDzX_uQHb64/logo/light.svg?fit=max\u0026auto=format\u0026n=syK14BDzX_uQHb64\u0026q=85\u0026s=020c4c5c6fb71505d1838b1104dec105\"}},{\"@type\":\"WebSite\",\"@id\":\"https://docs.picon.finance#website\",\"name\":\"Picon DLMM\",\"url\":\"https://docs.picon.finance\",\"publisher\":{\"@id\":\"https://docs.picon.finance/#organization\"}},{\"@type\":\"WebPage\",\"@id\":\"https://docs.picon.finance/concepts/bins-and-pricing#webpage\",\"url\":\"https://docs.picon.finance/concepts/bins-and-pricing\",\"name\":\"Bins and pricing\",\"description\":\"The coordinate system every other concept builds on\",\"dateModified\":\"2026-08-16T08:39:32.053Z\",\"isPartOf\":{\"@id\":\"https://docs.picon.finance#website\"},\"breadcrumb\":{\"@id\":\"https://docs.picon.finance/concepts/bins-and-pricing#breadcrumb\"}},{\"@type\":\"BreadcrumbList\",\"@id\":\"https://docs.picon.finance/concepts/bins-and-pricing#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Picon DLMM\",\"item\":\"https://docs.picon.finance\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Bins and pricing\",\"item\":\"https://docs.picon.finance/concepts/bins-and-pricing\"}]},{\"@type\":[\"Article\",\"TechArticle\"],\"@id\":\"https://docs.picon.finance/concepts/bins-and-pricing#article\",\"headline\":\"Bins and pricing\",\"name\":\"Bins and pricing\",\"description\":\"The coordinate system every other concept builds on\",\"url\":\"https://docs.picon.finance/concepts/bins-and-pricing\",\"mainEntityOfPage\":{\"@id\":\"https://docs.picon.finance/concepts/bins-and-pricing#webpage\"},\"dateModified\":\"2026-08-16T08:39:32.053Z\",\"publisher\":{\"@id\":\"https://docs.picon.finance/#organization\"},\"isPartOf\":{\"@id\":\"https://docs.picon.finance#website\"}}]}\u003c/script>\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@type\":\"WebSite\",\"name\":\"Picon DLMM\",\"publisher\":{\"@type\":\"Organization\",\"name\":\"Picon DLMM\"},\"provider\":{\"@type\":\"Organization\",\"name\":\"Mintlify\",\"url\":\"https://mintlify.com\"}}\u003c/script>","agentPointerHref":"/concepts/bins-and-pricing.md","siteName":"Picon DLMM","nav":{"global":null,"groups":[{"group":"Get started","pages":[{"title":"Introduction","description":"What Picon DLMM is, and how these docs are organized","href":"/introduction"}]},{"group":"Protocol concepts","pages":[{"title":"Bins and pricing","href":"/concepts/bins-and-pricing"},{"title":"Positions and liquidity","description":"How liquidity is deposited into bins, and what a position actually is","href":"/concepts/positions-and-liquidity"},{"title":"Swaps","href":"/concepts/swaps"},{"title":"Fees","href":"/concepts/fees"},{"title":"Token-2022","href":"/concepts/token-2022"},{"title":"Accounts and PDAs","href":"/concepts/accounts-and-pdas"},{"title":"Governance","href":"/concepts/governance"}]},{"group":"SDK","pages":[{"title":"Installation","href":"/sdk/installation"},{"title":"Quickstart","href":"/sdk/quickstart"},{"title":"Pools and swaps","href":"/sdk/pools-and-swaps"},{"title":"Positions","href":"/sdk/positions"},{"title":"Events","href":"/sdk/events"},{"title":"Price math","href":"/sdk/price-math"}]},{"group":"Integrations","pages":[{"title":"Overview","href":"/integrations/overview"},{"title":"Aggregators and routers","href":"/integrations/aggregators-and-routers"},{"title":"Quoting without the SDK","href":"/integrations/quoting-without-the-sdk"},{"title":"Liquidity-management bots","href":"/integrations/liquidity-bots"}]},{"group":"Security","pages":[{"title":"Security","href":"/security"}]},{"group":"Reference","pages":[{"title":"Program addresses","href":"/reference/program-addresses"},{"title":"Instructions","href":"/reference/instructions"},{"title":"Events","href":"/reference/events"}]}]},"basePath":"","title":"Bins and pricing - Picon DLMM","deploymentId":"dpl_BLZw3QngerHodH9E8mGgC4v752y3","buildId":"dpl_BLZw3QngerHodH9E8mGgC4v752y3","dynamics":[],"chunks":[]}