Mark code sample languages explicitly

This commit is contained in:
mDuo13
2020-09-10 02:18:40 -07:00
parent eb6142f270
commit d46202a04f
92 changed files with 531 additions and 450 deletions

View File

@@ -17,7 +17,7 @@ _`validation_create`メソッドは、権限のないユーザーは実行でき
*WebSocket*
```
```json
{
"id": 0,
"command": "validation_create",
@@ -27,7 +27,7 @@ _`validation_create`メソッドは、権限のないユーザーは実行でき
*JSON-RPC*
```
```json
{
"method": "validation_create",
"params": [
@@ -40,7 +40,7 @@ _`validation_create`メソッドは、権限のないユーザーは実行でき
*コマンドライン*
```
```sh
#Syntax: validation_create [secret]
rippled validation_create "BAWL MAN JADE MOON DOVE GEM SON NOW HAD ADEN GLOW TIRE"
```
@@ -63,7 +63,7 @@ rippled validation_create "BAWL MAN JADE MOON DOVE GEM SON NOW HAD ADEN GLOW TIR
*JSON-RPC*
```
```json
{
"result" : {
"status" : "success",
@@ -76,9 +76,10 @@ rippled validation_create "BAWL MAN JADE MOON DOVE GEM SON NOW HAD ADEN GLOW TIR
*コマンドライン*
```
```json
Loading: "/etc/rippled.cfg"
Connecting to 127.0.0.1:5005
{
"result" : {
"status" : "success",

View File

@@ -17,7 +17,7 @@ An example of the request format:
*WebSocket*
```
```json
{
"id": 0,
"command": "validation_create",
@@ -27,7 +27,7 @@ An example of the request format:
*JSON-RPC*
```
```json
{
"method": "validation_create",
"params": [
@@ -40,7 +40,7 @@ An example of the request format:
*Commandline*
```
```sh
#Syntax: validation_create [secret]
rippled validation_create "BAWL MAN JADE MOON DOVE GEM SON NOW HAD ADEN GLOW TIRE"
```
@@ -63,7 +63,7 @@ An example of a successful response:
*JSON-RPC*
```
```json
{
"result" : {
"status" : "success",
@@ -76,9 +76,10 @@ An example of a successful response:
*Commandline*
```
```json
Loading: "/etc/rippled.cfg"
Connecting to 127.0.0.1:5005
{
"result" : {
"status" : "success",

View File

@@ -15,7 +15,7 @@
*WebSocketキータイプあり*
```
```json
{
"command": "wallet_propose",
"seed": "snoPBrXtMeMyMHUVTgbuqAfg1SUTb",
@@ -25,7 +25,7 @@
*WebSocketキータイプなし*
```
```json
{
"command": "wallet_propose",
"passphrase": "masterpassphrase"
@@ -34,7 +34,7 @@
*JSON-RPCキータイプあり*
```
```json
{
"method": "wallet_propose",
"params": [
@@ -48,7 +48,7 @@
*JSON-RPCキータイプなし*
```
```json
{
"method": "wallet_propose",
"params": [
@@ -61,7 +61,7 @@
*コマンドライン*
```
```sh
#Syntax: wallet_propose [passphrase]
rippled wallet_propose masterpassphrase
```
@@ -108,7 +108,7 @@ rippled wallet_propose masterpassphrase
*WebSocket*
```
```json
{
"id": 2,
"status": "success",
@@ -127,7 +127,7 @@ rippled wallet_propose masterpassphrase
*JSON-RPC*
```
```json
{
"result": {
"account_id": "rHb9CJAWyB4rj91VRWn96DkukG4bwdtyTh",
@@ -144,9 +144,10 @@ rippled wallet_propose masterpassphrase
*コマンドライン*
```
```json
Loading: "/etc/rippled.cfg"
Connecting to 127.0.0.1:5005
{
"result" : {
"account_id" : "rHb9CJAWyB4rj91VRWn96DkukG4bwdtyTh",

View File

@@ -15,7 +15,7 @@ An example of the request format:
*WebSocket (with key type)*
```
```json
{
"command": "wallet_propose",
"seed": "snoPBrXtMeMyMHUVTgbuqAfg1SUTb",
@@ -25,7 +25,7 @@ An example of the request format:
*WebSocket (no key type)*
```
```json
{
"command": "wallet_propose",
"passphrase": "masterpassphrase"
@@ -34,7 +34,7 @@ An example of the request format:
*JSON-RPC (with key type)*
```
```json
{
"method": "wallet_propose",
"params": [
@@ -48,7 +48,7 @@ An example of the request format:
*JSON-RPC (no key type)*
```
```json
{
"method": "wallet_propose",
"params": [
@@ -61,7 +61,7 @@ An example of the request format:
*Commandline*
```
```sh
#Syntax: wallet_propose [passphrase]
rippled wallet_propose masterpassphrase
```
@@ -108,7 +108,7 @@ An example of a successful response:
*WebSocket*
```
```json
{
"id": 2,
"status": "success",
@@ -127,7 +127,7 @@ An example of a successful response:
*JSON-RPC*
```
```json
{
"result": {
"account_id": "rHb9CJAWyB4rj91VRWn96DkukG4bwdtyTh",
@@ -144,9 +144,10 @@ An example of a successful response:
*Commandline*
```
```json
Loading: "/etc/rippled.cfg"
Connecting to 127.0.0.1:5005
{
"result" : {
"account_id" : "rHb9CJAWyB4rj91VRWn96DkukG4bwdtyTh",

View File

@@ -13,7 +13,7 @@ _`can_delete`メソッドは、権限のないユーザーは実行できない[
*WebSocket*
```
```json
{
"id": 2,
"command": "can_delete",
@@ -23,7 +23,7 @@ _`can_delete`メソッドは、権限のないユーザーは実行できない[
*JSON-RPC*
```
```json
{
"method": "can_delete",
"params": [
@@ -36,8 +36,8 @@ _`can_delete`メソッドは、権限のないユーザーは実行できない[
*コマンドライン*
```
#Syntax can_delete [<ledger_index>|<ledger_hash>|now|always|never]
```sh
#Syntax: can_delete [<ledger_index>|<ledger_hash>|now|always|never]
rippled can_delete 11320417
```

View File

@@ -13,7 +13,7 @@ An example of the request format:
*WebSocket*
```
```json
{
"id": 2,
"command": "can_delete",
@@ -23,7 +23,7 @@ An example of the request format:
*JSON-RPC*
```
```json
{
"method": "can_delete",
"params": [
@@ -36,8 +36,8 @@ An example of the request format:
*Commandline*
```
#Syntax can_delete [<ledger_index>|<ledger_hash>|now|always|never]
```sh
#Syntax: can_delete [<ledger_index>|<ledger_hash>|now|always|never]
rippled can_delete 11320417
```

View File

@@ -12,7 +12,7 @@ _`ledger_cleaner`メソッドは、権限のないユーザーは実行できな
*WebSocket*
```
```json
{
"command": "ledger_cleaner",
"max_ledger": 13818756,
@@ -43,8 +43,9 @@ _`ledger_cleaner`メソッドは、権限のないユーザーは実行できな
*JSON-RPC*
```
```json
200 OK
{
"result" : {
"message" : "Cleaner configured",

View File

@@ -12,7 +12,7 @@ An example of the request format:
*WebSocket*
```
```json
{
"command": "ledger_cleaner",
"max_ledger": 13818756,
@@ -43,8 +43,9 @@ An example of a successful response:
*JSON-RPC*
```
```json
200 OK
{
"result" : {
"message" : "Cleaner configured",

View File

@@ -12,7 +12,7 @@
*WebSocket*
```
```json
{
"id": 102,
"command": "ledger_request",
@@ -49,9 +49,10 @@ rippled ledger_request 13800000
*コマンドライン(失敗)*
```
```json
Loading: "/etc/rippled.cfg"
Connecting to 127.0.0.1:5005
{
"result" : {
"acquiring" : {
@@ -74,9 +75,10 @@ Connecting to 127.0.0.1:5005
*コマンドライン(進行中)*
```
```json
Loading: "/etc/rippled.cfg"
Connecting to 127.0.0.1:5005
{
"result" : {
"hash" : "EB68B5B4F6F06BF59B6D7532BCB98BB98E2F10C2435D895217AA0AA7E910FBD5",
@@ -120,9 +122,10 @@ Connecting to 127.0.0.1:5005
*コマンドライン(成功)*
```
```json
Loading: "/etc/rippled.cfg"
Connecting to 127.0.0.1:5005
{
"result" : {
"ledger" : {

View File

@@ -12,7 +12,7 @@ An example of the request format:
*WebSocket*
```
```json
{
"id": 102,
"command": "ledger_request",
@@ -49,9 +49,10 @@ A failure response indicates the status of fetching the ledger. A successful res
*Commandline (failure)*
```
```json
Loading: "/etc/rippled.cfg"
Connecting to 127.0.0.1:5005
{
"result" : {
"acquiring" : {
@@ -74,9 +75,10 @@ Connecting to 127.0.0.1:5005
*Commandline (in-progress)*
```
```json
Loading: "/etc/rippled.cfg"
Connecting to 127.0.0.1:5005
{
"result" : {
"hash" : "EB68B5B4F6F06BF59B6D7532BCB98BB98E2F10C2435D895217AA0AA7E910FBD5",
@@ -120,9 +122,10 @@ Connecting to 127.0.0.1:5005
*Commandline (success)*
```
```json
Loading: "/etc/rippled.cfg"
Connecting to 127.0.0.1:5005
{
"result" : {
"ledger" : {

View File

@@ -12,7 +12,7 @@ _`log_level`メソッドは、権限のないユーザーは実行できない[
*WebSocket*
```
```json
{
"id": "ll1",
"command": "log_level",
@@ -23,7 +23,7 @@ _`log_level`メソッドは、権限のないユーザーは実行できない[
*コマンドライン*
```
```sh
#Syntax: log_level [[partition] severity]
rippled log_level PathRequest debug
```
@@ -45,9 +45,10 @@ rippled log_level PathRequest debug
*コマンドライン(ログレベルの設定)*
```
```json
Loading: "/etc/rippled.cfg"
Connecting to 127.0.0.1:5005
{
"result" : {
"status" : "success"
@@ -57,9 +58,10 @@ Connecting to 127.0.0.1:5005
*コマンドライン(ログレベルの確認)*
```
```json
Loading: "/etc/rippled.cfg"
Connecting to 127.0.0.1:5005
{
"result" : {
"levels" : {

View File

@@ -12,7 +12,7 @@ An example of the request format:
*WebSocket*
```
```json
{
"id": "ll1",
"command": "log_level",
@@ -23,7 +23,7 @@ An example of the request format:
*Commandline*
```
```sh
#Syntax: log_level [[partition] severity]
rippled log_level PathRequest debug
```
@@ -45,9 +45,10 @@ Examples of successful responses:
*Commandline (set log level)*
```
```json
Loading: "/etc/rippled.cfg"
Connecting to 127.0.0.1:5005
{
"result" : {
"status" : "success"
@@ -57,9 +58,10 @@ Connecting to 127.0.0.1:5005
*Commandline (check log levels)*
```
```json
Loading: "/etc/rippled.cfg"
Connecting to 127.0.0.1:5005
{
"result" : {
"levels" : {

View File

@@ -7,7 +7,7 @@
次のスクリプトは、`/etc/logrotate.d/rippled`として作成できるサンプルです。
```
```logrotate
/var/log/rippled/*.log {
daily
minsize 200M
@@ -40,7 +40,7 @@ _`logrotate`メソッドは、権限のないユーザーは実行できない[
*WebSocket*
```
```json
{
"id": "lr1",
"command": "logrotate"
@@ -49,7 +49,8 @@ _`logrotate`メソッドは、権限のないユーザーは実行できない[
*コマンドライン*
```
```sh
#Syntax: logrotate
rippled logrotate
```
@@ -65,8 +66,9 @@ rippled logrotate
*JSON-RPC*
```
```json
200 OK
{
"result" : {
"message" : "The log file was closed and reopened.",
@@ -78,9 +80,10 @@ rippled logrotate
*コマンドライン*
```
```json
Loading: "/etc/rippled.cfg"
Connecting to 127.0.0.1:5005
{
"result" : {
"message" : "The log file was closed and reopened.",

View File

@@ -7,7 +7,7 @@ Most Linux systems come pre-installed with a [`logrotate`](https://linux.die.net
The following script is a sample that can be created as `/etc/logrotate.d/rippled`
```
```logrotate
/var/log/rippled/*.log {
daily
minsize 200M
@@ -40,7 +40,7 @@ An example of the request format:
*WebSocket*
```
```json
{
"id": "lr1",
"command": "logrotate"
@@ -49,7 +49,8 @@ An example of the request format:
*Commandline*
```
```sh
#Syntax: logrotate
rippled logrotate
```
@@ -65,8 +66,9 @@ An example of a successful response:
*JSON-RPC*
```
```json
200 OK
{
"result" : {
"message" : "The log file was closed and reopened.",
@@ -78,9 +80,10 @@ An example of a successful response:
*Commandline*
```
```json
Loading: "/etc/rippled.cfg"
Connecting to 127.0.0.1:5005
{
"result" : {
"message" : "The log file was closed and reopened.",

View File

@@ -12,7 +12,7 @@
*WebSocket*
```
```json
{
"command": "connect",
"ip": "192.170.145.88",
@@ -22,7 +22,7 @@
*JSON-RPC*
```
```json
{
"method": "connect",
"params": [
@@ -37,7 +37,7 @@
*コマンドライン*
```
```sh
#Syntax: connect ip [port]
rippled connect 192.170.145.88 51235
```
@@ -59,7 +59,7 @@ rippled connect 192.170.145.88 51235
*JSON-RPC*
```
```json
{
"result" : {
"message" : "connecting",
@@ -70,9 +70,10 @@ rippled connect 192.170.145.88 51235
*コマンドライン*
```
```json
Loading: "/etc/rippled.cfg"
Connecting to 127.0.0.1:5005
{
"result" : {
"message" : "connecting",

View File

@@ -12,7 +12,7 @@ An example of the request format:
*WebSocket*
```
```json
{
"command": "connect",
"ip": "192.170.145.88",
@@ -22,7 +22,7 @@ An example of the request format:
*JSON-RPC*
```
```json
{
"method": "connect",
"params": [
@@ -37,7 +37,7 @@ An example of the request format:
*Commandline*
```
```sh
#Syntax: connect ip [port]
rippled connect 192.170.145.88 51235
```
@@ -59,7 +59,7 @@ An example of a successful response:
*JSON-RPC*
```
```json
{
"result" : {
"message" : "connecting",
@@ -70,9 +70,10 @@ An example of a successful response:
*Commandline*
```
```json
Loading: "/etc/rippled.cfg"
Connecting to 127.0.0.1:5005
{
"result" : {
"message" : "connecting",

View File

@@ -12,7 +12,7 @@
*WebSocket*
```
```json
{
"id": 2,
"command": "peers"
@@ -37,7 +37,7 @@ rippled peers
*WebSocket*
```
```json
{
"id": 2,
"status": "success",
@@ -152,7 +152,7 @@ rippled peers
*JSON-RPC*
```
```json
{
"result" : {
"cluster" : {},
@@ -265,9 +265,10 @@ rippled peers
*コマンドライン*
```
```json
Loading: "/etc/rippled.cfg"
Connecting to 127.0.0.1:5005
{
"result" : {
"cluster" : {},
@@ -411,4 +412,4 @@ Connecting to 127.0.0.1:5005
<!--{# common link defs #}-->
{% include '_snippets/rippled-api-links.md' %}
{% include '_snippets/tx-type-links.md' %}
{% include '_snippets/rippled_versions.md' %}
{% include '_snippets/rippled_versions.md' %}

View File

@@ -12,7 +12,7 @@ An example of the request format:
*WebSocket*
```
```json
{
"id": 2,
"command": "peers"
@@ -37,7 +37,7 @@ An example of a successful response:
*WebSocket*
```
```json
{
"id": "peers_example",
"result": {
@@ -174,7 +174,7 @@ An example of a successful response:
*JSON-RPC*
```
```json
{
"result" : {
"cluster" : {},
@@ -266,9 +266,10 @@ An example of a successful response:
*Commandline*
```
```json
Loading: "/etc/rippled.cfg"
Connecting to 127.0.0.1:5005
{
"result" : {
"cluster" : {},

View File

@@ -13,7 +13,7 @@
*WebSocket*
```
```json
{
"id": "Accept my ledger!",
"command": "ledger_accept"
@@ -22,7 +22,7 @@
*コマンドライン*
```
```sh
#Syntax: ledger_accept
rippled ledger_accept
```

View File

@@ -13,7 +13,7 @@ An example of the request format:
*WebSocket*
```
```json
{
"id": "Accept my ledger!",
"command": "ledger_accept"
@@ -22,7 +22,7 @@ An example of the request format:
*Commandline*
```
```sh
#Syntax: ledger_accept
rippled ledger_accept
```

View File

@@ -12,7 +12,7 @@ _`stop`要求は、権限のないユーザーは実行できない*[管理メ
*WebSocket*
```
```json
{
"id": 0,
"command": "stop"
@@ -21,7 +21,7 @@ _`stop`要求は、権限のないユーザーは実行できない*[管理メ
*JSON-RPC*
```
```json
{
"method": "stop",
"params": [
@@ -48,7 +48,7 @@ rippled stop
*JSON-RPC*
```
```json
{
"result" : {
"message" : "ripple server stopping",
@@ -59,9 +59,10 @@ rippled stop
*コマンドライン*
```
```json
Loading: "/etc/rippled.cfg"
Connecting to 127.0.0.1:5005
{
"result" : {
"message" : "ripple server stopping",

View File

@@ -12,7 +12,7 @@ An example of the request format:
*WebSocket*
```
```json
{
"id": 0,
"command": "stop"
@@ -21,7 +21,7 @@ An example of the request format:
*JSON-RPC*
```
```json
{
"method": "stop",
"params": [
@@ -32,7 +32,8 @@ An example of the request format:
*Commandline*
```
```sh
#Syntax: stop
rippled stop
```
@@ -48,7 +49,7 @@ An example of a successful response:
*JSON-RPC*
```
```json
{
"result" : {
"message" : "ripple server stopping",
@@ -59,9 +60,10 @@ An example of a successful response:
*Commandline*
```
```json
Loading: "/etc/rippled.cfg"
Connecting to 127.0.0.1:5005
{
"result" : {
"message" : "ripple server stopping",

View File

@@ -12,7 +12,7 @@
*WebSocket*
```
```json
{
"id": "set_seed_1",
"command": "validation_seed",
@@ -22,7 +22,7 @@
*コマンドライン*
```
```sh
#Syntax: validation_seed [secret]
rippled validation_seed 'BAWL MAN JADE MOON DOVE GEM SON NOW HAD ADEN GLOW TIRE'
```
@@ -43,8 +43,9 @@ rippled validation_seed 'BAWL MAN JADE MOON DOVE GEM SON NOW HAD ADEN GLOW TIRE'
*JSON-RPC*
```
```json
200 OK
{
"result" : {
"status" : "success",
@@ -57,9 +58,10 @@ rippled validation_seed 'BAWL MAN JADE MOON DOVE GEM SON NOW HAD ADEN GLOW TIRE'
*コマンドライン*
```
```json
Loading: "/etc/rippled.cfg"
Connecting to 127.0.0.1:5005
{
"result" : {
"status" : "success",

View File

@@ -12,7 +12,7 @@ An example of the request format:
*WebSocket*
```
```json
{
"id": "set_seed_1",
"command": "validation_seed",
@@ -22,7 +22,7 @@ An example of the request format:
*Commandline*
```
```sh
#Syntax: validation_seed [secret]
rippled validation_seed 'BAWL MAN JADE MOON DOVE GEM SON NOW HAD ADEN GLOW TIRE'
```
@@ -43,8 +43,9 @@ An example of a successful response:
*JSON-RPC*
```
```json
200 OK
{
"result" : {
"status" : "success",
@@ -57,9 +58,10 @@ An example of a successful response:
*Commandline*
```
```json
Loading: "/etc/rippled.cfg"
Connecting to 127.0.0.1:5005
{
"result" : {
"status" : "success",

View File

@@ -12,7 +12,7 @@ _`consensus_info`メソッドは、権限のないユーザーは実行できな
*WebSocket*
```
```json
{
"id": 99,
"command": "consensus_info"
@@ -21,7 +21,7 @@ _`consensus_info`メソッドは、権限のないユーザーは実行できな
*JSON-RPC*
```
```json
{
"method": "consensus_info",
"params": [
@@ -32,7 +32,7 @@ _`consensus_info`メソッドは、権限のないユーザーは実行できな
*コマンドライン*
```
```sh
#Syntax: consensus_info
rippled consensus_info
```
@@ -49,7 +49,7 @@ rippled consensus_info
*JSON-RPC*
```
```json
{
"result" : {
"info" : {
@@ -124,9 +124,10 @@ rippled consensus_info
*コマンドライン*
```
```json
Loading: "/etc/rippled.cfg"
Connecting to 127.0.0.1:5005
{
"result" : {
"info" : {

View File

@@ -12,7 +12,7 @@ An example of the request format:
*WebSocket*
```
```json
{
"id": 99,
"command": "consensus_info"
@@ -21,7 +21,7 @@ An example of the request format:
*JSON-RPC*
```
```json
{
"method": "consensus_info",
"params": [
@@ -32,7 +32,7 @@ An example of the request format:
*Commandline*
```
```sh
#Syntax: consensus_info
rippled consensus_info
```
@@ -49,7 +49,7 @@ An example of a successful response:
*JSON-RPC*
```
```json
{
"result" : {
"info" : {
@@ -124,9 +124,10 @@ An example of a successful response:
*Commandline*
```
```json
Loading: "/etc/rippled.cfg"
Connecting to 127.0.0.1:5005
{
"result" : {
"info" : {

View File

@@ -14,7 +14,7 @@ _`feature`メソッドは、権限のないユーザーは実行できない[管
*WebSocket - すべてリスト*
```
```json
{
"id": "list_all_features",
"command": "feature"
@@ -23,7 +23,7 @@ _`feature`メソッドは、権限のないユーザーは実行できない[管
*WebSocket - 拒否*
```
```json
{
"id": "reject_multi_sign",
"command": "feature",
@@ -34,7 +34,7 @@ _`feature`メソッドは、権限のないユーザーは実行できない[管
*JSON-RPC*
```
```json
{
"method": "feature",
"params": [
@@ -48,7 +48,7 @@ _`feature`メソッドは、権限のないユーザーは実行できない[管
*コマンドライン*
```
```sh
#Syntax: feature [<feature_id> [accept|reject]]
rippled feature 4C97EBA926031A7CF7D7B36FDE3ED66DDA5421192D63DE53FFB46E43B9DC8373 accept
```
@@ -72,7 +72,7 @@ rippled feature 4C97EBA926031A7CF7D7B36FDE3ED66DDA5421192D63DE53FFB46E43B9DC8373
*WebSocket - すべてリスト*
```
```json
{
"id": "list_all_features",
"status": "success",
@@ -116,7 +116,7 @@ rippled feature 4C97EBA926031A7CF7D7B36FDE3ED66DDA5421192D63DE53FFB46E43B9DC8373
*WebSocket - 拒否*
```
```json
{
"id": "reject_multi_sign",
"status": "success",
@@ -136,8 +136,9 @@ rippled feature 4C97EBA926031A7CF7D7B36FDE3ED66DDA5421192D63DE53FFB46E43B9DC8373
*JSON-RPC*
```
```json
200 OK
{
"result": {
"4C97EBA926031A7CF7D7B36FDE3ED66DDA5421192D63DE53FFB46E43B9DC8373": {
@@ -153,9 +154,10 @@ rippled feature 4C97EBA926031A7CF7D7B36FDE3ED66DDA5421192D63DE53FFB46E43B9DC8373
*コマンドライン*
```
```json
Loading: "/etc/rippled.cfg"
Connecting to 127.0.0.1:5005
{
"result": {
"4C97EBA926031A7CF7D7B36FDE3ED66DDA5421192D63DE53FFB46E43B9DC8373": {

View File

@@ -14,7 +14,7 @@ An example of the request format:
*WebSocket - list all*
```
```json
{
"id": "list_all_features",
"command": "feature"
@@ -23,7 +23,7 @@ An example of the request format:
*WebSocket - reject*
```
```json
{
"id": "reject_multi_sign",
"command": "feature",
@@ -34,7 +34,7 @@ An example of the request format:
*JSON-RPC*
```
```json
{
"method": "feature",
"params": [
@@ -48,7 +48,7 @@ An example of the request format:
*Commandline*
```
```sh
#Syntax: feature [<feature_id> [accept|reject]]
rippled feature 4C97EBA926031A7CF7D7B36FDE3ED66DDA5421192D63DE53FFB46E43B9DC8373 accept
```
@@ -72,7 +72,7 @@ An example of a successful response:
*WebSocket - list all*
```
```json
{
"id": "list_all_features",
"status": "success",
@@ -116,7 +116,7 @@ An example of a successful response:
*WebSocket - reject*
```
```json
{
"id": "reject_multi_sign",
"status": "success",
@@ -136,8 +136,9 @@ An example of a successful response:
*JSON-RPC*
```
```json
200 OK
{
"result": {
"4C97EBA926031A7CF7D7B36FDE3ED66DDA5421192D63DE53FFB46E43B9DC8373": {
@@ -153,9 +154,10 @@ An example of a successful response:
*Commandline*
```
```json
Loading: "/etc/rippled.cfg"
Connecting to 127.0.0.1:5005
{
"result": {
"4C97EBA926031A7CF7D7B36FDE3ED66DDA5421192D63DE53FFB46E43B9DC8373": {

View File

@@ -12,7 +12,7 @@ _`fetch_info`メソッドは、権限のないユーザーは実行できない[
*WebSocket*
```
```json
{
"id": 91,
"command": "fetch_info",
@@ -22,7 +22,7 @@ _`fetch_info`メソッドは、権限のないユーザーは実行できない[
*JSON-RPC*
```
```json
{
"method": "fetch_info",
"params": [
@@ -35,7 +35,7 @@ _`fetch_info`メソッドは、権限のないユーザーは実行できない[
*コマンドライン*
```
```sh
#Syntax: fetch_info [clear]
rippled fetch_info
```
@@ -56,7 +56,7 @@ rippled fetch_info
*JSON-RPC*
```
```json
{
"result" : {
"info" : {
@@ -94,9 +94,10 @@ rippled fetch_info
*コマンドライン*
```
```json
Loading: "/etc/rippled.cfg"
Connecting to 127.0.0.1:5005
{
"result" : {
"info" : {

View File

@@ -12,7 +12,7 @@ An example of the request format:
*WebSocket*
```
```json
{
"id": 91,
"command": "fetch_info",
@@ -22,7 +22,7 @@ An example of the request format:
*JSON-RPC*
```
```json
{
"method": "fetch_info",
"params": [
@@ -35,7 +35,7 @@ An example of the request format:
*Commandline*
```
```sh
#Syntax: fetch_info [clear]
rippled fetch_info
```
@@ -56,7 +56,7 @@ An example of a successful response:
*JSON-RPC*
```
```json
{
"result" : {
"info" : {
@@ -94,9 +94,10 @@ An example of a successful response:
*Commandline*
```
```json
Loading: "/etc/rippled.cfg"
Connecting to 127.0.0.1:5005
{
"result" : {
"info" : {

View File

@@ -12,7 +12,7 @@ _`get_counts`メソッドは、権限のないユーザーは実行できない[
*WebSocket*
```
```json
{
"id": 90,
"command": "get_counts",
@@ -22,7 +22,7 @@ _`get_counts`メソッドは、権限のないユーザーは実行できない[
*JSON-RPC*
```
```json
{
"method": "get_counts",
"params": [
@@ -35,7 +35,7 @@ _`get_counts`メソッドは、権限のないユーザーは実行できない[
*コマンドライン*
```
```sh
#Syntax: get_counts [min_count]
rippled get_counts 100
```
@@ -56,7 +56,7 @@ rippled get_counts 100
*JSON-RPC*
```
```json
{
"result" : {
"AL_hit_rate" : 48.36725616455078,
@@ -93,9 +93,10 @@ rippled get_counts 100
*コマンドライン*
```
```json
Loading: "/etc/rippled.cfg"
Connecting to 127.0.0.1:5005
{
"result" : {
"AL_hit_rate" : 48.36725616455078,
@@ -150,4 +151,4 @@ Connecting to 127.0.0.1:5005
<!--{# common link defs #}-->
{% include '_snippets/rippled-api-links.md' %}
{% include '_snippets/tx-type-links.md' %}
{% include '_snippets/rippled_versions.md' %}
{% include '_snippets/rippled_versions.md' %}

View File

@@ -12,7 +12,7 @@ An example of the request format:
*WebSocket*
```
```json
{
"id": 90,
"command": "get_counts",
@@ -22,7 +22,7 @@ An example of the request format:
*JSON-RPC*
```
```json
{
"method": "get_counts",
"params": [
@@ -35,7 +35,7 @@ An example of the request format:
*Commandline*
```
```sh
#Syntax: get_counts [min_count]
rippled get_counts 100
```
@@ -56,7 +56,7 @@ An example of a successful response:
*JSON-RPC*
```
```json
{
"result" : {
"AL_hit_rate" : 48.36725616455078,
@@ -93,9 +93,10 @@ An example of a successful response:
*Commandline*
```
```json
Loading: "/etc/rippled.cfg"
Connecting to 127.0.0.1:5005
{
"result" : {
"AL_hit_rate" : 48.36725616455078,

View File

@@ -12,7 +12,7 @@
*WebSocket*
```
```json
{
"id": "print_req_1",
"command": "print"
@@ -37,9 +37,10 @@ rippled print
*コマンドライン*
```
```json
Loading: "/etc/rippled.cfg"
Connecting to 127.0.0.1:5005
{
"result" : {
"app" : {
@@ -233,4 +234,4 @@ Connecting to 127.0.0.1:5005
<!--{# common link defs #}-->
{% include '_snippets/rippled-api-links.md' %}
{% include '_snippets/tx-type-links.md' %}
{% include '_snippets/rippled_versions.md' %}
{% include '_snippets/rippled_versions.md' %}

View File

@@ -12,7 +12,7 @@ An example of the request format:
*WebSocket*
```
```json
{
"id": "print_req_1",
"command": "print"
@@ -37,9 +37,10 @@ An example of a successful response:
*Commandline*
```
```json
Loading: "/etc/rippled.cfg"
Connecting to 127.0.0.1:5005
{
"result" : {
"app" : {

View File

@@ -12,7 +12,7 @@
*WebSocket*
```
```json
{
"id": 1,
"command": "validator_list_sites"
@@ -21,7 +21,7 @@
*JSON-RPC*
```
```json
{
"method": "validator_list_sites",
"params": [
@@ -32,7 +32,7 @@
*コマンドライン*
```
```sh
#Syntax: validator_list_sites
rippled validator_list_sites
```
@@ -49,7 +49,7 @@ rippled validator_list_sites
*WebSocket*
```
```json
{
"id":5,
"status":"success",
@@ -70,8 +70,9 @@ rippled validator_list_sites
*JSON-RPC*
```
```json
200 OK
{
"result": {
"status": "success",
@@ -89,9 +90,10 @@ rippled validator_list_sites
*コマンドライン*
```
```json
Loading: "/etc/rippled.cfg"
Connecting to 127.0.0.1:5005
{
"result": {
"status": "success",
@@ -131,4 +133,4 @@ Connecting to 127.0.0.1:5005
<!--{# common link defs #}-->
{% include '_snippets/rippled-api-links.md' %}
{% include '_snippets/tx-type-links.md' %}
{% include '_snippets/rippled_versions.md' %}
{% include '_snippets/rippled_versions.md' %}

View File

@@ -12,7 +12,7 @@ An example of the request format:
*WebSocket*
```
```json
{
"id": 1,
"command": "validator_list_sites"
@@ -21,7 +21,7 @@ An example of the request format:
*JSON-RPC*
```
```json
{
"method": "validator_list_sites",
"params": [
@@ -32,7 +32,7 @@ An example of the request format:
*Commandline*
```
```sh
#Syntax: validator_list_sites
rippled validator_list_sites
```
@@ -49,7 +49,7 @@ An example of a successful response:
*WebSocket*
```
```json
{
"id":5,
"status":"success",
@@ -70,8 +70,9 @@ An example of a successful response:
*JSON-RPC*
```
```json
200 OK
{
"result": {
"status": "success",
@@ -89,9 +90,10 @@ An example of a successful response:
*Commandline*
```
```json
Loading: "/etc/rippled.cfg"
Connecting to 127.0.0.1:5005
{
"result": {
"status": "success",

View File

@@ -12,7 +12,7 @@
*WebSocket*
```
```json
{
"id": 1,
"command": "validators"
@@ -21,7 +21,7 @@
*JSON-RPC*
```
```json
{
"method": "validators",
"params": [
@@ -32,7 +32,7 @@
*コマンドライン*
```
```sh
#Syntax: validators
rippled validators
```
@@ -49,7 +49,7 @@ rippled validators
*WebSocket*
```
```json
{
"id":5,
"status":"success",
@@ -83,8 +83,9 @@ rippled validators
*JSON-RPC*
```
```json
200 OK
{
"result":{
"local_static_keys": [],
@@ -116,9 +117,10 @@ rippled validators
*コマンドライン*
```
```json
Loading: "/etc/rippled.cfg"
Connecting to 127.0.0.1:5005
{
"result":{
"local_static_keys": [],
@@ -179,4 +181,4 @@ Connecting to 127.0.0.1:5005
<!--{# common link defs #}-->
{% include '_snippets/rippled-api-links.md' %}
{% include '_snippets/tx-type-links.md' %}
{% include '_snippets/rippled_versions.md' %}
{% include '_snippets/rippled_versions.md' %}

View File

@@ -12,7 +12,7 @@ An example of the request format:
*WebSocket*
```
```json
{
"id": 1,
"command": "validators"
@@ -21,7 +21,7 @@ An example of the request format:
*JSON-RPC*
```
```json
{
"method": "validators",
"params": [
@@ -32,7 +32,7 @@ An example of the request format:
*Commandline*
```
```sh
#Syntax: validators
rippled validators
```
@@ -49,7 +49,7 @@ An example of a successful response:
*WebSocket*
```
```json
{
"id":5,
"status":"success",
@@ -83,8 +83,9 @@ An example of a successful response:
*JSON-RPC*
```
```json
200 OK
{
"result":{
"local_static_keys": [],
@@ -116,9 +117,10 @@ An example of a successful response:
*Commandline*
```
```json
Loading: "/etc/rippled.cfg"
Connecting to 127.0.0.1:5005
{
"result":{
"local_static_keys": [],

View File

@@ -11,7 +11,7 @@
*WebSocket*
```
```json
{
"id": 2,
"command": "account_offers",
@@ -21,7 +21,7 @@
*JSON-RPC*
```
```json
{
"method": "account_offers",
"params": [
@@ -34,7 +34,7 @@
*コマンドライン*
```
```sh
#Syntax: account_offers account [ledger_index]
rippled account_offers r9cZA1mLK5R5Am25ArfXFmqgNwjZgnfk59 current
```
@@ -64,7 +64,7 @@ rippled account_offers r9cZA1mLK5R5Am25ArfXFmqgNwjZgnfk59 current
*WebSocket*
```
```json
{
"id": 9,
"status": "success",
@@ -104,7 +104,7 @@ rippled account_offers r9cZA1mLK5R5Am25ArfXFmqgNwjZgnfk59 current
*JSON-RPC*
```
```json
200 OK
{
"result": {

View File

@@ -11,7 +11,7 @@
*WebSocket*
```
```json
{
"id": 2,
"command": "account_tx",
@@ -26,7 +26,7 @@
*JSON-RPC*
```
```json
{
"method": "account_tx",
"params": [
@@ -44,7 +44,7 @@
*コマンドライン*
```
```sh
#Syntax account_tx account ledger_index_min ledger_index_max [offset] [limit] [binary] [count] [forward]
rippled -- account_tx r9cZA1mLK5R5Am25ArfXFmqgNwjZgnfk59 -1 -1 2 5 1 0 1
```
@@ -87,7 +87,7 @@ rippled -- account_tx r9cZA1mLK5R5Am25ArfXFmqgNwjZgnfk59 -1 -1 2 5 1 0 1
*WebSocket*
```
```json
{
"id": 2,
"status": "success",
@@ -323,7 +323,7 @@ rippled -- account_tx r9cZA1mLK5R5Am25ArfXFmqgNwjZgnfk59 -1 -1 2 5 1 0 1
*JSON-RPC*
```
```json
200 OK
{
"result": {

View File

@@ -11,7 +11,7 @@ An example of the request format:
*WebSocket*
```
```json
{
"id": 2,
"command": "account_tx",
@@ -26,7 +26,7 @@ An example of the request format:
*JSON-RPC*
```
```json
{
"method": "account_tx",
"params": [
@@ -44,7 +44,7 @@ An example of the request format:
*Commandline*
```
```sh
# Syntax: account_tx account [ledger_index_min [ledger_index_max]] [limit] [offset] [binary] [count] [descending]
# For binary/count/descending, use the parameter name for true and omit for false.
rippled -- account_tx rLNaPoKeeBjZe2qs6x52yVPZpZ8td4dc6w -1 -1 2 0 binary descending

View File

@@ -10,7 +10,7 @@
*WebSocket*
```
```json
{
"id": "example_gateway_balances_1",
"command": "gateway_balances",
@@ -23,7 +23,7 @@
*JSON-RPC*
```
```json
{
"method": "gateway_balances",
"params": [
@@ -60,7 +60,7 @@
*WebSocket*
```
```json
{
"id": 3,
"status": "success",
@@ -128,7 +128,7 @@
*JSON-RPC*
```
```json
200 OK
{
"result": {

View File

@@ -12,7 +12,7 @@ An example of the request format:
*WebSocket*
```
```json
{
"id": "example_gateway_balances_1",
"command": "gateway_balances",
@@ -25,7 +25,7 @@ An example of the request format:
*JSON-RPC*
```
```json
{
"method": "gateway_balances",
"params": [
@@ -43,7 +43,7 @@ An example of the request format:
```
*Commandline*
```
```sh
rippled json gateway_balances ' {"account": "rMwjYedjc7qqtKYVLiAccJSmCwih4LnE2q", "hotwallet": ["rKm4uWpg9tfwbVSeATv4KxDe6mpE9yPkgJ", "ra7JkEzrgeKHdzKgo4EUUVBnxggY4z37kt"],"ledger_index": "validated","strict": true} '
```
@@ -67,7 +67,7 @@ An example of a successful response:
*WebSocket*
```
```json
{
"id": 3,
"status": "success",
@@ -135,7 +135,7 @@ An example of a successful response:
*JSON-RPC*
```
```json
200 OK
{
"result": {

View File

@@ -10,7 +10,7 @@
*WebSocket*
```
```json
{
"id": 0,
"command": "noripple_check",
@@ -24,7 +24,7 @@
*JSON-RPC*
```
```json
{
"method": "noripple_check",
"params": [
@@ -62,7 +62,7 @@
*WebSocket*
```
```json
{
"id": 0,
"status": "success",
@@ -114,7 +114,7 @@
*JSON-RPC*
```
```json
200 OK
{
"result": {

View File

@@ -10,7 +10,7 @@
*WebSocket*
```
```json
{
"id":14,
"command":"ledger",
@@ -25,7 +25,7 @@
*JSON-RPC*
```
```json
{
"method":"ledger",
"params":[
@@ -43,7 +43,7 @@
*コマンドライン*
```
```sh
#Syntax: ledger ledger_index|ledger_hash [full|tx]
# "full" is equivalent to "full": true
# "tx" is equivalent to "transactions": true
@@ -78,7 +78,7 @@ rippled ledger current
*WebSocket*
```
```json
{
"id":4,
"status":"success",
@@ -111,8 +111,9 @@ rippled ledger current
*JSON-RPC*
```
```json
200 OK
{
"result":{
"ledger":{

View File

@@ -10,7 +10,7 @@
*WebSocket*
```
```json
{
"id": 2,
"command": "ledger_closed"
@@ -19,7 +19,7 @@
*JSON-RPC*
```
```json
{
"method": "ledger_closed",
"params": [
@@ -48,7 +48,7 @@ rippled ledger_closed
*WebSocket*
```
```json
{
"id": 1,
"status": "success",
@@ -62,8 +62,9 @@ rippled ledger_closed
*JSON-RPC*
```
```json
200 OK
{
"result": {
"ledger_hash": "8B5A0C5F6B198254A6E411AF55C29EE40AA86251D2E78DD0BB17647047FA9C24",

View File

@@ -10,7 +10,7 @@ An example of the request format:
*WebSocket*
```
```json
{
"id": 2,
"command": "ledger_closed"
@@ -19,7 +19,7 @@ An example of the request format:
*JSON-RPC*
```
```json
{
"method": "ledger_closed",
"params": [
@@ -30,7 +30,7 @@ An example of the request format:
*Commandline*
```
```sh
#Syntax: ledger_closed
rippled ledger_closed
```
@@ -48,7 +48,7 @@ An example of a successful response:
*WebSocket*
```
```json
{
"id": 1,
"status": "success",
@@ -62,8 +62,9 @@ An example of a successful response:
*JSON-RPC*
```
```json
200 OK
{
"result": {
"ledger_hash": "8B5A0C5F6B198254A6E411AF55C29EE40AA86251D2E78DD0BB17647047FA9C24",

View File

@@ -11,7 +11,7 @@
*WebSocket*
```
```json
{
"id":2,
"command":"ledger_current"
@@ -20,7 +20,7 @@
*JSON-RPC*
```
```json
{
"method":"ledger_current",
"params":[
@@ -31,7 +31,7 @@
*コマンドライン*
```
```sh
#Syntax: ledger_current
rippled ledger_current
```
@@ -50,7 +50,7 @@ rippled ledger_current
*WebSocket*
```
```json
{
"id":2,
"status":"success",
@@ -63,8 +63,9 @@ rippled ledger_current
*JSON-RPC*
```
```json
200 OK
{
"result":{
"ledger_current_index":8696233,
@@ -89,4 +90,4 @@ rippled ledger_current
{% include '_snippets/rippled_versions.md' %}
{% include '_snippets/rippled-api-links.md' %}
{% include '_snippets/rippled-api-links.md' %}

View File

@@ -11,7 +11,7 @@ An example of the request format:
*WebSocket*
```
```json
{
"id": 2,
"command": "ledger_current"
@@ -20,7 +20,7 @@ An example of the request format:
*JSON-RPC*
```
```json
{
"method": "ledger_current",
"params": [
@@ -31,7 +31,7 @@ An example of the request format:
*Commandline*
```
```sh
#Syntax: ledger_current
rippled ledger_current
```
@@ -50,7 +50,7 @@ An example of a successful response:
*WebSocket*
```
```json
{
"id": 2,
"status": "success",
@@ -63,8 +63,9 @@ An example of a successful response:
*JSON-RPC*
```
```json
200 OK
{
"result": {
"ledger_current_index": 8696233,

View File

@@ -10,7 +10,7 @@
*WebSocket*
```
```json
{
"id":2,
"ledger_hash":"842B57C1CC0613299A686D3E9F310EC0422C84D3911E5056389AA7E5808A93C8",
@@ -22,7 +22,7 @@
*JSON-RPC*
```
```json
{
"method":"ledger_data",
"params":[
@@ -60,7 +60,7 @@
*WebSocket (binary:true)*
```
```json
{
"id":2,
"result":{
@@ -97,7 +97,7 @@
*WebSocket (binary:false)*
```
```json
{
"id":2,
"result":{
@@ -196,8 +196,9 @@
*JSON-RPC (binary:true)*
```
```json
200 OK
{
"result":{
"ledger_hash":"842B57C1CC0613299A686D3E9F310EC0422C84D3911E5056389AA7E5808A93C8",

View File

@@ -12,7 +12,7 @@ An example of the request format:
*WebSocket*
```
```json
{
"id": 2,
"ledger_hash": "842B57C1CC0613299A686D3E9F310EC0422C84D3911E5056389AA7E5808A93C8",
@@ -24,7 +24,7 @@ An example of the request format:
*JSON-RPC*
```
```json
{
"method": "ledger_data",
"params": [
@@ -61,7 +61,7 @@ An example of a successful response:
*WebSocket (binary:true)*
```
```json
{
"id": 2,
"result": {
@@ -197,8 +197,9 @@ An example of a successful response:
*JSON-RPC (binary:true)*
```
```json
200 OK
{
"result": {
"ledger_hash": "842B57C1CC0613299A686D3E9F310EC0422C84D3911E5056389AA7E5808A93C8",

View File

@@ -13,7 +13,7 @@
*WebSocket*
```
```json
{
"id": 3,
"command": "ledger_entry",
@@ -25,7 +25,7 @@
*JSON-RPC*
```
```json
{
"method": "ledger_entry",
"params": [
@@ -94,7 +94,8 @@
*WebSocket*
```{
```json
{
"id": 3,
"result": {
"index": "4F83A2CF7E70F77F79A307E6A472BFC2585B806A70833CCD1C26105BAE0D6E05",
@@ -118,8 +119,9 @@
*JSON-RPC*
```
```json
200 OK
{
"result": {
"index": "4F83A2CF7E70F77F79A307E6A472BFC2585B806A70833CCD1C26105BAE0D6E05",

View File

@@ -13,7 +13,7 @@ An example of the request format:
*WebSocket*
```
```json
{
"id": 3,
"command": "ledger_entry",
@@ -25,7 +25,7 @@ An example of the request format:
*JSON-RPC*
```
```json
{
"method": "ledger_entry",
"params": [
@@ -40,7 +40,7 @@ An example of the request format:
*Commandline*
```
```sh
rippled json ledger_entry '{ "account_root": "r9cZA1mLK5R5Am25ArfXFmqgNwjZgnfk59", "ledger_index": "validated", "type": "account_root" }'
```
@@ -127,6 +127,7 @@ An example of a successful response:
```json
200 OK
{
"result": {
"index": "4F83A2CF7E70F77F79A307E6A472BFC2585B806A70833CCD1C26105BAE0D6E05",

View File

@@ -10,7 +10,7 @@
*WebSocket*
```
```json
{
"id": 4,
"command": "book_offers",
@@ -28,7 +28,7 @@
*JSON-RPC*
```
```json
{
"method": "book_offers",
"params": [
@@ -49,7 +49,7 @@
*コマンドライン*
```
```sh
#Syntax: book_offers taker_pays taker_gets [taker [ledger [limit] ] ]
rippled book_offers 'USD/rvYAfWj5gh67oV6fW32ZzP3Aw4Eubs59B' 'EUR/rvYAfWj5gh67oV6fW32ZzP3Aw4Eubs59B'
```
@@ -78,7 +78,7 @@ rippled book_offers 'USD/rvYAfWj5gh67oV6fW32ZzP3Aw4Eubs59B' 'EUR/rvYAfWj5gh67oV6
*WebSocket*
```
```json
{
"id": 11,
"status": "success",
@@ -139,8 +139,9 @@ rippled book_offers 'USD/rvYAfWj5gh67oV6fW32ZzP3Aw4Eubs59B' 'EUR/rvYAfWj5gh67oV6
*JSON-RPC*
```
```json
200 OK
{
"result": {
"ledger_current_index": 8696243,

View File

@@ -10,7 +10,7 @@ An example of the request format:
*WebSocket*
```
```json
{
"id": 4,
"command": "book_offers",
@@ -28,7 +28,7 @@ An example of the request format:
*JSON-RPC*
```
```json
{
"method": "book_offers",
"params": [
@@ -49,7 +49,7 @@ An example of the request format:
*Commandline*
```
```sh
#Syntax: book_offers taker_pays taker_gets [taker [ledger [limit] ] ]
rippled book_offers 'USD/rvYAfWj5gh67oV6fW32ZzP3Aw4Eubs59B' 'EUR/rvYAfWj5gh67oV6fW32ZzP3Aw4Eubs59B'
```
@@ -138,8 +138,9 @@ An example of a successful response:
*JSON-RPC*
```
```json
200 OK
{
"result": {
"ledger_current_index": 8696243,

View File

@@ -25,7 +25,7 @@ path_findコマンドには3種類のモードサブコマンドがあり
*WebSocket*
```
```json
{
"id":8,
"command":"path_find",
@@ -65,7 +65,7 @@ path_findコマンドには3種類のモードサブコマンドがあり
*WebSocket*
```
```json
{
"id":1,
"status":"success",
@@ -469,7 +469,7 @@ path_find create要求からの非同期フォローアップの例を次に示
*WebSocket*
```
```json
{
"id":1,
"type":"path_find",
@@ -500,7 +500,7 @@ path_find create要求からの非同期フォローアップの例を次に示
*WebSocket*
```
```json
{
"id":57,
"command":"path_find",
@@ -545,7 +545,7 @@ Pathfinding要求が正常にクローズされた場合、応答は[`path_find
*WebSocket*
```
```json
{
"id":58,
"command":"path_find",

View File

@@ -25,7 +25,7 @@ An example of the request format:
*WebSocket*
```
```json
{
"id": 8,
"command": "path_find",
@@ -65,7 +65,7 @@ An example of a successful response:
*WebSocket*
```
```json
{
"id": 1,
"status": "success",
@@ -469,7 +469,7 @@ Here is an example of an asynchronous follow-up from a path_find create request:
*WebSocket*
```
```json
{
"id": 1,
"type": "path_find",
@@ -500,7 +500,7 @@ An example of the request format:
*WebSocket*
```
```json
{
"id": 57,
"command": "path_find",
@@ -545,7 +545,7 @@ An example of the request format:
*WebSocket*
```
```json
{
"id": 58,
"command": "path_find",

View File

@@ -14,7 +14,7 @@
*WebSocket*
```
```json
{
"id":8,
"command":"ripple_path_find",
@@ -38,7 +38,7 @@
*JSON-RPC*
```
```json
{
"method":"ripple_path_find",
"params":[
@@ -65,7 +65,7 @@
*コマンドライン*
```
```sh
#Syntax ripple_path_find json ledger_index|ledger_hash
rippled ripple_path_find '{"source_account":"r9cZA1mLK5R5Am25ArfXFmqgNwjZgnfk59", "source_currencies":[ { "currency":"XRP" }, { "currency":"USD" } ], "destination_account":"r9cZA1mLK5R5Am25ArfXFmqgNwjZgnfk59", "destination_amount":{ "value":"0.001", "currency":"USD", "issuer":"rvYAfWj5gh67oV6fW32ZzP3Aw4Eubs59B" } }'
```
@@ -94,7 +94,7 @@ rippled ripple_path_find '{"source_account":"r9cZA1mLK5R5Am25ArfXFmqgNwjZgnfk59"
*WebSocket*
```
```json
{
"id":8,
"status":"success",
@@ -203,8 +203,9 @@ rippled ripple_path_find '{"source_account":"r9cZA1mLK5R5Am25ArfXFmqgNwjZgnfk59"
*JSON-RPC*
```
```json
200 OK
{
"result":{
"alternatives":[

View File

@@ -14,7 +14,7 @@ An example of the request format:
*WebSocket*
```
```json
{
"id": 8,
"command": "ripple_path_find",
@@ -38,7 +38,7 @@ An example of the request format:
*JSON-RPC*
```
```json
{
"method": "ripple_path_find",
"params": [
@@ -65,7 +65,7 @@ An example of the request format:
*Commandline*
```
```sh
#Syntax ripple_path_find json ledger_index|ledger_hash
rippled ripple_path_find '{"source_account": "r9cZA1mLK5R5Am25ArfXFmqgNwjZgnfk59", "source_currencies": [ { "currency": "XRP" }, { "currency": "USD" } ], "destination_account": "r9cZA1mLK5R5Am25ArfXFmqgNwjZgnfk59", "destination_amount": { "value": "0.001", "currency": "USD", "issuer": "rvYAfWj5gh67oV6fW32ZzP3Aw4Eubs59B" } }'
```
@@ -94,7 +94,7 @@ An example of a successful response:
*WebSocket*
```
```json
{
"id": 8,
"status": "success",
@@ -203,8 +203,9 @@ An example of a successful response:
*JSON-RPC*
```
```json
200 OK
{
"result": {
"alternatives": [

View File

@@ -12,7 +12,7 @@ _[PayChan Amendment][]が有効になっている必要があります。[新
*WebSocket*
```
```json
{
"id": "channel_authorize_example_id1",
"command": "channel_authorize",
@@ -42,7 +42,7 @@ Content-Type: application/json
*コマンドライン*
```
```sh
#Syntax: channel_authorize <private_key> [<key_type>] <channel_id> <drops>
rippled channel_authorize s████████████████████████████ secp256k1 5DB01B7FFED6B67E6B0414DED11E051D2EE2B7619CE0EAA6286D67A3A4D5BDB3 1000000
```
@@ -73,10 +73,10 @@ rippled channel_authorize s█████████████████
*WebSocket*
```
```json
{
"id": "channel_authorize_example_id1",
"status": "success"
"status": "success",
"result": {
"signature": "304402204EF0AFB78AC23ED1C472E74F4299C0C21F1B21D07EFC0A3838A420F76D783A400220154FB11B6F54320666E4C36CA7F686C16A3A0456800BBC43746F34AF50290064",
}
@@ -98,7 +98,7 @@ rippled channel_authorize s█████████████████
*コマンドライン*
```
```json
{
"result": {
"signature": "304402204EF0AFB78AC23ED1C472E74F4299C0C21F1B21D07EFC0A3838A420F76D783A400220154FB11B6F54320666E4C36CA7F686C16A3A0456800BBC43746F34AF50290064",

View File

@@ -12,7 +12,7 @@ An example of the request format:
*WebSocket*
```
```json
{
"id": "channel_authorize_example_id1",
"command": "channel_authorize",
@@ -42,7 +42,7 @@ Content-Type: application/json
*Commandline*
```
```sh
#Syntax: channel_authorize <private_key> [<key_type>] <channel_id> <drops>
rippled channel_authorize s████████████████████████████ secp256k1 5DB01B7FFED6B67E6B0414DED11E051D2EE2B7619CE0EAA6286D67A3A4D5BDB3 1000000
```
@@ -73,7 +73,7 @@ An example of a successful response:
*WebSocket*
```
```json
{
"id": "channel_authorize_example_id1",
"status": "success"
@@ -98,7 +98,7 @@ An example of a successful response:
*Commandline*
```
```json
{
"result": {
"signature": "304402204EF0AFB78AC23ED1C472E74F4299C0C21F1B21D07EFC0A3838A420F76D783A400220154FB11B6F54320666E4C36CA7F686C16A3A0456800BBC43746F34AF50290064",

View File

@@ -12,7 +12,7 @@ _[PayChan Amendment][]が有効になっている必要があります。[新
*WebSocket*
```
```json
{
"id":1,
"command":"channel_verify",
@@ -25,10 +25,7 @@ _[PayChan Amendment][]が有効になっている必要があります。[新
*JSON-RPC*
```
POST http://localhost:5005/
Content-Type: application/json
```json
{
"method":"channel_verify",
"params":[{
@@ -42,7 +39,7 @@ Content-Type: application/json
*コマンドライン*
```
```sh
#Syntax: channel_verify <public_key> <channel_id> <amount> <signature>
rippled channel_verify aB44YfzW24VDEJQ2UuLPV2PvqcPCSoLnL7y5M1EzhdW4LnK5xMS3 5DB01B7FFED6B67E6B0414DED11E051D2EE2B7619CE0EAA6286D67A3A4D5BDB3 1000000 304402204EF0AFB78AC23ED1C472E74F4299C0C21F1B21D07EFC0A3838A420F76D783A400220154FB11B6F54320666E4C36CA7F686C16A3A0456800BBC43746F34AF50290064
```
@@ -66,7 +63,7 @@ rippled channel_verify aB44YfzW24VDEJQ2UuLPV2PvqcPCSoLnL7y5M1EzhdW4LnK5xMS3 5DB0
*WebSocket*
```
```json
{
"id":1,
"status":"success",
@@ -79,7 +76,7 @@ rippled channel_verify aB44YfzW24VDEJQ2UuLPV2PvqcPCSoLnL7y5M1EzhdW4LnK5xMS3 5DB0
*JSON-RPC*
```
```json
200 OK
{
@@ -92,7 +89,7 @@ rippled channel_verify aB44YfzW24VDEJQ2UuLPV2PvqcPCSoLnL7y5M1EzhdW4LnK5xMS3 5DB0
*コマンドライン*
```
```json
{
"result":{
"signature_verified":true,

View File

@@ -12,7 +12,7 @@ An example of the request format:
*WebSocket*
```
```json
{
"id": 1,
"command": "channel_verify",
@@ -25,10 +25,7 @@ An example of the request format:
*JSON-RPC*
```
POST http://localhost:5005/
Content-Type: application/json
```json
{
"method": "channel_verify",
"params": [{
@@ -42,7 +39,7 @@ Content-Type: application/json
*Commandline*
```
```sh
#Syntax: channel_verify <public_key> <channel_id> <amount> <signature>
rippled channel_verify aB44YfzW24VDEJQ2UuLPV2PvqcPCSoLnL7y5M1EzhdW4LnK5xMS3 5DB01B7FFED6B67E6B0414DED11E051D2EE2B7619CE0EAA6286D67A3A4D5BDB3 1000000 304402204EF0AFB78AC23ED1C472E74F4299C0C21F1B21D07EFC0A3838A420F76D783A400220154FB11B6F54320666E4C36CA7F686C16A3A0456800BBC43746F34AF50290064
```
@@ -66,7 +63,7 @@ An example of a successful response:
*WebSocket*
```
```json
{
"id": 1,
"status": "success",
@@ -79,7 +76,7 @@ An example of a successful response:
*JSON-RPC*
```
```json
200 OK
{
@@ -92,7 +89,7 @@ An example of a successful response:
*Commandline*
```
```json
{
"result": {
"signature_verified":true,

View File

@@ -12,7 +12,7 @@
*WebSocket*
```
```json
{
"id":"fee_websocket_example",
"command":"fee"
@@ -21,7 +21,7 @@
*JSON-RPC*
```
```json
{
"method":"fee",
"params":[{}]
@@ -30,7 +30,7 @@
*コマンドライン*
```
```sh
#Syntax: fee
rippled fee
```
@@ -47,7 +47,7 @@ rippled fee
*WebSocket*
```
```json
{
"id":"fee_websocket_example",
"status":"success",
@@ -76,8 +76,9 @@ rippled fee
*JSON-RPC*
```
```json
200 OK
{
"result":{
"current_ledger_size":"56",
@@ -104,9 +105,10 @@ rippled fee
*コマンドライン*
```
```json
Loading:"/etc/rippled.cfg"
Connecting to 127.0.0.1:5005
{
"result" :{
"current_ledger_size" :"16",

View File

@@ -12,7 +12,7 @@ An example of the request format:
*WebSocket*
```
```json
{
"id": "fee_websocket_example",
"command": "fee"
@@ -21,7 +21,7 @@ An example of the request format:
*JSON-RPC*
```
```json
{
"method": "fee",
"params": [{}]
@@ -30,7 +30,7 @@ An example of the request format:
*Commandline*
```
```sh
#Syntax: fee
rippled fee
```
@@ -47,7 +47,7 @@ An example of a successful response:
*WebSocket*
```
```json
{
"id": "fee_websocket_example",
"status": "success",
@@ -76,8 +76,9 @@ An example of a successful response:
*JSON-RPC*
```
```json
200 OK
{
"result": {
"current_ledger_size": "56",
@@ -104,9 +105,10 @@ An example of a successful response:
*Commandline*
```
```json
Loading: "/etc/rippled.cfg"
Connecting to 127.0.0.1:5005
{
"result" : {
"current_ledger_size" : "16",

View File

@@ -10,7 +10,7 @@
*WebSocket*
```
```json
{
"id": 1,
"command": "server_info"
@@ -19,7 +19,7 @@
*JSON-RPC*
```
```json
{
"method": "server_info",
"params": [
@@ -30,7 +30,7 @@
*コマンドライン*
```
```sh
#Syntax: server_info
rippled server_info
```
@@ -49,7 +49,7 @@ rippled server_info
*WebSocket*
```
```json
{
"id": 1,
"status": "success",
@@ -156,8 +156,9 @@ rippled server_info
*JSON-RPC*
```
```json
200 OK
{
"result" : {
"info" : {

View File

@@ -10,7 +10,7 @@ An example of the request format:
*WebSocket*
```
```json
{
"id": 1,
"command": "server_info"
@@ -19,7 +19,7 @@ An example of the request format:
*JSON-RPC*
```
```json
{
"method": "server_info",
"params": [
@@ -30,7 +30,7 @@ An example of the request format:
*Commandline*
```
```sh
#Syntax: server_info
rippled server_info
```

View File

@@ -10,7 +10,7 @@
*WebSocket*
```
```json
{
"id": 2,
"command": "server_state"
@@ -19,7 +19,7 @@
*JSON-RPC*
```
```json
{
"method": "server_state",
"params": [
@@ -30,7 +30,7 @@
*コマンドライン*
```
```sh
#Syntax: server_state
rippled server_state
```
@@ -49,7 +49,7 @@ rippled server_state
*WebSocket*
```
```json
{
"id": 2,
"status": "success",
@@ -147,8 +147,9 @@ rippled server_state
*JSON-RPC*
```
```json
200 OK
{
"result" : {
"state" : {

View File

@@ -10,7 +10,7 @@ An example of the request format:
*WebSocket*
```
```json
{
"id": 2,
"command": "server_state"
@@ -19,7 +19,7 @@ An example of the request format:
*JSON-RPC*
```
```json
{
"method": "server_state",
"params": [
@@ -30,7 +30,7 @@ An example of the request format:
*Commandline*
```
```sh
#Syntax: server_state
rippled server_state
```

View File

@@ -10,7 +10,7 @@
*アカウントのサブスクライブ*
```
```json
{
"id": "Example watch Bitstamp's hot wallet",
"command": "subscribe",
@@ -20,7 +20,7 @@
*オーダーブックのサブスクライブ*
```
```json
{
"id": "Example subscribe to XRP/GateHub USD order book",
"command": "subscribe",
@@ -41,7 +41,7 @@
*レジャーストリームのサブスクライブ*
```
```json
{
"id": "Example watch for new validated ledgers",
"command": "subscribe",
@@ -95,7 +95,7 @@
*WebSocket*
```
```json
{
"id": "Example watch Bitstamp's hot wallet",
"status": "success",
@@ -134,7 +134,7 @@
`ledger`ストリームは、[コンセンサスプロセス](consensus.html)で新しい検証済みレジャーが宣言されたときにのみ`ledgerClosed`メッセージを送信します。このメッセージはレジャーを識別し、そのレジャーの内容について何らかの情報を伝えます。
```
```json
{
"type": "ledgerClosed",
"fee_base": 10,
@@ -171,7 +171,7 @@
検証ストリームは、検証メッセージ(検証投票とも呼ばれる)を受信するたびにメッセージを送信します。検証メッセージが信頼できるバリデータからのものであるかどうかは関係ありません。次のようなメッセージを送信します。
```
```json
{
"type": "validationReceived",
"amendments":[
@@ -238,7 +238,7 @@
`accounts_proposed`サブスクリプションも同様に機能しますが、このサブスクリプションには、`transactions_proposed`ストリームと同様、監視中のアカウントの未確定トランザクションも記録される点が異なります。
```
```json
{
"status": "closed",
"type": "transaction",
@@ -360,7 +360,7 @@
ピアステータスストリームメッセージの例:
```
```json
{
"action": "CLOSING_LEDGER",
"date": 508546525,
@@ -402,7 +402,7 @@
オーダーブックストリームメッセージの例:
```
```json
{
"engine_result": "tesSUCCESS",
"engine_result_code": 0,
@@ -540,7 +540,7 @@
`consensus`ストリームは、[コンセンサスプロセス](consensus.html)でフェーズが変更されると、`consensusPhase`メッセージを送信します。このメッセージには、サーバーで実行されているコンセンサスの新しいフェーズが含まれます。
```
```json
{
"type": "consensusPhase",
"consensus": "accepted"

View File

@@ -96,7 +96,7 @@ An example of a successful response:
*WebSocket*
```
```json
{
"id": "Example watch Bitstamp's hot wallet",
"status": "success",
@@ -135,7 +135,7 @@ When you subscribe to a particular stream, you receive periodic responses on tha
The `ledger` stream only sends `ledgerClosed` messages when [the consensus process](consensus.html) declares a new validated ledger. The message identifies the ledger and provides some information about its contents.
```
```json
{
"type": "ledgerClosed",
"fee_base": 10,
@@ -172,7 +172,7 @@ The fields from a ledger stream message are as follows:
The validations stream sends messages whenever it receives validation messages, also called validation votes, regardless of whether or not the validation message is from a trusted validator. The message looks like the following:
```
```json
{
"type": "validationReceived",
"amendments":[
@@ -239,7 +239,7 @@ Since the only thing that can modify an account or an order book is a transactio
The `accounts_proposed` subscription works the same way, except it also includes unconfirmed transactions, like the `transactions_proposed` stream, for the accounts you're watching.
```
```json
{
"status": "closed",
"type": "transaction",
@@ -361,7 +361,7 @@ The admin-only `peer_status` stream reports a large amount of information on the
Example of a Peer Status stream message:
```
```json
{
"action": "CLOSING_LEDGER",
"date": 508546525,
@@ -403,7 +403,7 @@ When you subscribe to one or more order books with the `books` field, you get ba
Example order book stream message:
```
```json
{
"engine_result": "tesSUCCESS",
"engine_result_code": 0,
@@ -541,7 +541,7 @@ The format of an order book stream message is the same as that of [transaction s
The `consensus` stream sends `consensusPhase` messages when [the consensus process](consensus.html) changes phase. The message contains the new phase of consensus the server is in.
```
```json
{
"type": "consensusPhase",
"consensus": "accepted"

View File

@@ -10,7 +10,7 @@
*WebSocket*
```
```json
{
"id":"Unsubscribe a lot of stuff",
"command":"unsubscribe",
@@ -63,7 +63,7 @@
*WebSocket*
```
```json
{
"id":"Unsubscribe a lot of stuff",
"result":{},

View File

@@ -10,7 +10,7 @@ An example of the request format:
*WebSocket*
```
```json
{
"id": "Unsubscribe a lot of stuff",
"command": "unsubscribe",
@@ -63,7 +63,7 @@ An example of a successful response:
*WebSocket*
```
```json
{
"id": "Unsubscribe a lot of stuff",
"result": {},

View File

@@ -15,7 +15,7 @@
*WebSocket*
```
```json
{
"id": 2,
"command": "sign",
@@ -37,7 +37,7 @@
*JSON-RPC*
```
```json
{
"method": "sign",
"params": [
@@ -62,7 +62,7 @@
*コマンドライン*
```
```sh
#Syntax: sign secret tx_json [offline]
rippled sign s████████████████████████████ '{"TransactionType": "Payment", "Account": "rf1BiGeXwwQoi8Z2ueFYTEXSwuJYfV2Jpn", "Destination": "ra5nK24KXen9AHvsdFTKHSANinZseWnPcX", "Amount": { "currency": "USD", "value": "1", "issuer" : "rf1BiGeXwwQoi8Z2ueFYTEXSwuJYfV2Jpn" }, "Sequence": 360, "Fee": "10000"}' offline
```
@@ -109,7 +109,7 @@ rippled sign s██████████████████████
*WebSocket*
```
```json
{
"id": 2,
"status": "success",
@@ -138,8 +138,9 @@ rippled sign s██████████████████████
*JSON-RPC*
```
```json
200 OK
{
"result": {
"status": "success",
@@ -166,9 +167,10 @@ rippled sign s██████████████████████
*コマンドライン*
```
```json
Loading: "/etc/rippled.cfg"
Connecting to 127.0.0.1:5005
{
"result" : {
"status" : "success",

View File

@@ -15,7 +15,7 @@ An example of the request format:
*WebSocket*
```
```json
{
"id": 2,
"command": "sign",
@@ -37,7 +37,7 @@ An example of the request format:
*JSON-RPC*
```
```json
{
"method": "sign",
"params": [
@@ -62,7 +62,7 @@ An example of the request format:
*Commandline*
```
```sh
#Syntax: sign secret tx_json [offline]
rippled sign s████████████████████████████ '{"TransactionType": "Payment", "Account": "rf1BiGeXwwQoi8Z2ueFYTEXSwuJYfV2Jpn", "Destination": "ra5nK24KXen9AHvsdFTKHSANinZseWnPcX", "Amount": { "currency": "USD", "value": "1", "issuer" : "rf1BiGeXwwQoi8Z2ueFYTEXSwuJYfV2Jpn" }, "Sequence": 360, "Fee": "10000"}' offline
```
@@ -109,7 +109,7 @@ An example of a successful response:
*WebSocket*
```
```json
{
"id": 2,
"status": "success",
@@ -138,8 +138,9 @@ An example of a successful response:
*JSON-RPC*
```
```json
200 OK
{
"result": {
"status": "success",
@@ -166,9 +167,10 @@ An example of a successful response:
*Commandline*
```
```json
Loading: "/etc/rippled.cfg"
Connecting to 127.0.0.1:5005
{
"result" : {
"status" : "success",

View File

@@ -15,7 +15,7 @@
*WebSocket*
```
```json
{
"id":"sign_for_example",
"command":"sign_for",
@@ -40,8 +40,7 @@
*JSON-RPC*
```
POST http://localhost:5005/
```json
{
"method":"sign_for",
"params":[{
@@ -67,7 +66,7 @@ POST http://localhost:5005/
*コマンドライン*
```
```sh
#Syntax: rippled sign_for <signer_address> <signer_secret> [offline]
rippled sign_for rsA2LpzuawewSBQXkiju3YQTMzW13pAAdW s████████████████████████████ '{
"TransactionType":"TrustSet",
@@ -111,7 +110,7 @@ rippled sign_for rsA2LpzuawewSBQXkiju3YQTMzW13pAAdW s█████████
*WebSocket*
```
```json
{
"id":"sign_for_example",
"status":"success",
@@ -182,9 +181,10 @@ rippled sign_for rsA2LpzuawewSBQXkiju3YQTMzW13pAAdW s█████████
*コマンドライン*
```
```json
Loading:"/etc/rippled.cfg"
Connecting to 127.0.0.1:5005
{
"result" :{
"status" :"success",

View File

@@ -15,7 +15,7 @@ An example of the request format:
*WebSocket*
```
```json
{
"id": "sign_for_example",
"command": "sign_for",
@@ -40,8 +40,7 @@ An example of the request format:
*JSON-RPC*
```
POST http://localhost:5005/
```json
{
"method": "sign_for",
"params": [{
@@ -67,7 +66,7 @@ POST http://localhost:5005/
*Commandline*
```
```sh
#Syntax: rippled sign_for <signer_address> <signer_secret> [offline]
rippled sign_for rsA2LpzuawewSBQXkiju3YQTMzW13pAAdW s████████████████████████████ '{
"TransactionType": "TrustSet",
@@ -111,7 +110,7 @@ An example of a successful response:
*WebSocket*
```
```json
{
"id": "sign_for_example",
"status": "success",
@@ -147,8 +146,9 @@ An example of a successful response:
*JSON-RPC*
```
```json
200 OK
{
"result" : {
"status" : "success",
@@ -182,9 +182,10 @@ An example of a successful response:
*Commandline*
```
```json
Loading: "/etc/rippled.cfg"
Connecting to 127.0.0.1:5005
{
"result" : {
"status" : "success",

View File

@@ -25,7 +25,7 @@
*WebSocket*
```
```json
{
"id": 3,
"command": "submit",
@@ -35,7 +35,7 @@
*JSON-RPC*
```
```json
{
"method": "submit",
"params": [
@@ -48,7 +48,7 @@
*コマンドライン*
```
```sh
#Syntax: submit tx_blob
submit 1200002280000000240000000361D4838D7EA4C6800000000000000000000000000055534400000000004B4E9C06F24296074F7BC48F92A97916C6DC5EA968400000000000000A732103AB40A0490F9B7ED8DF29D246BF2D6269820A0EE7742ACDD457BEA7C7D0931EDB74473045022100D184EB4AE5956FF600E7536EE459345C7BBCF097A84CC61A93B9AF7197EDB98702201CEA8009B7BEEBAA2AACC0359B41C427C1C5B550A4CA4B80CF2174AF2D6D5DCE81144B4E9C06F24296074F7BC48F92A97916C6DC5EA983143E9D4A2B8AA0780F682D136F7A56D6724EF53754
```
@@ -94,7 +94,7 @@ submit 1200002280000000240000000361D4838D7EA4C6800000000000000000000000000055534
*WebSocket*
```
```json
{
"id": 2,
"command": "submit",
@@ -116,7 +116,7 @@ submit 1200002280000000240000000361D4838D7EA4C6800000000000000000000000000055534
*JSON-RPC*
```
```json
{
"method": "submit",
"params": [
@@ -141,7 +141,7 @@ submit 1200002280000000240000000361D4838D7EA4C6800000000000000000000000000055534
*コマンドライン*
```
```sh
#Syntax: submit secret json [offline]
rippled submit s████████████████████████████ '{"Account": "rf1BiGeXwwQoi8Z2ueFYTEXSwuJYfV2Jpn", "Amount": { "currency": "USD", "issuer": "rf1BiGeXwwQoi8Z2ueFYTEXSwuJYfV2Jpn", "value": "1" }, "Destination": "ra5nK24KXen9AHvsdFTKHSANinZseWnPcX", "TransactionType": "Payment", "Fee": "10000"}'
```
@@ -158,7 +158,7 @@ rippled submit s█████████████████████
*WebSocket*
```
```json
{
"id": 1,
"status": "success",
@@ -190,7 +190,7 @@ rippled submit s█████████████████████
*JSON-RPC*
```
```json
{
"result": {
"engine_result": "tesSUCCESS",
@@ -220,9 +220,10 @@ rippled submit s█████████████████████
*コマンドライン*
```
```json
Loading: "/etc/rippled.cfg"
Connecting to 127.0.0.1:5005
{
"result" : {
"engine_result" : "tesSUCCESS",

View File

@@ -25,7 +25,7 @@ A submit-only request includes the following parameters:
*WebSocket*
```
```json
{
"id": 3,
"command": "submit",
@@ -35,7 +35,7 @@ A submit-only request includes the following parameters:
*JSON-RPC*
```
```json
{
"method": "submit",
"params": [
@@ -48,7 +48,7 @@ A submit-only request includes the following parameters:
*Commandline*
```
```sh
#Syntax: submit tx_blob
submit 1200002280000000240000000361D4838D7EA4C6800000000000000000000000000055534400000000004B4E9C06F24296074F7BC48F92A97916C6DC5EA968400000000000000A732103AB40A0490F9B7ED8DF29D246BF2D6269820A0EE7742ACDD457BEA7C7D0931EDB74473045022100D184EB4AE5956FF600E7536EE459345C7BBCF097A84CC61A93B9AF7197EDB98702201CEA8009B7BEEBAA2AACC0359B41C427C1C5B550A4CA4B80CF2174AF2D6D5DCE81144B4E9C06F24296074F7BC48F92A97916C6DC5EA983143E9D4A2B8AA0780F682D136F7A56D6724EF53754
```
@@ -94,7 +94,7 @@ An example of the request format:
*WebSocket*
```
```json
{
"id": 2,
"command": "submit",
@@ -116,7 +116,7 @@ An example of the request format:
*JSON-RPC*
```
```json
{
"method": "submit",
"params": [
@@ -141,7 +141,7 @@ An example of the request format:
*Commandline*
```
```sh
#Syntax: submit secret json [offline]
rippled submit s████████████████████████████ '{"Account": "rf1BiGeXwwQoi8Z2ueFYTEXSwuJYfV2Jpn", "Amount": { "currency": "USD", "issuer": "rf1BiGeXwwQoi8Z2ueFYTEXSwuJYfV2Jpn", "value": "1" }, "Destination": "ra5nK24KXen9AHvsdFTKHSANinZseWnPcX", "TransactionType": "Payment", "Fee": "10000"}'
```

View File

@@ -12,9 +12,9 @@
*WebSocket*
```
```json
{
"id": "submit_multisigned_example"
"id": "submit_multisigned_example",
"command": "submit_multisigned",
"tx_json": {
"Account": "rEuLyBCvcw4CFmzv8RepSiAoNgF8tTGJQC",
@@ -48,7 +48,7 @@
*JSON-RPC*
```
```json
{
"method": "submit_multisigned",
"params": [
@@ -90,7 +90,7 @@
*コマンドライン*
```
```sh
#Syntax: submit_multisigned <tx_json>
rippled submit_multisigned '{
"Account": "rEuLyBCvcw4CFmzv8RepSiAoNgF8tTGJQC",
@@ -141,7 +141,7 @@ rippled submit_multisigned '{
*WebSocket*
```
```json
{
"id": "submit_multisigned_example",
"status": "success",
@@ -187,8 +187,9 @@ rippled submit_multisigned '{
*JSON-RPC*
```
```json
200 OK
{
"result": {
"engine_result": "tesSUCCESS",

View File

@@ -12,7 +12,7 @@ An example of the request format:
*WebSocket*
```
```json
{
"id": "submit_multisigned_example",
"command": "submit_multisigned",
@@ -48,7 +48,7 @@ An example of the request format:
*JSON-RPC*
```
```json
{
"method": "submit_multisigned",
"params": [
@@ -90,7 +90,7 @@ An example of the request format:
*Commandline*
```
```sh
#Syntax: submit_multisigned <tx_json>
rippled submit_multisigned '{
"Account": "rEuLyBCvcw4CFmzv8RepSiAoNgF8tTGJQC",
@@ -141,7 +141,7 @@ An example of a successful response:
*WebSocket*
```
```json
{
"id": "submit_multisigned_example",
"status": "success",
@@ -187,8 +187,9 @@ An example of a successful response:
*JSON-RPC*
```
```json
200 OK
{
"result": {
"engine_result": "tesSUCCESS",

View File

@@ -11,7 +11,7 @@
*WebSocket*
```
```json
{
"id": 4,
"command": "transaction_entry",
@@ -22,7 +22,7 @@
*JSON-RPC*
```
```json
{
"method": "transaction_entry",
"params": [
@@ -36,7 +36,7 @@
*コマンドライン*
```
```sh
#Syntax: transaction_entry transaction_hash ledger_index|ledger_hash
rippled transaction_entry E08D6E9754025BA2534A78707605E0601F03ACE063687A0CA1BDDACFCD1698C7 348734
```
@@ -63,7 +63,7 @@ rippled transaction_entry E08D6E9754025BA2534A78707605E0601F03ACE063687A0CA1BDDA
*WebSocket*
```
```json
{
"id": 4,
"result": {

View File

@@ -11,7 +11,7 @@ An example of the request format:
*WebSocket*
```
```json
{
"id": 4,
"command": "transaction_entry",
@@ -22,7 +22,7 @@ An example of the request format:
*JSON-RPC*
```
```json
{
"method": "transaction_entry",
"params": [
@@ -36,7 +36,7 @@ An example of the request format:
*Commandline*
```
```sh
#Syntax: transaction_entry transaction_hash ledger_index|ledger_hash
rippled transaction_entry C53ECF838647FA5A4C780377025FEC7999AB4182590510CA461444B207AB74A9 56865245
```

View File

@@ -11,7 +11,7 @@
*WebSocket*
```
```json
{
"id": 1,
"command": "tx",
@@ -21,7 +21,7 @@
```
*JSON-RPC*
```
```json
{
"method": "tx",
"params": [
@@ -34,7 +34,7 @@
```
*コマンドライン*
```
```sh
#Syntax: tx transaction [binary]
rippled tx E08D6E9754025BA2534A78707605E0601F03ACE063687A0CA1BDDACFCD1698C7 false
```
@@ -58,7 +58,7 @@ rippled tx E08D6E9754025BA2534A78707605E0601F03ACE063687A0CA1BDDACFCD1698C7 fals
*WebSocket*
```
```json
{
"id": 1,
"result": {

View File

@@ -12,7 +12,7 @@
*WebSocket*
```
```json
{
"id": 5,
"command": "tx_history",
@@ -22,7 +22,7 @@
*JSON-RPC*
```
```json
{
"method": "tx_history",
"params": [
@@ -35,7 +35,7 @@
*コマンドライン*
```
```sh
#Syntax: tx_history [start]
rippled tx_history 0
```
@@ -58,7 +58,7 @@ rippled tx_history 0
*WebSocket*
```
```json
{
"id": 2,
"status": "success",
@@ -511,8 +511,9 @@ rippled tx_history 0
*JSON-RPC*
```
```json
200 OK
{
"result": {
"index": 0,

View File

@@ -12,7 +12,7 @@ An example of the request format:
*WebSocket*
```
```json
{
"id": 5,
"command": "tx_history",
@@ -22,7 +22,7 @@ An example of the request format:
*JSON-RPC*
```
```json
{
"method": "tx_history",
"params": [
@@ -35,7 +35,7 @@ An example of the request format:
*Commandline*
```
```sh
#Syntax: tx_history [start]
rippled tx_history 0
```
@@ -58,7 +58,7 @@ An example of a successful response:
*WebSocket*
```
```json
{
"id": 2,
"status": "success",
@@ -511,8 +511,9 @@ An example of a successful response:
*JSON-RPC*
```
```json
200 OK
{
"result": {
"index": 0,

View File

@@ -9,7 +9,7 @@
*コマンドライン*
```
```sh
# Syntax: json method json_stanza
rippled -q json ledger_closed '{}'
```
@@ -24,7 +24,7 @@ rippled -q json ledger_closed '{}'
*WebSocket*
```
```json
{
"result" :{
"ledger_hash" :"8047C3ECF1FA66326C1E57694F6814A1C32867C04D3D68A851367EE2F89BBEF3",

View File

@@ -9,7 +9,7 @@ An example of the request format:
*Commandline*
```
```sh
# Syntax: json method json_stanza
rippled -q json ledger_closed '{}'
```
@@ -24,7 +24,7 @@ An example of a successful response:
*WebSocket*
```
```json
{
"result" : {
"ledger_hash" : "8047C3ECF1FA66326C1E57694F6814A1C32867C04D3D68A851367EE2F89BBEF3",

View File

@@ -10,7 +10,7 @@
*WebSocket*
```
```json
{
"id":1,
"command":"ping"
@@ -19,7 +19,7 @@
*JSON-RPC*
```
```json
{
"method":"ping",
"params":[
@@ -30,7 +30,7 @@
*コマンドライン*
```
```sh
#Syntax: ping
rippled ping
```
@@ -49,7 +49,7 @@ rippled ping
*WebSocket*
```
```json
{
"id":1,
"result":{},
@@ -60,8 +60,9 @@ rippled ping
*JSON-RPC*
```
```json
200 OK
{
"result":{
"status":"success"

View File

@@ -10,7 +10,7 @@ An example of the request format:
*WebSocket*
```
```json
{
"id": 1,
"command": "ping"
@@ -19,7 +19,7 @@ An example of the request format:
*JSON-RPC*
```
```json
{
"method": "ping",
"params": [
@@ -30,7 +30,7 @@ An example of the request format:
*Commandline*
```
```sh
#Syntax: ping
rippled ping
```
@@ -49,7 +49,7 @@ An example of a successful response:
*WebSocket*
```
```json
{
"id": 1,
"result": {},
@@ -60,8 +60,9 @@ An example of a successful response:
*JSON-RPC*
```
```json
200 OK
{
"result": {
"status": "success"

View File

@@ -10,7 +10,7 @@
*WebSocket*
```
```json
{
"id":1,
"command":"random"
@@ -19,7 +19,7 @@
*JSON-RPC*
```
```json
{
"method":"random",
"params":[
@@ -30,7 +30,7 @@
*コマンドライン*
```
```sh
#Syntax: random
rippled random
```
@@ -47,7 +47,7 @@ rippled random
*WebSocket*
```
```json
{
"id":1,
"result":{
@@ -60,8 +60,9 @@ rippled random
*JSON-RPC*
```
```json
200 OK
{
"result":{
"random":"4E57146AA47BC6E88FDFE8BAA235B900126C916B6CC521550996F590487B837A",

View File

@@ -10,7 +10,7 @@ An example of the request format:
*WebSocket*
```
```json
{
"id": 1,
"command": "random"
@@ -19,7 +19,7 @@ An example of the request format:
*JSON-RPC*
```
```json
{
"method": "random",
"params": [
@@ -30,7 +30,7 @@ An example of the request format:
*Commandline*
```
```sh
#Syntax: random
rippled random
```
@@ -47,7 +47,7 @@ An example of a successful response:
*WebSocket*
```
```json
{
"id": 1,
"result": {
@@ -60,8 +60,9 @@ An example of a successful response:
*JSON-RPC*
```
```json
200 OK
{
"result": {
"random": "4E57146AA47BC6E88FDFE8BAA235B900126C916B6CC521550996F590487B837A",