GraphQL API does not support the concept of "direction" and "counterparty" for account-level transactions #1335
Labels
Data
Database, storage or retrieval of data, JSON, serialization, etc.
Enhancement
Enhancement to an existing feature
GraphQL
GraphQL API
Milestone
This is different from being able to query for either outgoing or incoming:
We need to support the concept of "direction" and "counterparty". Here is a suggestion on how it might be structured:
Currently, the UI augments the data by iterating over all the data and checking if the recipient or sender contains the account's public key, to determine direction and counterparty. This requires making additional structs (containing the concept of counterparty and direction) and mapping to them before rending, which does not seem ideal.
This seems like it should be a first-class concept in our indexer as it provides and account-centric perspective on transactions either incoming or outgoing.
The text was updated successfully, but these errors were encountered: