getBinByPrice
@foprta/sdk / getBinByPrice
Function: getBinByPrice()
getBinByPrice(
price
,bps
):number
Defined in: utils/bins.ts:9
Gets the bin index by price
Parameters
price
number
The price
bps
bigint
The basis points
Returns
number
The bin index