如何在 ApiPromise 中注册自定义托盘以便我们可以使用 polkadotjs 调用它?

问题描述

我正在尝试执行以下操作 await api.tx.custom.function()但它抛出以下错误 TypeError: Cannot read property 'function' of undefined 我们如何在我们的 ApiPromise 中注册自定义托盘?

解决方法

暂无找到可以解决该程序问题的有效方法,小编努力寻找整理中!

如果你已经找到好的解决方法,欢迎将解决方案带上本链接一起发送给小编。

小编邮箱:dio#foxmail.com (将#修改为@)