Closed codewithgun closed 4 months ago
getBinArraysRequiredByPositionRange
initializeBinArrays
Check dlmm-sdk/ts-client/src/examples/initialize_bin_arrays.ts for example reference.
dlmm-sdk/ts-client/src/examples/initialize_bin_arrays.ts
Added
getBinArraysRequiredByPositionRange
. Retrieves the bin arrays required to initialize multiple positions in continuous range.initializeBinArrays
. Initializes bin arrays for the given bin array indexes if it wasn't initialized.Check
dlmm-sdk/ts-client/src/examples/initialize_bin_arrays.ts
for example reference.