Transaction
The basics
A signed message that changes the blockchain is called a transaction. Payments are the most common type. The sender uses their key to sign the transaction, nodes verify it, and a miner includes it in a block.
Each transaction requires a fee paid in gas.
Kinds
- Transfer pays one or more addresses, with a separate memo for each.
- Set flags enables or disables account options, such as “memo required”.
- HTLC lock, claim and refund are the stages of an HTLC.
- EVM transaction creates or calls a smart contract.
- Coinbase is a block’s first transaction and pays the reward. See coinbase.
Confirmations
A transaction gains a confirmation for every block added on top of its block. The wallet marks a payment as settled at 40 confirmations, which takes about 10 minutes.