官术网_书友最值得收藏!

Transactions

A transaction is a signed data package to transfer ether from an account to another account or to a contract, invoke methods of a contract, or deploy a new contract. A transaction is signed using ECDSA (Elliptic Curve Digital Signature Algorithm), which is a digital signature algorithm based on ECC. A transaction contains the recipient of the message, a signature identifying the sender and proving their intention, the amount of ether to transfer, the maximum number of computational steps the transaction execution is allowed to take (called the gas limit), and the cost the sender of the transaction is willing to pay for each computational step (called the gas price). If the transaction's intention is to invoke a method of a contract, it also contains input data, or if its intention is to deploy a contract, then it can contain the initialization code. The product of gas used and gas price is called transaction fees. To send ether or to execute a contract method, you need to broadcast a transaction to the network. The sender needs to sign the transaction with its private key.

A transaction is said to be confirmed if we are sure that it will always appear in the blockchain. It is recommended to wait for 15 confirmations before assuming a transaction to be confirmed.

主站蜘蛛池模板: 缙云县| 濮阳县| 壤塘县| 施甸县| 邵武市| 独山县| 同德县| 成安县| 农安县| 平谷区| 喜德县| 綦江县| 寿光市| 高淳县| 六盘水市| 大庆市| 托克逊县| 林芝县| 鄂尔多斯市| 竹山县| 泽库县| 辽源市| 嵊泗县| 香港 | 富民县| 沈阳市| 新野县| 阿巴嘎旗| 化隆| 平乡县| 调兵山市| 同仁县| 白山市| 莲花县| 安岳县| 丁青县| 仁寿县| 九龙县| 赣州市| 东乌珠穆沁旗| 政和县|