TRM Labs interview question

Design a data model for querying blockchain data given certain constraints