4

关于前端调用metamask的问题

 2 years ago
source link: https://learnblockchain.cn/question/2149
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.
关于前端调用metamask的问题 | 登链社区 | 技术问答

关于前端调用metamask的问题

前端调用metamask发送交易后,metamask返回一个promise对象,调用then后返回本次交易的hash值,但这个hash并不能代表本次交易的状态。
前端如何知道本次交易成功或失败?


About Joyk


Aggregate valuable and interesting links.
Joyk means Joy of geeK