From 72b0460be4df8689b95958ed67f95531dbfbae8e Mon Sep 17 00:00:00 2001 From: Alex Kremer Date: Tue, 19 Sep 2023 17:00:03 +0100 Subject: [PATCH 1/2] Add tx_type to request fields --- .../public-api-methods/account-methods/account_tx.md | 1 + 1 file changed, 1 insertion(+) diff --git a/content/references/http-websocket-apis/public-api-methods/account-methods/account_tx.md b/content/references/http-websocket-apis/public-api-methods/account-methods/account_tx.md index dab8a2e2bc..d370f498ac 100644 --- a/content/references/http-websocket-apis/public-api-methods/account-methods/account_tx.md +++ b/content/references/http-websocket-apis/public-api-methods/account-methods/account_tx.md @@ -67,6 +67,7 @@ The request includes the following parameters: | `Field` | Type | Description | |:-------------------|:-------------------------------------------|:-----------| | `account` | String | A unique identifier for the account, most commonly the account's address. | +| `tx_type` | String | _(Optional)_ **Clio Only** Use to filter transactions of a specific type. Case-insensitive. Supports any transaction type other than `AMM*` (See [Transaction Types](transaction-types.html).) [New in: Clio v2.0](https://github.com/XRPLF/clio/releases/tag/2.0 "BADGE_BLUE") | | `ledger_index_min` | Integer | _(Optional)_ Use to specify the earliest ledger to include transactions from. A value of `-1` instructs the server to use the earliest validated ledger version available. | | `ledger_index_max` | Integer | _(Optional)_ Use to specify the most recent ledger to include transactions from. A value of `-1` instructs the server to use the most recent validated ledger version available. | | `ledger_hash` | String | _(Optional)_ Use to look for transactions from a single ledger only. (See [Specifying Ledgers][].) | From 92d2ab7c320ccfa6d56e36466063e6b95ef64a4e Mon Sep 17 00:00:00 2001 From: Alex Kremer Date: Tue, 19 Sep 2023 20:04:56 +0100 Subject: [PATCH 2/2] Apply suggestion by Elliot Co-authored-by: Elliot Lee --- .../public-api-methods/account-methods/account_tx.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/content/references/http-websocket-apis/public-api-methods/account-methods/account_tx.md b/content/references/http-websocket-apis/public-api-methods/account-methods/account_tx.md index d370f498ac..7e736077d1 100644 --- a/content/references/http-websocket-apis/public-api-methods/account-methods/account_tx.md +++ b/content/references/http-websocket-apis/public-api-methods/account-methods/account_tx.md @@ -67,7 +67,7 @@ The request includes the following parameters: | `Field` | Type | Description | |:-------------------|:-------------------------------------------|:-----------| | `account` | String | A unique identifier for the account, most commonly the account's address. | -| `tx_type` | String | _(Optional)_ **Clio Only** Use to filter transactions of a specific type. Case-insensitive. Supports any transaction type other than `AMM*` (See [Transaction Types](transaction-types.html).) [New in: Clio v2.0](https://github.com/XRPLF/clio/releases/tag/2.0 "BADGE_BLUE") | +| `tx_type` | String | _(Optional)_ **Clio Only** Return only transactions of a specific type, such as "Clawback", "AccountSet", "AccountDelete", et al. Case-insensitive. Supports any transaction type except `AMM*` (See [Transaction Types](transaction-types.html).) [New in: Clio v2.0](https://github.com/XRPLF/clio/releases/tag/2.0 "BADGE_BLUE") | | `ledger_index_min` | Integer | _(Optional)_ Use to specify the earliest ledger to include transactions from. A value of `-1` instructs the server to use the earliest validated ledger version available. | | `ledger_index_max` | Integer | _(Optional)_ Use to specify the most recent ledger to include transactions from. A value of `-1` instructs the server to use the most recent validated ledger version available. | | `ledger_hash` | String | _(Optional)_ Use to look for transactions from a single ledger only. (See [Specifying Ledgers][].) |