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
When I attempt to send an MPT payment transaction with an MPTAmount value of 10.01 (a float), the SDK throws the following error:
xrpl.core.binarycodec.exceptions.XRPLBinaryCodecException: Error processing Amount: 10.01 is an invalid MPT amount.
This behavior is unexpected as the SDK type hints suggest that float values should be acceptable for the MPTAmount.value field.
MPTAmount.value
Expected Behavior:
The SDK should successfully process float values for the MPTAmount value field in MPT payment transactions.
Steps to Reproduce:
The text was updated successfully, but these errors were encountered:
Amounts should be specified as strings - e.g. "10.01".
"10.01"
Sorry, something went wrong.
I found out, I just came here to report about the error in the sdk
No branches or pull requests
When I attempt to send an MPT payment transaction with an MPTAmount value of 10.01 (a float), the SDK throws the following error:
This behavior is unexpected as the SDK type hints suggest that float values should be acceptable for the
MPTAmount.value
field.Expected Behavior:
The SDK should successfully process float values for the MPTAmount value field in MPT payment transactions.
Steps to Reproduce:
The text was updated successfully, but these errors were encountered: