问题描述
在我的 web 应用程序中,balances.transfer
抛出错误,但 staking.bondExtra
按预期工作。它连接到西端网络。
错误:
错误:createType(Call)::Call:解码balances.transfer::Struct:参数失败:{"dest":"Lookupsource","value":"Compact
代码片段:
transactions = []
transactions.push(
api.tx.staking.bondExtra(rawAmount),api.tx.balances.transfer(Address,commission);
);
const bondExtraFee = await api.tx.utility.batch(transactions).paymentInfo(substrateStashId);
return bondExtraFee.partialFee.toNumber();
解决方法
暂无找到可以解决该程序问题的有效方法,小编努力寻找整理中!
如果你已经找到好的解决方法,欢迎将解决方案带上本链接一起发送给小编。
小编邮箱:dio#foxmail.com (将#修改为@)