mirror of
https://github.com/XRPLF/xrpl-dev-portal.git
synced 2025-12-06 17:27:57 +00:00
Merge pull request #248 from mDuo13/escrow_cost
EscrowFinish transaction cost
This commit is contained in:
@@ -19,7 +19,8 @@ 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) |
|
||||
| [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) | 10 drops × (33 + (Fulfillment size in bytes ÷ 16)) |
|
||||
|
||||
|
||||
## Beneficiaries of the Transaction Cost ##
|
||||
@@ -101,6 +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. | 350 | 256 | 700 | 512 |
|
||||
|
||||
|
||||
## Querying the Transaction Cost ##
|
||||
|
||||
@@ -554,7 +554,7 @@ Either `CancelAfter` or `FinishAfter` must be specified. If both are included, t
|
||||
|
||||
_Requires the [Escrow Amendment](concept-amendments.html#escrow)._
|
||||
|
||||
Deliver escrowed XRP the recipient.
|
||||
Deliver XRP from a held payment to the recipient.
|
||||
|
||||
Example EscrowFinish:
|
||||
|
||||
@@ -578,8 +578,11 @@ Example EscrowFinish:
|
||||
|
||||
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.
|
||||
- If the held payment has a `FinishAfter` time, you cannot execute it before this time. Specifically, 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 held payment has a `Condition`, you cannot execute it unless you provide a matching `Fulfillment` for the condition.
|
||||
- You cannot execute a held payment after it has expired. Specifically, 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 minimum [transaction cost](concept-transaction-cost.html) to submit an EscrowFinish transaction increases if it contains a fulfillment. If the transaction has no fulfillment, the transaction cost is the standard 10 drops. If the transaction contains a fulfillment, the transaction cost is 330 [drops of XRP](reference-rippled.html#specifying-currency-amounts) plus another 10 drops for every 16 bytes in size of the preimage.
|
||||
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user