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

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.

主站蜘蛛池模板: 合阳县| 岢岚县| 黑山县| 邵阳县| 洛宁县| 灵璧县| 赣榆县| 上高县| 武清区| 朝阳区| 大港区| 离岛区| 屯昌县| 抚州市| 中超| 阳朔县| 庆安县| 塔城市| 光泽县| 武威市| 当涂县| 留坝县| 磐石市| 阜新市| 连城县| 大悟县| 惠东县| 漾濞| 山阴县| 阳原县| 葫芦岛市| 麻栗坡县| 平泉县| 晋城| 板桥市| 乌鲁木齐县| 巨野县| 太康县| 和平区| 关岭| 萨嘎县|