mirror of
https://github.com/XRPLF/xrpl-dev-portal.git
synced 2025-12-06 17:27:57 +00:00
[MERGE] tx_format, rest tool
This commit is contained in:
@@ -103,7 +103,7 @@ mixpanel.init("132d42885e094171f34467fc54da6fab");
|
||||
<h4>Build on the world's first protocol for value exchange</h4>
|
||||
<p class="main_callout">Ripple is a protocol for making financial transactions worldwide, with no central authority responsible for managing it. Anyone can run a server, connect to the network, and start doing business. Get started by submitting API calls to our public servers now.</p>
|
||||
|
||||
<p class="api_btn"><a target="_blank" href="ripple-api-tool.html"><button type="button" class="button btn btn-primary api">Try it!</button></a></p>
|
||||
<p class="api_btn"><a href="ripple-api-tool.html"><button type="button" class="button btn btn-primary api">Try it!</button></a></p>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
File diff suppressed because one or more lines are too long
@@ -826,33 +826,32 @@ This endpoint takes no parameters, and returns a JSON object with information on
|
||||
|
||||
```js
|
||||
{
|
||||
"api_server_status": "online",
|
||||
"rippled_server_url": "wss://s_west.ripple.com:443",
|
||||
"success": true,
|
||||
"api_documentation_url": "https://github.com/ripple/ripple-rest",
|
||||
"rippled_server_url": "wss://s1.ripple.com:443",
|
||||
"rippled_server_status": {
|
||||
"info": {
|
||||
"build_version": "0.21.0-rc2",
|
||||
"complete_ledgers": "32570-4805506",
|
||||
"hostid": "BUSH",
|
||||
"last_close": {
|
||||
"converge_time_s": 2.011,
|
||||
"proposers": 5
|
||||
},
|
||||
"load_factor": 1,
|
||||
"peers": 51,
|
||||
"pubkey_node": "n9KNUUntNaDqvMVMKZLPHhGaWZDnx7soeUiHjeQE8ejR45DmHyfx",
|
||||
"server_state": "full",
|
||||
"validated_ledger": {
|
||||
"age": 2,
|
||||
"base_fee_xrp": 0.00001,
|
||||
"hash": "2B79CECB06A500A2FB92F4FB610D33A20CF8D7FB39F2C2C7C3A6BD0D75A1884A",
|
||||
"reserve_base_xrp": 20,
|
||||
"reserve_inc_xrp": 5,
|
||||
"seq": 4805506
|
||||
},
|
||||
"validation_quorum": 3
|
||||
}
|
||||
},
|
||||
"api_documentation_url": "https://github.com/ripple/ripple-rest"
|
||||
"build_version": "0.26.3-sp1",
|
||||
"complete_ledgers": "32570-8926343",
|
||||
"hostid": "LIED",
|
||||
"io_latency_ms": 1,
|
||||
"last_close": {
|
||||
"converge_time_s": 3.068,
|
||||
"proposers": 5
|
||||
},
|
||||
"load_factor": 1,
|
||||
"peers": 52,
|
||||
"pubkey_node": "n9LpxYuMx4Epz4Wz8Kg2kH3eBTx1mUtHnYwtCdLoj3HC85L2pvBm",
|
||||
"server_state": "full",
|
||||
"validated_ledger": {
|
||||
"age": 10,
|
||||
"base_fee_xrp": 0.00001,
|
||||
"hash": "5A24FC580674F444BAA72B897C906FF1E167227869BF3D2971C2D87272B038EF",
|
||||
"reserve_base_xrp": 20,
|
||||
"reserve_inc_xrp": 5,
|
||||
"seq": 8926343
|
||||
},
|
||||
"validation_quorum": 3
|
||||
}
|
||||
}
|
||||
```
|
||||
|
||||
|
||||
@@ -582,7 +582,7 @@ The request accepts the following paramters:
|
||||
| ledger_index | String or Unsigned Integer| (Optional) The sequence number of the ledger to use, or a shortcut string to choose a ledger automatically. (See [Specifying a Ledger](#specifying-a-ledger-instance))|
|
||||
| peer | String | (Optional) A unique ID for a second account. If provided, show only lines of trust connecting the two accounts. |
|
||||
| limit | Integer | ([Upcoming](https://ripplelabs.atlassian.net/browse/RIPD-343), Optional, default varies) Limit the number of transactions to retrieve. The server is not required to honor this value. |
|
||||
| marker | (Not Specified) | [Upcoming](https://ripplelabs.atlassian.net/browse/RIPD-343) Server-provided value to specify where to resume retrieving data from. |
|
||||
| marker | (Not Specified) | ([Upcoming](https://ripplelabs.atlassian.net/browse/RIPD-343)) Server-provided value to specify where to resume retrieving data from. |
|
||||
|
||||
The following parameters are deprecated and may be removed without further notice: `ledger` and `peer_index`.
|
||||
|
||||
@@ -886,6 +886,7 @@ The response follows the [standard format](#response-formatting), with a success
|
||||
|-------|------|-------------|
|
||||
| account | String | Unique address of the account this request corresponds to |
|
||||
| lines | Array | Array of trust-line objects, as described below. |
|
||||
| marker | (Not Specified) | ([Upcoming](https://ripplelabs.atlassian.net/browse/RIPD-343)) Server-defined value. Pass this to the next call in order to resume where this call left off. |
|
||||
|
||||
Each trust-line object has some combination of the following fields, although not necessarily all of them:
|
||||
|
||||
@@ -901,6 +902,7 @@ Each trust-line object has some combination of the following fields, although no
|
||||
| quality_in | Unsigned Integer | Ratio for incoming [transit fees](https://ripple.com/wiki/Transit_Fees) represented in billionths. (For example, a value of 500 million represents a 0.5:1 ratio.) As a special case, 0 is treated as a 1:1 ratio. |
|
||||
| quality_out | Unsigned Integer | Ratio for outgoing [transit fees](https://ripple.com/wiki/Transit_Fees) represented in billionths. (For example, a value of 500 million represents a 0.5:1 ratio.) As a special case, 0 is treated as a 1:1 ratio. |
|
||||
|
||||
|
||||
## account_offers ##
|
||||
[[Source]<br>](https://github.com/ripple/rippled/blob/master/src/ripple/module/rpc/handlers/AccountOffers.cpp "Source")
|
||||
|
||||
@@ -951,8 +953,8 @@ A request can include the following parameters:
|
||||
| ledger | Unsigned integer, or String | (Deprecated, Optional) A unique identifier for the ledger version to use, such as a ledger sequence number, a hash, or a shortcut such as "validated". |
|
||||
| ledger_hash | String | (Optional) A 20-byte hex string identifying the ledger version to use. |
|
||||
| ledger_index | (Optional) Unsigned integer, or String | (Optional, defaults to `current`) The sequence number of the ledger to use, or "current", "closed", or "validated" to select a ledger dynamically. (See Ledger Indexes.) |
|
||||
| limit | Integer | ([Upcoming](https://ripplelabs.atlassian.net/browse/RIPD-343), Optional, default varies) Limit the number of transactions to retrieve. The server is not required to honor this value. |
|
||||
| marker | (Not Specified) | ([Upcoming](https://ripplelabs.atlassian.net/browse/RIPD-343)) Server-provided value to specify where to resume retrieving data from. |
|
||||
| limit | Integer | ([Upcoming](https://ripplelabs.atlassian.net/browse/RIPD-344), Optional, default varies) Limit the number of transactions to retrieve. The server is not required to honor this value. |
|
||||
| marker | (Not Specified) | ([Upcoming](https://ripplelabs.atlassian.net/browse/RIPD-344)) Server-provided value to specify where to resume retrieving data from. |
|
||||
|
||||
The following parameter is deprecated and may be removed without further notice: `ledger`.
|
||||
|
||||
@@ -1006,6 +1008,8 @@ The response follows the [standard format](#response-formatting), with a success
|
||||
|-------|------|-------------|
|
||||
| account | String | Unique address identifying the account that made the offers |
|
||||
| offers | Array | Array of objects, where each object represents an offer made by this account that is outstanding as of the requested ledger version. |
|
||||
| marker | (Not Specified) | ([Upcoming](https://ripplelabs.atlassian.net/browse/RIPD-344)) Server-defined value. Pass this to the next call in order to resume where this call left off. |
|
||||
|
||||
|
||||
Each offer object contains the following fields:
|
||||
|
||||
@@ -1806,6 +1810,7 @@ The response follows the [standard format](#response-formatting), with a success
|
||||
| parent_hash | String | Unique identifying hash of the ledger that came immediately before this one. |
|
||||
| total_coins | String | Total number of XRP drops in the network, as a quoted integer. (This decreases as transaction fees cause XRP to be destroyed.) |
|
||||
| transaction_hash | String | Hash of the transaction information included in this ledger, as hex |
|
||||
| validated | Boolean | ([Upcoming](https://ripplelabs.atlassian.net/browse/RIPD-569)) If included and set to `true`, the information in this request describes a validated ledger version. Otherwise, the information is subject to change. |
|
||||
|
||||
The following fields are deprecated and may be removed without further notice: `hash`, `seqNum`, `totalCoins`.
|
||||
|
||||
|
||||
Reference in New Issue
Block a user