From 3399fe48502763f296c22624c6dfe6ba36b5b692 Mon Sep 17 00:00:00 2001 From: zgrguric Date: Fri, 3 Mar 2023 20:59:40 +0100 Subject: [PATCH 1/2] Descriptive list of types in Transaction Types As amendments added more types, it would be better to link to /transaction-types.html page with ellipsis. --- .../transactions/transaction-common-fields.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/content/references/protocol-reference/transactions/transaction-common-fields.md b/content/references/protocol-reference/transactions/transaction-common-fields.md index 99f410446d..b238665227 100644 --- a/content/references/protocol-reference/transactions/transaction-common-fields.md +++ b/content/references/protocol-reference/transactions/transaction-common-fields.md @@ -12,7 +12,7 @@ Every transaction has the same set of common fields, plus additional fields base | Field | JSON Type | [Internal Type][] | Description | |:---------------------|:-----------------|:------------------|:-----------------| | `Account` | String | AccountID | _(Required)_ The unique address of the [account](accounts.html) that initiated the transaction. | -| `TransactionType` | String | UInt16 | _(Required)_ The type of transaction. Valid types include: `Payment`, `OfferCreate`, `OfferCancel`, `TrustSet`, `AccountSet`, `AccountDelete`, `SetRegularKey`, `SignerListSet`, `EscrowCreate`, `EscrowFinish`, `EscrowCancel`, `PaymentChannelCreate`, `PaymentChannelFund`, `PaymentChannelClaim`, and `DepositPreauth`. | +| `TransactionType` | String | UInt16 | _(Required)_ The type of transaction. Valid [types](transaction-types.html) include: `Payment`, `OfferCreate`, `OfferCancel`, `TrustSet`, `AccountSet`, `AccountDelete`, `SetRegularKey`, `SignerListSet`, `EscrowCreate`, `EscrowFinish`, `EscrowCancel`, `PaymentChannelCreate`, `PaymentChannelFund`, `PaymentChannelClaim`, `DepositPreauth`, ... | | `Fee` | String | Amount | _(Required; [auto-fillable][])_ Integer amount of XRP, in drops, to be destroyed as a cost for distributing this transaction to the network. Some transaction types have different minimum requirements. See [Transaction Cost][] for details. | | `Sequence` | Number | UInt32 | _(Required; [auto-fillable][])_ The [sequence number](basic-data-types.html#account-sequence) of the account sending the transaction. A transaction is only valid if the `Sequence` number is exactly 1 greater than the previous transaction from the same account. The special case `0` means the transaction is using a [Ticket](tickets.html) instead _(Added by the [TicketBatch amendment][].)_. | | [`AccountTxnID`](#accounttxnid) | String | Hash256 | _(Optional)_ Hash value identifying another transaction. If provided, this transaction is only valid if the sending account's previously-sent transaction matches the provided hash. | From f5f0ccfbc50d3e81e2286697eb2fb3f11d029ab9 Mon Sep 17 00:00:00 2001 From: zgrguric Date: Wed, 5 Apr 2023 20:02:12 +0200 Subject: [PATCH 2/2] Update content/references/protocol-reference/transactions/transaction-common-fields.md Co-authored-by: Rome Reginelli --- .../transactions/transaction-common-fields.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/content/references/protocol-reference/transactions/transaction-common-fields.md b/content/references/protocol-reference/transactions/transaction-common-fields.md index b238665227..b3b1c93262 100644 --- a/content/references/protocol-reference/transactions/transaction-common-fields.md +++ b/content/references/protocol-reference/transactions/transaction-common-fields.md @@ -12,7 +12,7 @@ Every transaction has the same set of common fields, plus additional fields base | Field | JSON Type | [Internal Type][] | Description | |:---------------------|:-----------------|:------------------|:-----------------| | `Account` | String | AccountID | _(Required)_ The unique address of the [account](accounts.html) that initiated the transaction. | -| `TransactionType` | String | UInt16 | _(Required)_ The type of transaction. Valid [types](transaction-types.html) include: `Payment`, `OfferCreate`, `OfferCancel`, `TrustSet`, `AccountSet`, `AccountDelete`, `SetRegularKey`, `SignerListSet`, `EscrowCreate`, `EscrowFinish`, `EscrowCancel`, `PaymentChannelCreate`, `PaymentChannelFund`, `PaymentChannelClaim`, `DepositPreauth`, ... | +| `TransactionType` | String | UInt16 | _(Required)_ The type of transaction. Valid [transaction types](transaction-types.html) include: `Payment`, `OfferCreate`, `TrustSet`, and many others. | | `Fee` | String | Amount | _(Required; [auto-fillable][])_ Integer amount of XRP, in drops, to be destroyed as a cost for distributing this transaction to the network. Some transaction types have different minimum requirements. See [Transaction Cost][] for details. | | `Sequence` | Number | UInt32 | _(Required; [auto-fillable][])_ The [sequence number](basic-data-types.html#account-sequence) of the account sending the transaction. A transaction is only valid if the `Sequence` number is exactly 1 greater than the previous transaction from the same account. The special case `0` means the transaction is using a [Ticket](tickets.html) instead _(Added by the [TicketBatch amendment][].)_. | | [`AccountTxnID`](#accounttxnid) | String | Hash256 | _(Optional)_ Hash value identifying another transaction. If provided, this transaction is only valid if the sending account's previously-sent transaction matches the provided hash. |