We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Please add following fields to /dex/swaps
/dex/swaps
action: [BUY | SELL | SWAP] fromContract: [contractId] toContract: [contractId] fromAmount: [number] toAmount: [number] fromDecimals: [number] toDecimals: [number] microtime(of the tx): [time] height (of the tx): [number]
also please document the API docs
The text was updated successfully, but these errors were encountered:
@janmichek can you elaborate on:
action
fromContract
toContract
Sorry, something went wrong.
1. What do you mean by the `action` field? Which swaps do you consider buy/sell?
I think you will get it by the entrypoint swap_exact_ae_for_tokens in this case th_2MZcRcm9Rcjf6HFoxjtHgPVAQSLurLQSFqJ6zjZew5sk7jPU7u
swap_exact_ae_for_tokens
2. With `fromContract` and `toContract` do you mean the sender and receiver accountPK?
By this I mean the token contract adresses
vatanasov
No branches or pull requests
Please add following fields to
/dex/swaps
action: [BUY | SELL | SWAP]
fromContract: [contractId]
toContract: [contractId]
fromAmount: [number]
toAmount: [number]
fromDecimals: [number]
toDecimals: [number]
microtime(of the tx): [time]
height (of the tx): [number]
also please document the API docs
The text was updated successfully, but these errors were encountered: