price-to-tick
Convert a price to a tick value for CL pools using specified tick spacing, base, and quote asset denominations. Essential for managing liquidity on the Osmosis blockchain.
Instructions
Converts a price to a tick value for CL pools
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| baseAssetDenom | Yes | The base asset denomination | |
| price | Yes | The price to convert | |
| quoteAssetDenom | Yes | The quote asset denomination | |
| tickSpacing | Yes | The tick spacing of the pool |