For a while now I'm trying to figure out how to get all offers for a particular Asset (or pair). As an example, StellarExpert lists all offers of MOBI on the following page: https://stellar.expert/explorer/public/asset/MOBI-GA6HCMBLTZS5VYYBCATRBRZ3BZJMAFUDKYYF6AH6MVCMGWMRDNSWJPIH?filter=offers
I have checked the REST API docs and the JavaScript SDK docs but thus far I only found a way to query offers for an account, nothing about an asset.
I was hoping that the orderbook would give me some options but it does not.
Any pointers would be greatly appreciated.
Cheers