mirror of
https://github.com/XRPLF/xrpl-dev-portal.git
synced 2025-11-27 15:15:50 +00:00
EscrowFinish tx cost: correct formula
This commit is contained in:
@@ -20,7 +20,7 @@ Some transactions have different transaction costs:
|
||||
| [Reference Transaction](#reference-transaction-cost) (Most transactions) | 10 drops |
|
||||
| [Key Reset Transaction](#key-reset-transaction) | 0 |
|
||||
| [Multi-signed Transaction](reference-transaction-format.html#multi-signing) | 10 drops × (1 + Number of Signatures Provided) |
|
||||
| [EscrowFinish Transaction with Fulfillment](reference-transaction-format.html#escrowfinish) | 42 drops + (Fulfillment size in bytes divided by 16) |
|
||||
| [EscrowFinish Transaction with Fulfillment](reference-transaction-format.html#escrowfinish) | 10 drops + (32 drops × (Fulfillment size in bytes ÷ 16)) |
|
||||
|
||||
|
||||
## Beneficiaries of the Transaction Cost ##
|
||||
@@ -102,7 +102,7 @@ _Fee levels_ represent the proportional difference between the minimum cost and
|
||||
| Reference transaction (most transactions) | 10 | 256 | 20 | 512 |
|
||||
| [Multi-signed transaction](reference-transaction-format.html#multi-signing) with 4 signatures | 50 | 256 | 100 | 512 |
|
||||
| [Key reset transaction](concept-transaction-cost.html#key-reset-transaction) | 0 | (Effectively infinite) | N/A | (Effectively infinite) |
|
||||
| [EscrowFinish transaction](reference-transaction-format.html#escrowfinish) with 32-byte preimage. | 44 | 245 | 88 | 512 |
|
||||
| [EscrowFinish transaction](reference-transaction-format.html#escrowfinish) with 32-byte preimage. | 74 | 245 | 148 | 512 |
|
||||
|
||||
|
||||
## Querying the Transaction Cost ##
|
||||
|
||||
@@ -581,7 +581,7 @@ Any account may submit an EscrowFinish transaction.
|
||||
* If the corresponding [EscrowCreate transaction][] specified a `FinishAfter` time that is after the close time of the most recently-closed ledger, the EscrowFinish transaction fails.
|
||||
* If the corresponding [EscrowCreate transaction][] specified a `CancelAfter` time that is before the close time of the most recently-closed ledger, the EscrowFinish transaction fails.
|
||||
|
||||
**Note:** The [transaction cost](concept-transaction-cost.html) to submit an EscrowFinish transaction is higher if it contains a fulfillment. Instead of the usual base cost of 10 [drops of XRP](reference-rippled.html#specifying-currency-amounts), an EscrowFinish transaction costs 42 drops plus another 1 drop for every 16 bytes in size of the preimage. (For example, a fulfillment with a 32-byte preimage would cost 44 drops of XRP.)
|
||||
**Note:** The [transaction cost](concept-transaction-cost.html) to submit an EscrowFinish transaction increases if it contains a fulfillment. An EscrowFinish transaction has a base cost of 10 [drops of XRP](reference-rippled.html#specifying-currency-amounts), plus an additional 32 drops for every 16 bytes in size of the preimage. For example, a fulfillment with a 32-byte preimage would cost 10 + (32 drops × (32 bytes / 16)) = 74 drops of XRP.
|
||||
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user