Replies: 1 comment
-
the websocket endpoint will send you events in real time as they are confirmed on chain (https://github.com/drift-labs/gateway?tab=readme-ov-file#websocket-api), messages from this have the tx sig attached to it, however there isn't a way to query history. Is there a particular interface for getting this info that makes sense for your use case? |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hi everyone,
I'm using Drift Gateway and need to collect info from
fillPerpOrder
transactions, such as platform fees. I can get transaction info if I know the tx signature using:curl "localhost:8080/v2/transactionEvent/${tx}"
However, to find
fillPerpOrder
transactions, I currently need to go outside the Gateway - e.g., using Solscan or querying the chain programmatically.Is there a way to get this info using only the Gateway without querying the chain directly?
Thanks!
Beta Was this translation helpful? Give feedback.
All reactions