As the subgraph does you should be able to map a contract view function as well to call as you index stuff