Skip to content
This repository has been archived by the owner on Nov 9, 2022. It is now read-only.

Status GraphQL Query #55

Open
johnletey opened this issue Apr 2, 2021 · 2 comments
Open

Status GraphQL Query #55

johnletey opened this issue Apr 2, 2021 · 2 comments
Labels
enhancement New feature or request

Comments

@johnletey
Copy link

Description

Be able to query transactions by status.

Add a new status filter to the GraphQL Schema.
Legacy code from the AWS version.

Example

query {
  transactions(status: "any" | "confirmed" | "pending") {
    edges {
      node {
        id
      }
    }
  }
}
@cedriking cedriking added the enhancement New feature or request label Apr 2, 2021
@CDDelta
Copy link

CDDelta commented May 25, 2021

Would be a nice feature but I don't believe confirmed is the right name here since transactions are final when they are first mined. Perhaps "mined" or "included" would be better?

@johnletey
Copy link
Author

Perhaps "mined" or "included" would be better?

@CDDelta Yeah I'm fine with "mined".

@TheLoneRonin We should also maybe think about having the dropped transaction status, as the current gateway system has a weird caching thing where it stores dropped transactions. So maybe then an "included" and "not-included" status would make more sense 🤷🏻‍♂️

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

3 participants