消费者可以通过Metamask、mist浏览器实现与以太坊的交互,而开发者可以通过web3js工具库实现以太坊的交互。
单笔交易需要的字段:
nonce :
定义
- 官方文档对于nonce的说明:
nonce: QUANTITY - (optional) Integer of a nonce. This allows to overwrite your own pending transactions that use the same nonce.
2.个人定义:每发起一笔交易,nonce就会加一(nonce 计数从 0 开始,如果你的账户有5笔转出交易,那么最后一次的nonce值会是4)。
对于发起的解释:
1.外部账户(EOA)每发送一笔交易;
2.合约账户 (Contract Wallet) 每创建一个合约
而转入交易、合约调用其他合约等属于内部调用,因此