mirror of
https://github.com/XRPLF/xrpl-dev-portal.git
synced 2025-11-20 11:45:50 +00:00
Tx Metadata: Edits per peer reviews
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
| Field | Value | Description |
|
||||
|:----------------------------------------|:--------------------|:-------------|
|
||||
| `AffectedNodes` | Array | List of [ledger objects](ledger-object-types.html) that were created, deleted, or modified by this transaction, and specific changes to each. |
|
||||
| `DeliveredAmount` | [Currency Amount][] | _(May be omitted)_ For a [partial payment](partial-payments.html), this field records the amount of currency actually delivered to the destination. For more convenient processing, instead use the `delivered_amount` field, which is provided for all Payment transactions, partial or not. |
|
||||
| `TransactionIndex` | Unsigned Integer | The transaction's position within the ledger that included it. This is zero-indexed. (For example, the value `2` means it was the 3nd transaction in that ledger.) |
|
||||
| `DeliveredAmount` | [Currency Amount][] | _(May be omitted)_ For a [partial payment](partial-payments.html), this field records the amount of currency actually delivered to the destination. To avoid errors when reading transactions, instead use the `delivered_amount` field, which is provided for all Payment transactions, partial or not. |
|
||||
| `TransactionIndex` | Unsigned Integer | The transaction's position within the ledger that included it. This is zero-indexed. (For example, the value `2` means it was the 3rd transaction in that ledger.) |
|
||||
| `TransactionResult` | String | A [result code](transaction-results.html) indicating whether the transaction succeeded or how it failed. |
|
||||
| [`delivered_amount`](#delivered-amount) | [Currency Amount][] | The [Currency Amount][] actually received by the `Destination` account. Use this field to determine how much was delivered, regardless of whether the transaction is a [partial payment](partial-payments.html). See below for details. [New in: rippled 0.27.0][] |
|
||||
| [`delivered_amount`](#delivered-amount) | [Currency Amount][] | _(Omitted for non-Payment transactions)_ The [Currency Amount][] actually received by the `Destination` account. Use this field to determine how much was delivered, regardless of whether the transaction is a [partial payment](partial-payments.html). See [this description](transaction-metadata.html#delivered-amount) for details. [New in: rippled 0.27.0][] |
|
||||
|
||||
@@ -24,7 +24,7 @@ The `AffectedNodes` array contains a complete list of the [objects in the ledger
|
||||
- `DeletedNode` indicates that the transaction removed an object from the ledger.
|
||||
- `ModifiedNode` indicates that the transaction modified an existing object in the ledger.
|
||||
|
||||
The value of each of these fields is an object describing the changes made to the object.
|
||||
The value of each of these fields is a JSON object describing the changes made to the ledger object.
|
||||
|
||||
### CreatedNode Fields
|
||||
|
||||
|
||||
Reference in New Issue
Block a user