Clean up generalized blockchain market order querying