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

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.

主站蜘蛛池模板: 镇安县| 元谋县| 瑞金市| 富阳市| 普定县| 精河县| 高尔夫| 印江| 漠河县| 齐齐哈尔市| 天门市| 南部县| 罗定市| 田阳县| 大新县| 建阳市| 洛川县| 罗平县| 徐州市| 分宜县| 宜黄县| 龙井市| 榆社县| 邮箱| 岑巩县| 海宁市| 天峨县| 桑日县| 平南县| 阿拉善右旗| 平遥县| 沁阳市| 巴彦县| 贵港市| 保山市| 隆化县| 安远县| 清镇市| 都兰县| 苍南县| 天长市|