帖子
分享您的知识。
farshad173
Feb 05, 2025
专家问答
Why do I keep getting 'MoveAbort' error in signAndExecuteTransaction?
I'm trying to make swaps using the functions client.findRouters, client.fastRouterSwap, and client.signAndExecuteTransaction but frequently encounter the 'MoveAbort' error. My balance seems stable at 100+ SUI, yet 1 out of 10 transactions fails. This error still persists after restoring the blockchain. How can I figure out what's going wrong?
- Move CLI
- Move
- Move Module
4
3
分享
评论
答案
3yhant3246
Feb 5 2025, 11:03您遇到的错误可能表明 “split” 函数是在交易过程中调用的,即使看起来稳定,余额也可能不足. 检查您的硬币对象和正在调用的方法以及传递的参数,可能会提供更多见解. 您也可以考虑在整个交易过程中跟踪您的对象以诊断问题.
4
最佳答案
评论
Raju159
Feb 5 2025, 11:02错误 “moveAbort(moveLocation {模块:moduleId {地址:[..],名称:标识符(“余额”)},函数:7,指令:10,函数名称:一些(“拆分”)},2)” 表明尝试拆分操作时可能存在余额不足的问题. 您可能需要确保在每笔交易中都考虑到余额的所有部分.
3
评论
你知道答案吗?
请登录并分享。
Move is an executable bytecode language used to implement custom transactions and smart contracts.
101帖子160答案
热门帖子