mirror of
https://github.com/XRPLF/xrpl-dev-portal.git
synced 2025-11-28 07:35:50 +00:00
Mark code sample languages explicitly
This commit is contained in:
@@ -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",
|
||||
|
||||
@@ -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",
|
||||
|
||||
@@ -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",
|
||||
|
||||
@@ -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",
|
||||
|
||||
Reference in New Issue
Block a user