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

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.

主站蜘蛛池模板: 保山市| 阳信县| 米林县| 武城县| 南宁市| 九龙城区| 栖霞市| 靖安县| 叶城县| 灌南县| 依兰县| 伊金霍洛旗| 玉龙| 牟定县| 富锦市| 尼玛县| 四平市| 东莞市| 土默特左旗| 新余市| 呼图壁县| 井冈山市| 礼泉县| 仙居县| 金堂县| 黄骅市| 若羌县| 桦川县| 郴州市| 融水| 云南省| 加查县| 兴安盟| 长葛市| 达州市| 天津市| 威海市| 沅江市| 武威市| 吕梁市| 苏尼特左旗|