When a transaction is processed into consensus, nodes automatically create both a receipt and a record for the transaction and store both for 3 minutes. Clients can query for either receiptor record to obtain confirmation that the transaction successfully reached consensus. As receipts are small and persisted for a short period of time, their impact on the network is not overly burdensome. Consequently, Hedera decided to price a query for a receipt for a transaction as free. Records carry more information than receipts and, depending on what triggers their creation, may be persisted for a longer period of time than 3 minutes. Consequently, there is a small cost to the client that queries for the record for a transaction.
Articles in this section
- How are the transfers and fees associated with a transaction published?
- How does the exchange rate impact transaction fees?
- What does a COST_ANSWER query return?
- Are there any free operations?
- How is Solidity gas accounted for in determing the fee for a smart contract operation?
- Who pays for threshold records?
- How many accounts are associated with an hbar transfer?
- How is the fee for a query paid?
- Why are transaction receipts free to request? But transaction records not?
- Why does a query have no network or service fee component?