Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Last trades sample query #1

Open
ashachaf opened this issue Jul 4, 2023 · 1 comment
Open

Last trades sample query #1

ashachaf opened this issue Jul 4, 2023 · 1 comment

Comments

@ashachaf
Copy link

ashachaf commented Jul 4, 2023

please add the following sample query that fetches the last trades on carbon

{
 swaps: trades (first: 3, orderBy: createdAtTimestamp, orderDirection: desc)
  {
   transactionHash: transactionHash,
    sourceAmount,
    sourceToken{
      id,
      decimals,
      symbol
    },
    targetAmount,
    targetToken {
      id,
      decimals,
      symbol
    },
    createdAtTimestamp,
  }
}
@ashachaf
Copy link
Author

@pingustar do we still need this?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant