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

Dex trades listing #1603

Open
janmichek opened this issue Oct 5, 2023 · 7 comments
Open

Dex trades listing #1603

janmichek opened this issue Oct 5, 2023 · 7 comments
Assignees
Labels

Comments

@janmichek
Copy link

We would like to get a list of trade activities per token

Example
image

@janmichek
Copy link
Author

Hello, would it be possible to prioritize this?

@jyeshe
Copy link
Member

jyeshe commented Oct 11, 2023

I am investigating an issue involving bonding curve deployment and can take it afterwards.

@janmichek
Copy link
Author

Hi there, could we ask you for some time estimation for delivery? We would like to adjust our roadmap by this dependency.

@jyeshe
Copy link
Member

jyeshe commented Oct 17, 2023

Hi there, could we ask you for some time estimation for delivery? We would like to adjust our roadmap by this dependency.

Hi Jan, I am off today. Please look into the /contracts/logs endpoint if it would suffice.
https://mainnet.aeternity.io/mdw/v2/contracts/logs?contract=ct_KeTvHnhU85vuuQMMZocaiYkPL9tkoavDRT3Jsy47LK2YqLHYb&event=Transfer&aexn-args=true

One point can be cleared out in advance, if it's required that Mint events are sorted within the same result/response, then some additional implementation will be needed.

@jyeshe
Copy link
Member

jyeshe commented Oct 18, 2023

@janmichek if it satisfies, there is also the aexn-args=true parameter to format better the sender and receiver (updated the link above).

@janmichek
Copy link
Author

Thank you! Seems to be good. Can we identify the Buy/Sell activity from it?

@jyeshe
Copy link
Member

jyeshe commented Oct 23, 2023

Thank you! Seems to be good. Can we identify the Buy/Sell activity from it?

For that it should be provided the contract id of the DEX and the structure/declaration of both events.

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

No branches or pull requests

2 participants