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

Move amount closer to currency #533

Closed
dudo50 opened this issue Nov 22, 2024 · 0 comments · Fixed by #554
Closed

Move amount closer to currency #533

dudo50 opened this issue Nov 22, 2024 · 0 comments · Fixed by #554
Labels
enhancement New feature or request XCM SDK Issue is about XCM SDK

Comments

@dudo50
Copy link
Contributor

dudo50 commented Nov 22, 2024

Currently we have separate .amount parameter in builder, but this is very far from symbol selection and when selecting multiple assets it could be confusing to input two numbers into .amount.

Remove .amount parameter from builder and move it closer to .currency for more user friendly amount specification.

.currency(multiasset[{symbol: WUD, amount: 2101293}, {symbol: DED, amount: 18312}, ])

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request XCM SDK Issue is about XCM SDK
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant