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

Feature Request: Receive Order Fill details via REST APIs #72

Open
satwikkansal opened this issue Sep 9, 2024 · 2 comments
Open

Feature Request: Receive Order Fill details via REST APIs #72

satwikkansal opened this issue Sep 9, 2024 · 2 comments
Labels
enhancement New feature or request

Comments

@satwikkansal
Copy link

As discussed in #71

Presently the POST order endpoint returns a txn reference. But the same txn reference can't be used to determine whether the order has been filled or canceled.

There should be some way to check that using the original identifier returned from create order API or the order ID or user order ID.

@jordy25519
Copy link
Collaborator

jordy25519 commented Sep 13, 2024

gateway could store fills for a current session but going through the user's transaction history from a block explorer / indexer is the most comprehensive way.

so if your preference is to query for a recent fill it may be possible to implement here

@satwikkansal
Copy link
Author

Yes, recent should be enough for now.

@jordy25519 jordy25519 added the enhancement New feature or request label Sep 13, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants