diff --git a/content/references/rippled-api/admin-rippled-methods/key-generation-methods/validation_create.ja.md b/content/references/rippled-api/admin-rippled-methods/key-generation-methods/validation_create.ja.md index d4d6cf2148..4b7b777aae 100644 --- a/content/references/rippled-api/admin-rippled-methods/key-generation-methods/validation_create.ja.md +++ b/content/references/rippled-api/admin-rippled-methods/key-generation-methods/validation_create.ja.md @@ -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", diff --git a/content/references/rippled-api/admin-rippled-methods/key-generation-methods/validation_create.md b/content/references/rippled-api/admin-rippled-methods/key-generation-methods/validation_create.md index 7db430d403..07dce4be8d 100644 --- a/content/references/rippled-api/admin-rippled-methods/key-generation-methods/validation_create.md +++ b/content/references/rippled-api/admin-rippled-methods/key-generation-methods/validation_create.md @@ -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", diff --git a/content/references/rippled-api/admin-rippled-methods/key-generation-methods/wallet_propose.ja.md b/content/references/rippled-api/admin-rippled-methods/key-generation-methods/wallet_propose.ja.md index f8de804cf4..39ed522076 100644 --- a/content/references/rippled-api/admin-rippled-methods/key-generation-methods/wallet_propose.ja.md +++ b/content/references/rippled-api/admin-rippled-methods/key-generation-methods/wallet_propose.ja.md @@ -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", diff --git a/content/references/rippled-api/admin-rippled-methods/key-generation-methods/wallet_propose.md b/content/references/rippled-api/admin-rippled-methods/key-generation-methods/wallet_propose.md index f1caded502..f26f54b468 100644 --- a/content/references/rippled-api/admin-rippled-methods/key-generation-methods/wallet_propose.md +++ b/content/references/rippled-api/admin-rippled-methods/key-generation-methods/wallet_propose.md @@ -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", diff --git a/content/references/rippled-api/admin-rippled-methods/logging-and-data-management-methods/can_delete.ja.md b/content/references/rippled-api/admin-rippled-methods/logging-and-data-management-methods/can_delete.ja.md index 03dfa80ee8..5241bd55b7 100644 --- a/content/references/rippled-api/admin-rippled-methods/logging-and-data-management-methods/can_delete.ja.md +++ b/content/references/rippled-api/admin-rippled-methods/logging-and-data-management-methods/can_delete.ja.md @@ -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 [||now|always|never] +```sh +#Syntax: can_delete [||now|always|never] rippled can_delete 11320417 ``` diff --git a/content/references/rippled-api/admin-rippled-methods/logging-and-data-management-methods/can_delete.md b/content/references/rippled-api/admin-rippled-methods/logging-and-data-management-methods/can_delete.md index ccf2e39bb1..00569f260c 100644 --- a/content/references/rippled-api/admin-rippled-methods/logging-and-data-management-methods/can_delete.md +++ b/content/references/rippled-api/admin-rippled-methods/logging-and-data-management-methods/can_delete.md @@ -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 [||now|always|never] +```sh +#Syntax: can_delete [||now|always|never] rippled can_delete 11320417 ``` diff --git a/content/references/rippled-api/admin-rippled-methods/logging-and-data-management-methods/ledger_cleaner.ja.md b/content/references/rippled-api/admin-rippled-methods/logging-and-data-management-methods/ledger_cleaner.ja.md index 11e415e50c..25e7c19165 100644 --- a/content/references/rippled-api/admin-rippled-methods/logging-and-data-management-methods/ledger_cleaner.ja.md +++ b/content/references/rippled-api/admin-rippled-methods/logging-and-data-management-methods/ledger_cleaner.ja.md @@ -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", diff --git a/content/references/rippled-api/admin-rippled-methods/logging-and-data-management-methods/ledger_cleaner.md b/content/references/rippled-api/admin-rippled-methods/logging-and-data-management-methods/ledger_cleaner.md index c6778791f7..bfdf172abd 100644 --- a/content/references/rippled-api/admin-rippled-methods/logging-and-data-management-methods/ledger_cleaner.md +++ b/content/references/rippled-api/admin-rippled-methods/logging-and-data-management-methods/ledger_cleaner.md @@ -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", diff --git a/content/references/rippled-api/admin-rippled-methods/logging-and-data-management-methods/ledger_request.ja.md b/content/references/rippled-api/admin-rippled-methods/logging-and-data-management-methods/ledger_request.ja.md index 1bf2f0b812..3234ef998b 100644 --- a/content/references/rippled-api/admin-rippled-methods/logging-and-data-management-methods/ledger_request.ja.md +++ b/content/references/rippled-api/admin-rippled-methods/logging-and-data-management-methods/ledger_request.ja.md @@ -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" : { diff --git a/content/references/rippled-api/admin-rippled-methods/logging-and-data-management-methods/ledger_request.md b/content/references/rippled-api/admin-rippled-methods/logging-and-data-management-methods/ledger_request.md index 68274c9ee8..672b163649 100644 --- a/content/references/rippled-api/admin-rippled-methods/logging-and-data-management-methods/ledger_request.md +++ b/content/references/rippled-api/admin-rippled-methods/logging-and-data-management-methods/ledger_request.md @@ -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" : { diff --git a/content/references/rippled-api/admin-rippled-methods/logging-and-data-management-methods/log_level.ja.md b/content/references/rippled-api/admin-rippled-methods/logging-and-data-management-methods/log_level.ja.md index 589f20bdc6..16e6e93e0d 100644 --- a/content/references/rippled-api/admin-rippled-methods/logging-and-data-management-methods/log_level.ja.md +++ b/content/references/rippled-api/admin-rippled-methods/logging-and-data-management-methods/log_level.ja.md @@ -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" : { diff --git a/content/references/rippled-api/admin-rippled-methods/logging-and-data-management-methods/log_level.md b/content/references/rippled-api/admin-rippled-methods/logging-and-data-management-methods/log_level.md index 716687c319..a670adfa72 100644 --- a/content/references/rippled-api/admin-rippled-methods/logging-and-data-management-methods/log_level.md +++ b/content/references/rippled-api/admin-rippled-methods/logging-and-data-management-methods/log_level.md @@ -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" : { diff --git a/content/references/rippled-api/admin-rippled-methods/logging-and-data-management-methods/logrotate.ja.md b/content/references/rippled-api/admin-rippled-methods/logging-and-data-management-methods/logrotate.ja.md index 2c6918c41e..1f258bea33 100644 --- a/content/references/rippled-api/admin-rippled-methods/logging-and-data-management-methods/logrotate.ja.md +++ b/content/references/rippled-api/admin-rippled-methods/logging-and-data-management-methods/logrotate.ja.md @@ -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.", diff --git a/content/references/rippled-api/admin-rippled-methods/logging-and-data-management-methods/logrotate.md b/content/references/rippled-api/admin-rippled-methods/logging-and-data-management-methods/logrotate.md index f77e4abd97..618bffe689 100644 --- a/content/references/rippled-api/admin-rippled-methods/logging-and-data-management-methods/logrotate.md +++ b/content/references/rippled-api/admin-rippled-methods/logging-and-data-management-methods/logrotate.md @@ -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.", diff --git a/content/references/rippled-api/admin-rippled-methods/peer-management-methods/connect.ja.md b/content/references/rippled-api/admin-rippled-methods/peer-management-methods/connect.ja.md index c4d049ce86..8e9466ccdc 100644 --- a/content/references/rippled-api/admin-rippled-methods/peer-management-methods/connect.ja.md +++ b/content/references/rippled-api/admin-rippled-methods/peer-management-methods/connect.ja.md @@ -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", diff --git a/content/references/rippled-api/admin-rippled-methods/peer-management-methods/connect.md b/content/references/rippled-api/admin-rippled-methods/peer-management-methods/connect.md index 9e4a589406..55d9fea027 100644 --- a/content/references/rippled-api/admin-rippled-methods/peer-management-methods/connect.md +++ b/content/references/rippled-api/admin-rippled-methods/peer-management-methods/connect.md @@ -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", diff --git a/content/references/rippled-api/admin-rippled-methods/peer-management-methods/peers.ja.md b/content/references/rippled-api/admin-rippled-methods/peer-management-methods/peers.ja.md index 86b64b4247..8c60476701 100644 --- a/content/references/rippled-api/admin-rippled-methods/peer-management-methods/peers.ja.md +++ b/content/references/rippled-api/admin-rippled-methods/peer-management-methods/peers.ja.md @@ -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 {% include '_snippets/rippled-api-links.md' %} {% include '_snippets/tx-type-links.md' %} -{% include '_snippets/rippled_versions.md' %} \ No newline at end of file +{% include '_snippets/rippled_versions.md' %} diff --git a/content/references/rippled-api/admin-rippled-methods/peer-management-methods/peers.md b/content/references/rippled-api/admin-rippled-methods/peer-management-methods/peers.md index 96902606bd..7d461209b4 100644 --- a/content/references/rippled-api/admin-rippled-methods/peer-management-methods/peers.md +++ b/content/references/rippled-api/admin-rippled-methods/peer-management-methods/peers.md @@ -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" : {}, diff --git a/content/references/rippled-api/admin-rippled-methods/server-control-methods/ledger_accept.ja.md b/content/references/rippled-api/admin-rippled-methods/server-control-methods/ledger_accept.ja.md index e00f5d125f..d75cf4fef7 100644 --- a/content/references/rippled-api/admin-rippled-methods/server-control-methods/ledger_accept.ja.md +++ b/content/references/rippled-api/admin-rippled-methods/server-control-methods/ledger_accept.ja.md @@ -13,7 +13,7 @@ *WebSocket* -``` +```json { "id": "Accept my ledger!", "command": "ledger_accept" @@ -22,7 +22,7 @@ *コマンドライン* -``` +```sh #Syntax: ledger_accept rippled ledger_accept ``` diff --git a/content/references/rippled-api/admin-rippled-methods/server-control-methods/ledger_accept.md b/content/references/rippled-api/admin-rippled-methods/server-control-methods/ledger_accept.md index 96ba4e44d9..c5794d3a58 100644 --- a/content/references/rippled-api/admin-rippled-methods/server-control-methods/ledger_accept.md +++ b/content/references/rippled-api/admin-rippled-methods/server-control-methods/ledger_accept.md @@ -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 ``` diff --git a/content/references/rippled-api/admin-rippled-methods/server-control-methods/stop.ja.md b/content/references/rippled-api/admin-rippled-methods/server-control-methods/stop.ja.md index 96e5f6b794..ab8f8ab069 100644 --- a/content/references/rippled-api/admin-rippled-methods/server-control-methods/stop.ja.md +++ b/content/references/rippled-api/admin-rippled-methods/server-control-methods/stop.ja.md @@ -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", diff --git a/content/references/rippled-api/admin-rippled-methods/server-control-methods/stop.md b/content/references/rippled-api/admin-rippled-methods/server-control-methods/stop.md index 746c8cb5c0..b260763ba5 100644 --- a/content/references/rippled-api/admin-rippled-methods/server-control-methods/stop.md +++ b/content/references/rippled-api/admin-rippled-methods/server-control-methods/stop.md @@ -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", diff --git a/content/references/rippled-api/admin-rippled-methods/server-control-methods/validation_seed.ja.md b/content/references/rippled-api/admin-rippled-methods/server-control-methods/validation_seed.ja.md index c20b6df166..4623b2dd4a 100644 --- a/content/references/rippled-api/admin-rippled-methods/server-control-methods/validation_seed.ja.md +++ b/content/references/rippled-api/admin-rippled-methods/server-control-methods/validation_seed.ja.md @@ -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", diff --git a/content/references/rippled-api/admin-rippled-methods/server-control-methods/validation_seed.md b/content/references/rippled-api/admin-rippled-methods/server-control-methods/validation_seed.md index 3b5f3499cb..449c69b189 100644 --- a/content/references/rippled-api/admin-rippled-methods/server-control-methods/validation_seed.md +++ b/content/references/rippled-api/admin-rippled-methods/server-control-methods/validation_seed.md @@ -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", diff --git a/content/references/rippled-api/admin-rippled-methods/status-and-debugging-methods/consensus_info.ja.md b/content/references/rippled-api/admin-rippled-methods/status-and-debugging-methods/consensus_info.ja.md index 97e5e15bd1..f4c6290940 100644 --- a/content/references/rippled-api/admin-rippled-methods/status-and-debugging-methods/consensus_info.ja.md +++ b/content/references/rippled-api/admin-rippled-methods/status-and-debugging-methods/consensus_info.ja.md @@ -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" : { diff --git a/content/references/rippled-api/admin-rippled-methods/status-and-debugging-methods/consensus_info.md b/content/references/rippled-api/admin-rippled-methods/status-and-debugging-methods/consensus_info.md index 6c2f8d3a70..7071a3f32a 100644 --- a/content/references/rippled-api/admin-rippled-methods/status-and-debugging-methods/consensus_info.md +++ b/content/references/rippled-api/admin-rippled-methods/status-and-debugging-methods/consensus_info.md @@ -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" : { diff --git a/content/references/rippled-api/admin-rippled-methods/status-and-debugging-methods/feature.ja.md b/content/references/rippled-api/admin-rippled-methods/status-and-debugging-methods/feature.ja.md index e751b16235..b040fe67a6 100644 --- a/content/references/rippled-api/admin-rippled-methods/status-and-debugging-methods/feature.ja.md +++ b/content/references/rippled-api/admin-rippled-methods/status-and-debugging-methods/feature.ja.md @@ -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 [ [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": { diff --git a/content/references/rippled-api/admin-rippled-methods/status-and-debugging-methods/feature.md b/content/references/rippled-api/admin-rippled-methods/status-and-debugging-methods/feature.md index 1492ec3299..a3eb3b24f9 100644 --- a/content/references/rippled-api/admin-rippled-methods/status-and-debugging-methods/feature.md +++ b/content/references/rippled-api/admin-rippled-methods/status-and-debugging-methods/feature.md @@ -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 [ [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": { diff --git a/content/references/rippled-api/admin-rippled-methods/status-and-debugging-methods/fetch_info.ja.md b/content/references/rippled-api/admin-rippled-methods/status-and-debugging-methods/fetch_info.ja.md index 815bb6c0c0..061f708a6e 100644 --- a/content/references/rippled-api/admin-rippled-methods/status-and-debugging-methods/fetch_info.ja.md +++ b/content/references/rippled-api/admin-rippled-methods/status-and-debugging-methods/fetch_info.ja.md @@ -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" : { diff --git a/content/references/rippled-api/admin-rippled-methods/status-and-debugging-methods/fetch_info.md b/content/references/rippled-api/admin-rippled-methods/status-and-debugging-methods/fetch_info.md index 17b56c69f8..fcf9acdaeb 100644 --- a/content/references/rippled-api/admin-rippled-methods/status-and-debugging-methods/fetch_info.md +++ b/content/references/rippled-api/admin-rippled-methods/status-and-debugging-methods/fetch_info.md @@ -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" : { diff --git a/content/references/rippled-api/admin-rippled-methods/status-and-debugging-methods/get_counts.ja.md b/content/references/rippled-api/admin-rippled-methods/status-and-debugging-methods/get_counts.ja.md index 1d68d7eeb9..12b1c0d01e 100644 --- a/content/references/rippled-api/admin-rippled-methods/status-and-debugging-methods/get_counts.ja.md +++ b/content/references/rippled-api/admin-rippled-methods/status-and-debugging-methods/get_counts.ja.md @@ -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 {% include '_snippets/rippled-api-links.md' %} {% include '_snippets/tx-type-links.md' %} -{% include '_snippets/rippled_versions.md' %} \ No newline at end of file +{% include '_snippets/rippled_versions.md' %} diff --git a/content/references/rippled-api/admin-rippled-methods/status-and-debugging-methods/get_counts.md b/content/references/rippled-api/admin-rippled-methods/status-and-debugging-methods/get_counts.md index 15c6687fc1..beda3daba2 100644 --- a/content/references/rippled-api/admin-rippled-methods/status-and-debugging-methods/get_counts.md +++ b/content/references/rippled-api/admin-rippled-methods/status-and-debugging-methods/get_counts.md @@ -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, diff --git a/content/references/rippled-api/admin-rippled-methods/status-and-debugging-methods/print.ja.md b/content/references/rippled-api/admin-rippled-methods/status-and-debugging-methods/print.ja.md index 91523a747d..543cff6fc9 100644 --- a/content/references/rippled-api/admin-rippled-methods/status-and-debugging-methods/print.ja.md +++ b/content/references/rippled-api/admin-rippled-methods/status-and-debugging-methods/print.ja.md @@ -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 {% include '_snippets/rippled-api-links.md' %} {% include '_snippets/tx-type-links.md' %} -{% include '_snippets/rippled_versions.md' %} \ No newline at end of file +{% include '_snippets/rippled_versions.md' %} diff --git a/content/references/rippled-api/admin-rippled-methods/status-and-debugging-methods/print.md b/content/references/rippled-api/admin-rippled-methods/status-and-debugging-methods/print.md index c9465edb08..fde34334b6 100644 --- a/content/references/rippled-api/admin-rippled-methods/status-and-debugging-methods/print.md +++ b/content/references/rippled-api/admin-rippled-methods/status-and-debugging-methods/print.md @@ -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" : { diff --git a/content/references/rippled-api/admin-rippled-methods/status-and-debugging-methods/validator_list_sites.ja.md b/content/references/rippled-api/admin-rippled-methods/status-and-debugging-methods/validator_list_sites.ja.md index b6cc8972fd..608059134d 100644 --- a/content/references/rippled-api/admin-rippled-methods/status-and-debugging-methods/validator_list_sites.ja.md +++ b/content/references/rippled-api/admin-rippled-methods/status-and-debugging-methods/validator_list_sites.ja.md @@ -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 {% include '_snippets/rippled-api-links.md' %} {% include '_snippets/tx-type-links.md' %} -{% include '_snippets/rippled_versions.md' %} \ No newline at end of file +{% include '_snippets/rippled_versions.md' %} diff --git a/content/references/rippled-api/admin-rippled-methods/status-and-debugging-methods/validator_list_sites.md b/content/references/rippled-api/admin-rippled-methods/status-and-debugging-methods/validator_list_sites.md index b4e76ce85f..0f0bc195f9 100644 --- a/content/references/rippled-api/admin-rippled-methods/status-and-debugging-methods/validator_list_sites.md +++ b/content/references/rippled-api/admin-rippled-methods/status-and-debugging-methods/validator_list_sites.md @@ -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", diff --git a/content/references/rippled-api/admin-rippled-methods/status-and-debugging-methods/validators.ja.md b/content/references/rippled-api/admin-rippled-methods/status-and-debugging-methods/validators.ja.md index 3de427a57f..d95bad1d96 100644 --- a/content/references/rippled-api/admin-rippled-methods/status-and-debugging-methods/validators.ja.md +++ b/content/references/rippled-api/admin-rippled-methods/status-and-debugging-methods/validators.ja.md @@ -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 {% include '_snippets/rippled-api-links.md' %} {% include '_snippets/tx-type-links.md' %} -{% include '_snippets/rippled_versions.md' %} \ No newline at end of file +{% include '_snippets/rippled_versions.md' %} diff --git a/content/references/rippled-api/admin-rippled-methods/status-and-debugging-methods/validators.md b/content/references/rippled-api/admin-rippled-methods/status-and-debugging-methods/validators.md index c5cefa6d97..68e656a9f3 100644 --- a/content/references/rippled-api/admin-rippled-methods/status-and-debugging-methods/validators.md +++ b/content/references/rippled-api/admin-rippled-methods/status-and-debugging-methods/validators.md @@ -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": [], diff --git a/content/references/rippled-api/public-rippled-methods/account-methods/account_offers.ja.md b/content/references/rippled-api/public-rippled-methods/account-methods/account_offers.ja.md index 3a788ad935..84c8bf21ed 100644 --- a/content/references/rippled-api/public-rippled-methods/account-methods/account_offers.ja.md +++ b/content/references/rippled-api/public-rippled-methods/account-methods/account_offers.ja.md @@ -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": { diff --git a/content/references/rippled-api/public-rippled-methods/account-methods/account_tx.ja.md b/content/references/rippled-api/public-rippled-methods/account-methods/account_tx.ja.md index 4c70f0cdac..10456ca1a2 100644 --- a/content/references/rippled-api/public-rippled-methods/account-methods/account_tx.ja.md +++ b/content/references/rippled-api/public-rippled-methods/account-methods/account_tx.ja.md @@ -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": { diff --git a/content/references/rippled-api/public-rippled-methods/account-methods/account_tx.md b/content/references/rippled-api/public-rippled-methods/account-methods/account_tx.md index 77acf8b15a..77589209d1 100644 --- a/content/references/rippled-api/public-rippled-methods/account-methods/account_tx.md +++ b/content/references/rippled-api/public-rippled-methods/account-methods/account_tx.md @@ -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 diff --git a/content/references/rippled-api/public-rippled-methods/account-methods/gateway_balances.ja.md b/content/references/rippled-api/public-rippled-methods/account-methods/gateway_balances.ja.md index 67d63a89ea..a4d96b9802 100644 --- a/content/references/rippled-api/public-rippled-methods/account-methods/gateway_balances.ja.md +++ b/content/references/rippled-api/public-rippled-methods/account-methods/gateway_balances.ja.md @@ -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": { diff --git a/content/references/rippled-api/public-rippled-methods/account-methods/gateway_balances.md b/content/references/rippled-api/public-rippled-methods/account-methods/gateway_balances.md index 21a6d540e1..de7bcdf18f 100644 --- a/content/references/rippled-api/public-rippled-methods/account-methods/gateway_balances.md +++ b/content/references/rippled-api/public-rippled-methods/account-methods/gateway_balances.md @@ -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": { diff --git a/content/references/rippled-api/public-rippled-methods/account-methods/noripple_check.ja.md b/content/references/rippled-api/public-rippled-methods/account-methods/noripple_check.ja.md index 00a6a96c93..b6ffd94604 100644 --- a/content/references/rippled-api/public-rippled-methods/account-methods/noripple_check.ja.md +++ b/content/references/rippled-api/public-rippled-methods/account-methods/noripple_check.ja.md @@ -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": { diff --git a/content/references/rippled-api/public-rippled-methods/ledger-methods/ledger.ja.md b/content/references/rippled-api/public-rippled-methods/ledger-methods/ledger.ja.md index 4d04ef2ffd..fc0329f73c 100644 --- a/content/references/rippled-api/public-rippled-methods/ledger-methods/ledger.ja.md +++ b/content/references/rippled-api/public-rippled-methods/ledger-methods/ledger.ja.md @@ -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":{ diff --git a/content/references/rippled-api/public-rippled-methods/ledger-methods/ledger_closed.ja.md b/content/references/rippled-api/public-rippled-methods/ledger-methods/ledger_closed.ja.md index 23c80ad617..68b439f666 100644 --- a/content/references/rippled-api/public-rippled-methods/ledger-methods/ledger_closed.ja.md +++ b/content/references/rippled-api/public-rippled-methods/ledger-methods/ledger_closed.ja.md @@ -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", diff --git a/content/references/rippled-api/public-rippled-methods/ledger-methods/ledger_closed.md b/content/references/rippled-api/public-rippled-methods/ledger-methods/ledger_closed.md index 0a7106f851..d72ef397ff 100644 --- a/content/references/rippled-api/public-rippled-methods/ledger-methods/ledger_closed.md +++ b/content/references/rippled-api/public-rippled-methods/ledger-methods/ledger_closed.md @@ -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", diff --git a/content/references/rippled-api/public-rippled-methods/ledger-methods/ledger_current.ja.md b/content/references/rippled-api/public-rippled-methods/ledger-methods/ledger_current.ja.md index 8aa992db99..ef19f3408a 100644 --- a/content/references/rippled-api/public-rippled-methods/ledger-methods/ledger_current.ja.md +++ b/content/references/rippled-api/public-rippled-methods/ledger-methods/ledger_current.ja.md @@ -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' %} \ No newline at end of file +{% include '_snippets/rippled-api-links.md' %} diff --git a/content/references/rippled-api/public-rippled-methods/ledger-methods/ledger_current.md b/content/references/rippled-api/public-rippled-methods/ledger-methods/ledger_current.md index f2e5572f46..e0ead381e8 100644 --- a/content/references/rippled-api/public-rippled-methods/ledger-methods/ledger_current.md +++ b/content/references/rippled-api/public-rippled-methods/ledger-methods/ledger_current.md @@ -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, diff --git a/content/references/rippled-api/public-rippled-methods/ledger-methods/ledger_data.ja.md b/content/references/rippled-api/public-rippled-methods/ledger-methods/ledger_data.ja.md index c322b366cd..6fe06fe525 100644 --- a/content/references/rippled-api/public-rippled-methods/ledger-methods/ledger_data.ja.md +++ b/content/references/rippled-api/public-rippled-methods/ledger-methods/ledger_data.ja.md @@ -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", diff --git a/content/references/rippled-api/public-rippled-methods/ledger-methods/ledger_data.md b/content/references/rippled-api/public-rippled-methods/ledger-methods/ledger_data.md index f450d5b266..c47c0be25c 100644 --- a/content/references/rippled-api/public-rippled-methods/ledger-methods/ledger_data.md +++ b/content/references/rippled-api/public-rippled-methods/ledger-methods/ledger_data.md @@ -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", diff --git a/content/references/rippled-api/public-rippled-methods/ledger-methods/ledger_entry.ja.md b/content/references/rippled-api/public-rippled-methods/ledger-methods/ledger_entry.ja.md index d52cae0dfd..39ec6d3846 100644 --- a/content/references/rippled-api/public-rippled-methods/ledger-methods/ledger_entry.ja.md +++ b/content/references/rippled-api/public-rippled-methods/ledger-methods/ledger_entry.ja.md @@ -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", diff --git a/content/references/rippled-api/public-rippled-methods/ledger-methods/ledger_entry.md b/content/references/rippled-api/public-rippled-methods/ledger-methods/ledger_entry.md index a7aa04d72c..e2b0bbda2e 100644 --- a/content/references/rippled-api/public-rippled-methods/ledger-methods/ledger_entry.md +++ b/content/references/rippled-api/public-rippled-methods/ledger-methods/ledger_entry.md @@ -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", diff --git a/content/references/rippled-api/public-rippled-methods/path-and-order-book-methods/book_offers.ja.md b/content/references/rippled-api/public-rippled-methods/path-and-order-book-methods/book_offers.ja.md index c1ab835810..63c964bc16 100644 --- a/content/references/rippled-api/public-rippled-methods/path-and-order-book-methods/book_offers.ja.md +++ b/content/references/rippled-api/public-rippled-methods/path-and-order-book-methods/book_offers.ja.md @@ -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, diff --git a/content/references/rippled-api/public-rippled-methods/path-and-order-book-methods/book_offers.md b/content/references/rippled-api/public-rippled-methods/path-and-order-book-methods/book_offers.md index 7defa8b809..e720aca065 100644 --- a/content/references/rippled-api/public-rippled-methods/path-and-order-book-methods/book_offers.md +++ b/content/references/rippled-api/public-rippled-methods/path-and-order-book-methods/book_offers.md @@ -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, diff --git a/content/references/rippled-api/public-rippled-methods/path-and-order-book-methods/path_find.ja.md b/content/references/rippled-api/public-rippled-methods/path-and-order-book-methods/path_find.ja.md index e3e322c7ce..ec94bc4660 100644 --- a/content/references/rippled-api/public-rippled-methods/path-and-order-book-methods/path_find.ja.md +++ b/content/references/rippled-api/public-rippled-methods/path-and-order-book-methods/path_find.ja.md @@ -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", diff --git a/content/references/rippled-api/public-rippled-methods/path-and-order-book-methods/path_find.md b/content/references/rippled-api/public-rippled-methods/path-and-order-book-methods/path_find.md index a15a9282df..40f447f32c 100644 --- a/content/references/rippled-api/public-rippled-methods/path-and-order-book-methods/path_find.md +++ b/content/references/rippled-api/public-rippled-methods/path-and-order-book-methods/path_find.md @@ -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", diff --git a/content/references/rippled-api/public-rippled-methods/path-and-order-book-methods/ripple_path_find.ja.md b/content/references/rippled-api/public-rippled-methods/path-and-order-book-methods/ripple_path_find.ja.md index 9cd01166f1..6a0019dfe9 100644 --- a/content/references/rippled-api/public-rippled-methods/path-and-order-book-methods/ripple_path_find.ja.md +++ b/content/references/rippled-api/public-rippled-methods/path-and-order-book-methods/ripple_path_find.ja.md @@ -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":[ diff --git a/content/references/rippled-api/public-rippled-methods/path-and-order-book-methods/ripple_path_find.md b/content/references/rippled-api/public-rippled-methods/path-and-order-book-methods/ripple_path_find.md index 9477118446..c5dfc1327a 100644 --- a/content/references/rippled-api/public-rippled-methods/path-and-order-book-methods/ripple_path_find.md +++ b/content/references/rippled-api/public-rippled-methods/path-and-order-book-methods/ripple_path_find.md @@ -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": [ diff --git a/content/references/rippled-api/public-rippled-methods/payment-channel-methods/channel_authorize.ja.md b/content/references/rippled-api/public-rippled-methods/payment-channel-methods/channel_authorize.ja.md index 849f78504b..d55323d09c 100644 --- a/content/references/rippled-api/public-rippled-methods/payment-channel-methods/channel_authorize.ja.md +++ b/content/references/rippled-api/public-rippled-methods/payment-channel-methods/channel_authorize.ja.md @@ -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 [] 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", diff --git a/content/references/rippled-api/public-rippled-methods/payment-channel-methods/channel_authorize.md b/content/references/rippled-api/public-rippled-methods/payment-channel-methods/channel_authorize.md index 626e62234d..7740d14ee0 100644 --- a/content/references/rippled-api/public-rippled-methods/payment-channel-methods/channel_authorize.md +++ b/content/references/rippled-api/public-rippled-methods/payment-channel-methods/channel_authorize.md @@ -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 [] 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", diff --git a/content/references/rippled-api/public-rippled-methods/payment-channel-methods/channel_verify.ja.md b/content/references/rippled-api/public-rippled-methods/payment-channel-methods/channel_verify.ja.md index 3a9d30ac81..35035e32a6 100644 --- a/content/references/rippled-api/public-rippled-methods/payment-channel-methods/channel_verify.ja.md +++ b/content/references/rippled-api/public-rippled-methods/payment-channel-methods/channel_verify.ja.md @@ -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 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, diff --git a/content/references/rippled-api/public-rippled-methods/payment-channel-methods/channel_verify.md b/content/references/rippled-api/public-rippled-methods/payment-channel-methods/channel_verify.md index a8e6171b5b..abbc289ec4 100644 --- a/content/references/rippled-api/public-rippled-methods/payment-channel-methods/channel_verify.md +++ b/content/references/rippled-api/public-rippled-methods/payment-channel-methods/channel_verify.md @@ -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 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, diff --git a/content/references/rippled-api/public-rippled-methods/server-info-methods/fee.ja.md b/content/references/rippled-api/public-rippled-methods/server-info-methods/fee.ja.md index ab7fed9cc3..e01c06b113 100644 --- a/content/references/rippled-api/public-rippled-methods/server-info-methods/fee.ja.md +++ b/content/references/rippled-api/public-rippled-methods/server-info-methods/fee.ja.md @@ -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", diff --git a/content/references/rippled-api/public-rippled-methods/server-info-methods/fee.md b/content/references/rippled-api/public-rippled-methods/server-info-methods/fee.md index 0d305b91df..92f73108c3 100644 --- a/content/references/rippled-api/public-rippled-methods/server-info-methods/fee.md +++ b/content/references/rippled-api/public-rippled-methods/server-info-methods/fee.md @@ -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", diff --git a/content/references/rippled-api/public-rippled-methods/server-info-methods/server_info.ja.md b/content/references/rippled-api/public-rippled-methods/server-info-methods/server_info.ja.md index 29597b58d9..1d04c45f88 100644 --- a/content/references/rippled-api/public-rippled-methods/server-info-methods/server_info.ja.md +++ b/content/references/rippled-api/public-rippled-methods/server-info-methods/server_info.ja.md @@ -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" : { diff --git a/content/references/rippled-api/public-rippled-methods/server-info-methods/server_info.md b/content/references/rippled-api/public-rippled-methods/server-info-methods/server_info.md index 5a69c7f832..994dd39b8c 100644 --- a/content/references/rippled-api/public-rippled-methods/server-info-methods/server_info.md +++ b/content/references/rippled-api/public-rippled-methods/server-info-methods/server_info.md @@ -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 ``` diff --git a/content/references/rippled-api/public-rippled-methods/server-info-methods/server_state.ja.md b/content/references/rippled-api/public-rippled-methods/server-info-methods/server_state.ja.md index 2ba1dad03c..d4c9df2285 100644 --- a/content/references/rippled-api/public-rippled-methods/server-info-methods/server_state.ja.md +++ b/content/references/rippled-api/public-rippled-methods/server-info-methods/server_state.ja.md @@ -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" : { diff --git a/content/references/rippled-api/public-rippled-methods/server-info-methods/server_state.md b/content/references/rippled-api/public-rippled-methods/server-info-methods/server_state.md index d0d8b0c8db..9988a0510c 100644 --- a/content/references/rippled-api/public-rippled-methods/server-info-methods/server_state.md +++ b/content/references/rippled-api/public-rippled-methods/server-info-methods/server_state.md @@ -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 ``` diff --git a/content/references/rippled-api/public-rippled-methods/subscription-methods/subscribe.ja.md b/content/references/rippled-api/public-rippled-methods/subscription-methods/subscribe.ja.md index fcb645d886..cd1d28b8ac 100644 --- a/content/references/rippled-api/public-rippled-methods/subscription-methods/subscribe.ja.md +++ b/content/references/rippled-api/public-rippled-methods/subscription-methods/subscribe.ja.md @@ -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" diff --git a/content/references/rippled-api/public-rippled-methods/subscription-methods/subscribe.md b/content/references/rippled-api/public-rippled-methods/subscription-methods/subscribe.md index b36018eff3..bfe082e60a 100644 --- a/content/references/rippled-api/public-rippled-methods/subscription-methods/subscribe.md +++ b/content/references/rippled-api/public-rippled-methods/subscription-methods/subscribe.md @@ -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" diff --git a/content/references/rippled-api/public-rippled-methods/subscription-methods/unsubscribe.ja.md b/content/references/rippled-api/public-rippled-methods/subscription-methods/unsubscribe.ja.md index 65b97b6631..e9f8ccfb25 100644 --- a/content/references/rippled-api/public-rippled-methods/subscription-methods/unsubscribe.ja.md +++ b/content/references/rippled-api/public-rippled-methods/subscription-methods/unsubscribe.ja.md @@ -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":{}, diff --git a/content/references/rippled-api/public-rippled-methods/subscription-methods/unsubscribe.md b/content/references/rippled-api/public-rippled-methods/subscription-methods/unsubscribe.md index 582fa44243..e17be8eb04 100644 --- a/content/references/rippled-api/public-rippled-methods/subscription-methods/unsubscribe.md +++ b/content/references/rippled-api/public-rippled-methods/subscription-methods/unsubscribe.md @@ -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": {}, diff --git a/content/references/rippled-api/public-rippled-methods/transaction-methods/sign.ja.md b/content/references/rippled-api/public-rippled-methods/transaction-methods/sign.ja.md index 74ec18b43a..1d6dad5dff 100644 --- a/content/references/rippled-api/public-rippled-methods/transaction-methods/sign.ja.md +++ b/content/references/rippled-api/public-rippled-methods/transaction-methods/sign.ja.md @@ -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", diff --git a/content/references/rippled-api/public-rippled-methods/transaction-methods/sign.md b/content/references/rippled-api/public-rippled-methods/transaction-methods/sign.md index ca52a2fac2..6d079451d6 100644 --- a/content/references/rippled-api/public-rippled-methods/transaction-methods/sign.md +++ b/content/references/rippled-api/public-rippled-methods/transaction-methods/sign.md @@ -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", diff --git a/content/references/rippled-api/public-rippled-methods/transaction-methods/sign_for.ja.md b/content/references/rippled-api/public-rippled-methods/transaction-methods/sign_for.ja.md index 7d5cdf4384..25e89667d4 100644 --- a/content/references/rippled-api/public-rippled-methods/transaction-methods/sign_for.ja.md +++ b/content/references/rippled-api/public-rippled-methods/transaction-methods/sign_for.ja.md @@ -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 [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", diff --git a/content/references/rippled-api/public-rippled-methods/transaction-methods/sign_for.md b/content/references/rippled-api/public-rippled-methods/transaction-methods/sign_for.md index 47b0f7bc30..5f7d3970f6 100644 --- a/content/references/rippled-api/public-rippled-methods/transaction-methods/sign_for.md +++ b/content/references/rippled-api/public-rippled-methods/transaction-methods/sign_for.md @@ -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 [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", diff --git a/content/references/rippled-api/public-rippled-methods/transaction-methods/submit.ja.md b/content/references/rippled-api/public-rippled-methods/transaction-methods/submit.ja.md index fef8bb5f20..752be185de 100644 --- a/content/references/rippled-api/public-rippled-methods/transaction-methods/submit.ja.md +++ b/content/references/rippled-api/public-rippled-methods/transaction-methods/submit.ja.md @@ -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", diff --git a/content/references/rippled-api/public-rippled-methods/transaction-methods/submit.md b/content/references/rippled-api/public-rippled-methods/transaction-methods/submit.md index de23ce29d1..1a15edbdf1 100644 --- a/content/references/rippled-api/public-rippled-methods/transaction-methods/submit.md +++ b/content/references/rippled-api/public-rippled-methods/transaction-methods/submit.md @@ -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"}' ``` diff --git a/content/references/rippled-api/public-rippled-methods/transaction-methods/submit_multisigned.ja.md b/content/references/rippled-api/public-rippled-methods/transaction-methods/submit_multisigned.ja.md index 84a46eb926..a793596655 100644 --- a/content/references/rippled-api/public-rippled-methods/transaction-methods/submit_multisigned.ja.md +++ b/content/references/rippled-api/public-rippled-methods/transaction-methods/submit_multisigned.ja.md @@ -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 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", diff --git a/content/references/rippled-api/public-rippled-methods/transaction-methods/submit_multisigned.md b/content/references/rippled-api/public-rippled-methods/transaction-methods/submit_multisigned.md index 9ddc31ffd8..5e72f3903e 100644 --- a/content/references/rippled-api/public-rippled-methods/transaction-methods/submit_multisigned.md +++ b/content/references/rippled-api/public-rippled-methods/transaction-methods/submit_multisigned.md @@ -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 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", diff --git a/content/references/rippled-api/public-rippled-methods/transaction-methods/transaction_entry.ja.md b/content/references/rippled-api/public-rippled-methods/transaction-methods/transaction_entry.ja.md index b6552094f2..bf09761c4a 100644 --- a/content/references/rippled-api/public-rippled-methods/transaction-methods/transaction_entry.ja.md +++ b/content/references/rippled-api/public-rippled-methods/transaction-methods/transaction_entry.ja.md @@ -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": { diff --git a/content/references/rippled-api/public-rippled-methods/transaction-methods/transaction_entry.md b/content/references/rippled-api/public-rippled-methods/transaction-methods/transaction_entry.md index f5d05afa50..a18dfc7b7d 100644 --- a/content/references/rippled-api/public-rippled-methods/transaction-methods/transaction_entry.md +++ b/content/references/rippled-api/public-rippled-methods/transaction-methods/transaction_entry.md @@ -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 ``` diff --git a/content/references/rippled-api/public-rippled-methods/transaction-methods/tx.ja.md b/content/references/rippled-api/public-rippled-methods/transaction-methods/tx.ja.md index baccfd3d20..188488e204 100644 --- a/content/references/rippled-api/public-rippled-methods/transaction-methods/tx.ja.md +++ b/content/references/rippled-api/public-rippled-methods/transaction-methods/tx.ja.md @@ -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": { diff --git a/content/references/rippled-api/public-rippled-methods/transaction-methods/tx_history.ja.md b/content/references/rippled-api/public-rippled-methods/transaction-methods/tx_history.ja.md index 24fe3a4ab7..26f441a5c5 100644 --- a/content/references/rippled-api/public-rippled-methods/transaction-methods/tx_history.ja.md +++ b/content/references/rippled-api/public-rippled-methods/transaction-methods/tx_history.ja.md @@ -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, diff --git a/content/references/rippled-api/public-rippled-methods/transaction-methods/tx_history.md b/content/references/rippled-api/public-rippled-methods/transaction-methods/tx_history.md index c6b79b8c67..602a0248f8 100644 --- a/content/references/rippled-api/public-rippled-methods/transaction-methods/tx_history.md +++ b/content/references/rippled-api/public-rippled-methods/transaction-methods/tx_history.md @@ -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, diff --git a/content/references/rippled-api/public-rippled-methods/utility-methods/json.ja.md b/content/references/rippled-api/public-rippled-methods/utility-methods/json.ja.md index 75b072c0fe..2114aa3bde 100644 --- a/content/references/rippled-api/public-rippled-methods/utility-methods/json.ja.md +++ b/content/references/rippled-api/public-rippled-methods/utility-methods/json.ja.md @@ -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", diff --git a/content/references/rippled-api/public-rippled-methods/utility-methods/json.md b/content/references/rippled-api/public-rippled-methods/utility-methods/json.md index a64119c052..55bed25a45 100644 --- a/content/references/rippled-api/public-rippled-methods/utility-methods/json.md +++ b/content/references/rippled-api/public-rippled-methods/utility-methods/json.md @@ -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", diff --git a/content/references/rippled-api/public-rippled-methods/utility-methods/ping.ja.md b/content/references/rippled-api/public-rippled-methods/utility-methods/ping.ja.md index 381aba187f..a1dee81239 100644 --- a/content/references/rippled-api/public-rippled-methods/utility-methods/ping.ja.md +++ b/content/references/rippled-api/public-rippled-methods/utility-methods/ping.ja.md @@ -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" diff --git a/content/references/rippled-api/public-rippled-methods/utility-methods/ping.md b/content/references/rippled-api/public-rippled-methods/utility-methods/ping.md index 38d4e787af..d0dca365e3 100644 --- a/content/references/rippled-api/public-rippled-methods/utility-methods/ping.md +++ b/content/references/rippled-api/public-rippled-methods/utility-methods/ping.md @@ -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" diff --git a/content/references/rippled-api/public-rippled-methods/utility-methods/random.ja.md b/content/references/rippled-api/public-rippled-methods/utility-methods/random.ja.md index bc4f59173e..d3ecac65c7 100644 --- a/content/references/rippled-api/public-rippled-methods/utility-methods/random.ja.md +++ b/content/references/rippled-api/public-rippled-methods/utility-methods/random.ja.md @@ -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", diff --git a/content/references/rippled-api/public-rippled-methods/utility-methods/random.md b/content/references/rippled-api/public-rippled-methods/utility-methods/random.md index 5a863fc5af..4466c784c7 100644 --- a/content/references/rippled-api/public-rippled-methods/utility-methods/random.md +++ b/content/references/rippled-api/public-rippled-methods/utility-methods/random.md @@ -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",