Post
Share your knowledge.
hohm97
Jan 25, 2025
Expert Q&A
What causes MoveAbort errors with 'split' in transactions?
I've been encountering MoveAbort errors in my transactions, specifically with the function 'split'. The error seems related to a balance issue, as indicated by a message about splitting more than the coin's balance. What exactly does this mean and why does it happen?
- Move CLI
2
1
Share
Comments
Answers
1skywinder271
Jan 25 2025, 17:17The error occurs because you are trying to split out more than the coin has a balance of. This means the transaction attempts to divide a coin beyond what's available in balance, leading to the abort. Check out this link for more details: https://github.com/MystenLabs/sui/blob/main/crates/sui-framework/packages/sui-framework/sources/balance.move#L78
2
Comments
Do you know the answer?
Please log in and share it.
Move is an executable bytecode language used to implement custom transactions and smart contracts.
148Posts231Answers

Reward CampaignJune
- ... SUIderiss+5
- ... SUIRamirez+5
- ... SUIElvin CLONE +5
- ... SUI
- ... SUI
- ... SUI
- ... SUIBritain+2
Bounty Posts