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
While using Astroport UI the following swap works, however fails with code. Why?
https://finder.terra.money/classic/tx/4682D33F89911F4CB6145B8233B93FCB0DF7D79292511217B8B9B094DC018298
From UI:
{ "send": { "msg": "eyJzd2FwIjp7Im1heF9zcHJlYWQiOiIwLjUwMCIsImJlbGllZl9wcmljZSI6IjAuMDA4ODE4NDAwMzk2NjY1NzU5IiwiZGVhZGxpbmUiOjE2OTM5MjY1ODZ9fQ==", "amount": "1000000", "contract": "terra1z5ufkcg8urgcmjqc7h6sjwk9rcxpp8qlu6tuxka8duvug86pmzwqq4craj" } }
From code:
{ "swap": { "max_spread": "0.1", "offer_asset": { "info": { "token": { "contract_addr": "terra1f0us6p9axmzacwq2fn7sm5ke8k302tx7hg7s49" } }, "amount": "1000" }, "belief_price": "13.895568934822152940" } }
The text was updated successfully, but these errors were encountered:
https://docs.astroport.fi/docs/develop/tutorials/trading/swapping#cw20-swap
Sorry, something went wrong.
No branches or pull requests
While using Astroport UI the following swap works, however fails with code. Why?
https://finder.terra.money/classic/tx/4682D33F89911F4CB6145B8233B93FCB0DF7D79292511217B8B9B094DC018298
From UI:
From code:
The text was updated successfully, but these errors were encountered: