Open metaproph3t opened 1 year ago
I know how to get this from on-chain (just call bookside.best_price()), but I don't know how to do this from client
bookside.best_price()
this would help a lot in surfacing prices to end-users
hey @metaproph3t can you check if the new sdk works for you? https://github.com/openbook-dex/openbook-v2/blob/9d7173a44412c7d8297bd0d24f3bb0909e81d608/ts/client/src/accounts/market.ts#L160-L162
I know how to get this from on-chain (just call
bookside.best_price()
), but I don't know how to do this from clientthis would help a lot in surfacing prices to end-users