Once the feature is available in Stellar SDK, use it to query horizon instead of putting the complex code into the offchain worker.
Once the feature is available in Stellar SDK, use it to query horizon instead of putting the complex code into the offchain worker.