mirror of
https://github.com/XRPLF/xrpl-dev-portal.git
synced 2025-12-06 17:27:57 +00:00
[DOC] Trustlines|Balances: Update with limit and marker for pagination
This commit is contained in:
@@ -570,9 +570,9 @@ Optionally, you can also include any of the following query parameters:
|
|||||||
| counterparty | String (Address) | If provided, only include balances issued by the provided address (usually a gateway). |
|
| counterparty | String (Address) | If provided, only include balances issued by the provided address (usually a gateway). |
|
||||||
| marker | String | Server-provided value that marks where to resume pagination. |
|
| marker | String | Server-provided value that marks where to resume pagination. |
|
||||||
| limit | Integer | (Defaults to 200) Max results per response. Cannot be less than 10. Cannot be greater than 400. |
|
| limit | Integer | (Defaults to 200) Max results per response. Cannot be less than 10. Cannot be greater than 400. |
|
||||||
| ledger | String (ledger hash) | Identifying hash of the ledger version to pull results from. |
|
| ledger | String (ledger hash or sequence, or 'validated', 'current', or 'closed') | (Defaults to 'validated') Identifying ledger version to pull results from. |
|
||||||
|
|
||||||
*Note:* Pagination using `limit` and `marker` requires a consistent ledger version, so you must also provide the `ledger` query parameter to use pagination.
|
*Note:* Pagination using `limit` and `marker` requires a consistent ledger version, so you must also provide the `ledger` hash or sequence query parameter to use pagination.
|
||||||
|
|
||||||
#### Response ####
|
#### Response ####
|
||||||
|
|
||||||
@@ -580,6 +580,9 @@ Optionally, you can also include any of the following query parameters:
|
|||||||
{
|
{
|
||||||
"success": true,
|
"success": true,
|
||||||
"marker": "0C812C919D343EAE789B29E8027C62C5792C22172D37EA2B2C0121D2381F80E1",
|
"marker": "0C812C919D343EAE789B29E8027C62C5792C22172D37EA2B2C0121D2381F80E1",
|
||||||
|
"limit": 200,
|
||||||
|
"ledger": 10478339,
|
||||||
|
"validated": true,
|
||||||
"balances": [
|
"balances": [
|
||||||
{
|
{
|
||||||
"currency": "XRP",
|
"currency": "XRP",
|
||||||
@@ -1453,7 +1456,7 @@ Optionally, you can also include the following query parameters:
|
|||||||
| counterparty | String (Address) | Filter results to include only trustlines to the given account. |
|
| counterparty | String (Address) | Filter results to include only trustlines to the given account. |
|
||||||
| marker | String | Start position in response paging. |
|
| marker | String | Start position in response paging. |
|
||||||
| limit | String (Integer) | (Defaults to 200) Max results per response. Cannot be less than 10. Cannot be greater than 400. |
|
| limit | String (Integer) | (Defaults to 200) Max results per response. Cannot be less than 10. Cannot be greater than 400. |
|
||||||
| ledger | String | Ledger to request paged results from. Use the ledger's hash. |
|
| ledger | String (ledger hash or sequence, or 'validated', 'current', or 'closed') | (Defaults to 'validated') Identifying ledger version to pull results from. |
|
||||||
|
|
||||||
*Note:* Pagination using `limit` and `marker` requires a consistent ledger version, so you must also provide the `ledger` query parameter to use pagination.
|
*Note:* Pagination using `limit` and `marker` requires a consistent ledger version, so you must also provide the `ledger` query parameter to use pagination.
|
||||||
|
|
||||||
@@ -1465,6 +1468,9 @@ The response is an object with a `lines` array, where each member is a [trustlin
|
|||||||
{
|
{
|
||||||
"success": true,
|
"success": true,
|
||||||
"marker": "0C812C919D343EAE789B29E8027C62C5792C22172D37EA2B2C0121D2381F80E1",
|
"marker": "0C812C919D343EAE789B29E8027C62C5792C22172D37EA2B2C0121D2381F80E1",
|
||||||
|
"limit": 200,
|
||||||
|
"ledger": 10478339,
|
||||||
|
"validated": true,
|
||||||
"lines": [
|
"lines": [
|
||||||
{
|
{
|
||||||
"account": "rPs7nVbSops6xm4v77wpoPFf549cqjzUy9",
|
"account": "rPs7nVbSops6xm4v77wpoPFf549cqjzUy9",
|
||||||
|
|||||||
Reference in New Issue
Block a user