Add explicit code language markers

This commit is contained in:
mDuo13
2020-09-08 14:16:47 -07:00
parent b0a9abd975
commit dfbdd15df5
20 changed files with 499 additions and 463 deletions

View File

@@ -24,7 +24,7 @@ XRP Ledgerでは、アカウントはその後のトランザクションには
*WebSocket*
```
```json
{
"command":"wallet_propose"
}
@@ -32,7 +32,7 @@ XRP Ledgerでは、アカウントはその後のトランザクションには
*JSON-RPC*
```
```json
{
"method":"wallet_propose"
}
@@ -40,7 +40,7 @@ XRP Ledgerでは、アカウントはその後のトランザクションには
*コマンドライン*
```
```sh
#Syntax: wallet_propose
rippled wallet_propose
```
@@ -56,7 +56,7 @@ rippled wallet_propose
*WebSocket*
```
```json
{
"result":{
"account_id":"rsprUqu6BHAffAeG4HpSdjBNvnA6gdnZV7",
@@ -74,7 +74,7 @@ rippled wallet_propose
*JSON-RPC*
```
```json
{
"result":{
"account_id":"rsprUqu6BHAffAeG4HpSdjBNvnA6gdnZV7",
@@ -91,7 +91,7 @@ rippled wallet_propose
*コマンドライン*
```
```json
{
"result" :{
"account_id" :"rsprUqu6BHAffAeG4HpSdjBNvnA6gdnZV7",
@@ -142,7 +142,7 @@ SetRegularKeyトランザクションでレギュラーキーペアを初めて
*WebSocket*
```
```json
{
"command":"sign",
"tx_json":{
@@ -156,7 +156,7 @@ SetRegularKeyトランザクションでレギュラーキーペアを初めて
*JSON-RPC*
```
```json
{
"method":"sign",
"params":[
@@ -174,7 +174,7 @@ SetRegularKeyトランザクションでレギュラーキーペアを初めて
*コマンドライン*
```
```sh
#Syntax: sign secret tx_json
rippled sign ssCATR7CBvn4GLd1UuU2bqqQffHki '{"TransactionType":"SetRegularKey", "Account":"rUAi7pipxGpYfPNg3LtPcf2ApiS8aw9A93", "RegularKey":"rsprUqu6BHAffAeG4HpSdjBNvnA6gdnZV7"}'
```
@@ -190,7 +190,7 @@ rippled sign ssCATR7CBvn4GLd1UuU2bqqQffHki '{"TransactionType":"SetRegularKey",
*WebSocket*
```
```json
{
"result":{
"tx_blob":"1200052280000000240000000468400000000000000A73210384CA3C528F10C75F26E0917F001338BD3C9AA1A39B9FBD583DFFFD96CF2E2D7A7446304402204BCD5663F3A2BA02D2CE374439096EC6D27273522CD6E6E0BDBFB518730EAAE402200ECD02D8D2525D6FA4642613E71E395ECCEA01C42C35A668BF092A00EB649C268114830923439D307E642CED308FD91EF701A7BAA74788141620D685FB08D81A70D0B668749CF2E130EA7540",
@@ -213,7 +213,7 @@ rippled sign ssCATR7CBvn4GLd1UuU2bqqQffHki '{"TransactionType":"SetRegularKey",
*JSON-RPC*
```
```json
{
"result":{
"status":"success",
@@ -235,7 +235,7 @@ rippled sign ssCATR7CBvn4GLd1UuU2bqqQffHki '{"TransactionType":"SetRegularKey",
*コマンドライン*
```
```json
{
"result" :{
"status" :"success",
@@ -274,7 +274,7 @@ rippled sign ssCATR7CBvn4GLd1UuU2bqqQffHki '{"TransactionType":"SetRegularKey",
*WebSocket*
```
```json
{
"command":"submit",
"tx_blob":"1200052280000000240000000468400000000000000A73210384CA3C528F10C75F26E0917F001338BD3C9AA1A39B9FBD583DFFFD96CF2E2D7A7446304402204BCD5663F3A2BA02D2CE374439096EC6D27273522CD6E6E0BDBFB518730EAAE402200ECD02D8D2525D6FA4642613E71E395ECCEA01C42C35A668BF092A00EB649C268114830923439D307E642CED308FD91EF701A7BAA74788141620D685FB08D81A70D0B668749CF2E130EA7540"
@@ -283,7 +283,7 @@ rippled sign ssCATR7CBvn4GLd1UuU2bqqQffHki '{"TransactionType":"SetRegularKey",
*JSON-RPC*
```
```json
{
"method":"submit",
"params":[
@@ -296,7 +296,7 @@ rippled sign ssCATR7CBvn4GLd1UuU2bqqQffHki '{"TransactionType":"SetRegularKey",
*コマンドライン*
```
```sh
#Syntax: submit tx_blob
rippled submit 1200052280000000240000000468400000000000000A73210384CA3C528F10C75F26E0917F001338BD3C9AA1A39B9FBD583DFFFD96CF2E2D7A7446304402204BCD5663F3A2BA02D2CE374439096EC6D27273522CD6E6E0BDBFB518730EAAE402200ECD02D8D2525D6FA4642613E71E395ECCEA01C42C35A668BF092A00EB649C268114830923439D307E642CED308FD91EF701A7BAA74788141620D685FB08D81A70D0B668749CF2E130EA7540
```
@@ -312,7 +312,7 @@ rippled submit 1200052280000000240000000468400000000000000A73210384CA3C528F10C75
*WebSocket*
```
```json
{
"result":{
"engine_result":"tesSUCCESS",
@@ -338,7 +338,7 @@ rippled submit 1200052280000000240000000468400000000000000A73210384CA3C528F10C75
*JSON-RPC*
```
```json
{
"result":{
"engine_result":"tesSUCCESS",
@@ -363,7 +363,7 @@ rippled submit 1200052280000000240000000468400000000000000A73210384CA3C528F10C75
*コマンドライン*
```
```json
{
"result" :{
"engine_result" :"tesSUCCESS",
@@ -421,7 +421,7 @@ rippled submit 1200052280000000240000000468400000000000000A73210384CA3C528F10C75
*WebSocket*
```
```json
{
"command":"sign",
"tx_json":{
@@ -434,7 +434,7 @@ rippled submit 1200052280000000240000000468400000000000000A73210384CA3C528F10C75
*JSON-RPC*
```
```json
{
"method":"sign",
"params":[
@@ -451,7 +451,7 @@ rippled submit 1200052280000000240000000468400000000000000A73210384CA3C528F10C75
*コマンドライン*
```
```sh
#Syntax: sign secret tx_json
rippled sign sh8i92YRnEjJy3fpFkL8txQSCVo79 '{"TransactionType":"AccountSet", "Account":"rUAi7pipxGpYfPNg3LtPcf2ApiS8aw9A93"}'
```
@@ -467,7 +467,7 @@ rippled sign sh8i92YRnEjJy3fpFkL8txQSCVo79 '{"TransactionType":"AccountSet", "Ac
*WebSocket*
```
```json
{
"result":{
"tx_blob":"1200032280000000240000000468400000000000000A73210330E7FC9D56BB25D6893BA3F317AE5BCF33B3291BD63DB32654A313222F7FD02074473045022100A50E867D3B1B5A39F23F1ABCA5C7C3EC755442FDAA357EFD897B865ACA7686DB02206077BF459BCE39BCCBFE1A128DA986D1E00CBEC5F0D6B0E11710F60BE2976FB88114623B8DA4A0BFB3B61AB423391A182DC693DC159E",
@@ -489,7 +489,7 @@ rippled sign sh8i92YRnEjJy3fpFkL8txQSCVo79 '{"TransactionType":"AccountSet", "Ac
*JSON-RPC*
```
```json
{
"result":{
"status":"success",
@@ -510,7 +510,7 @@ rippled sign sh8i92YRnEjJy3fpFkL8txQSCVo79 '{"TransactionType":"AccountSet", "Ac
*コマンドライン*
```
```json
{
"result" :{
"status" :"success",
@@ -548,7 +548,7 @@ rippled sign sh8i92YRnEjJy3fpFkL8txQSCVo79 '{"TransactionType":"AccountSet", "Ac
*WebSocket*
```
```json
{
"command":"submit",
"tx_blob":"1200032280000000240000000468400000000000000A73210330E7FC9D56BB25D6893BA3F317AE5BCF33B3291BD63DB32654A313222F7FD02074473045022100A50E867D3B1B5A39F23F1ABCA5C7C3EC755442FDAA357EFD897B865ACA7686DB02206077BF459BCE39BCCBFE1A128DA986D1E00CBEC5F0D6B0E11710F60BE2976FB88114623B8DA4A0BFB3B61AB423391A182DC693DC159E"
@@ -557,7 +557,7 @@ rippled sign sh8i92YRnEjJy3fpFkL8txQSCVo79 '{"TransactionType":"AccountSet", "Ac
*JSON-RPC*
```
```json
{
"method":"submit",
"params":[
@@ -570,7 +570,7 @@ rippled sign sh8i92YRnEjJy3fpFkL8txQSCVo79 '{"TransactionType":"AccountSet", "Ac
*コマンドライン*
```
```sh
#Syntax: submit tx_blob
rippled submit 1200032280000000240000000468400000000000000A73210330E7FC9D56BB25D6893BA3F317AE5BCF33B3291BD63DB32654A313222F7FD02074473045022100A50E867D3B1B5A39F23F1ABCA5C7C3EC755442FDAA357EFD897B865ACA7686DB02206077BF459BCE39BCCBFE1A128DA986D1E00CBEC5F0D6B0E11710F60BE2976FB88114623B8DA4A0BFB3B61AB423391A182DC693DC159E
```
@@ -586,7 +586,7 @@ rippled submit 1200032280000000240000000468400000000000000A73210330E7FC9D56BB25D
*WebSocket*
```
```json
{
"result":{
"engine_result":"tesSUCCESS",
@@ -611,7 +611,7 @@ rippled submit 1200032280000000240000000468400000000000000A73210330E7FC9D56BB25D
*JSON-RPC*
```
```json
{
"result":{
"engine_result":"tesSUCCESS",
@@ -635,7 +635,7 @@ rippled submit 1200032280000000240000000468400000000000000A73210330E7FC9D56BB25D
*コマンドライン*
```
```json
{
"result" :{
"engine_result" :"tesSUCCESS",

View File

@@ -24,7 +24,7 @@ An example of the request format:
*WebSocket*
```
```json
{
"command": "wallet_propose"
}
@@ -32,7 +32,7 @@ An example of the request format:
*JSON-RPC*
```
```json
{
"method": "wallet_propose"
}
@@ -40,7 +40,7 @@ An example of the request format:
*Commandline*
```
```sh
#Syntax: wallet_propose
rippled wallet_propose
```
@@ -56,7 +56,7 @@ An example of a successful response:
*WebSocket*
```
```json
{
"result": {
"account_id": "rsprUqu6BHAffAeG4HpSdjBNvnA6gdnZV7",
@@ -74,7 +74,7 @@ An example of a successful response:
*JSON-RPC*
```
```json
{
"result": {
"account_id": "rsprUqu6BHAffAeG4HpSdjBNvnA6gdnZV7",
@@ -91,7 +91,7 @@ An example of a successful response:
*Commandline*
```
```json
{
"result" : {
"account_id" : "rsprUqu6BHAffAeG4HpSdjBNvnA6gdnZV7",
@@ -142,7 +142,7 @@ An example of the request format:
*WebSocket*
```
```json
{
"command": "sign",
"tx_json": {
@@ -156,7 +156,7 @@ An example of the request format:
*JSON-RPC*
```
```json
{
"method": "sign",
"params": [
@@ -174,7 +174,7 @@ An example of the request format:
*Commandline*
```
```sh
#Syntax: sign secret tx_json
rippled sign ssCATR7CBvn4GLd1UuU2bqqQffHki '{"TransactionType": "SetRegularKey", "Account": "rUAi7pipxGpYfPNg3LtPcf2ApiS8aw9A93", "RegularKey": "rsprUqu6BHAffAeG4HpSdjBNvnA6gdnZV7"}'
```
@@ -190,7 +190,7 @@ An example of a successful response:
*WebSocket*
```
```json
{
"result": {
"tx_blob": "1200052280000000240000000468400000000000000A73210384CA3C528F10C75F26E0917F001338BD3C9AA1A39B9FBD583DFFFD96CF2E2D7A7446304402204BCD5663F3A2BA02D2CE374439096EC6D27273522CD6E6E0BDBFB518730EAAE402200ECD02D8D2525D6FA4642613E71E395ECCEA01C42C35A668BF092A00EB649C268114830923439D307E642CED308FD91EF701A7BAA74788141620D685FB08D81A70D0B668749CF2E130EA7540",
@@ -213,7 +213,7 @@ An example of a successful response:
*JSON-RPC*
```
```json
{
"result": {
"status": "success",
@@ -235,7 +235,7 @@ An example of a successful response:
*Commandline*
```
```json
{
"result" : {
"status" : "success",
@@ -274,7 +274,7 @@ An example of the request format:
*WebSocket*
```
```json
{
"command": "submit",
"tx_blob": "1200052280000000240000000468400000000000000A73210384CA3C528F10C75F26E0917F001338BD3C9AA1A39B9FBD583DFFFD96CF2E2D7A7446304402204BCD5663F3A2BA02D2CE374439096EC6D27273522CD6E6E0BDBFB518730EAAE402200ECD02D8D2525D6FA4642613E71E395ECCEA01C42C35A668BF092A00EB649C268114830923439D307E642CED308FD91EF701A7BAA74788141620D685FB08D81A70D0B668749CF2E130EA7540"
@@ -283,7 +283,7 @@ An example of the request format:
*JSON-RPC*
```
```json
{
"method":"submit",
"params": [
@@ -296,7 +296,7 @@ An example of the request format:
*Commandline*
```
```sh
#Syntax: submit tx_blob
rippled submit 1200052280000000240000000468400000000000000A73210384CA3C528F10C75F26E0917F001338BD3C9AA1A39B9FBD583DFFFD96CF2E2D7A7446304402204BCD5663F3A2BA02D2CE374439096EC6D27273522CD6E6E0BDBFB518730EAAE402200ECD02D8D2525D6FA4642613E71E395ECCEA01C42C35A668BF092A00EB649C268114830923439D307E642CED308FD91EF701A7BAA74788141620D685FB08D81A70D0B668749CF2E130EA7540
```
@@ -338,7 +338,7 @@ An example of a successful response:
*JSON-RPC*
```
```json
{
"result": {
"engine_result": "tesSUCCESS",
@@ -363,7 +363,7 @@ An example of a successful response:
*Commandline*
```
```json
{
"result" : {
"engine_result" : "tesSUCCESS",
@@ -421,7 +421,7 @@ Here's an example of the request format. Note that the request does not include
*WebSocket*
```
```json
{
"command": "sign",
"tx_json": {
@@ -434,7 +434,7 @@ Here's an example of the request format. Note that the request does not include
*JSON-RPC*
```
```json
{
"method": "sign",
"params": [
@@ -451,7 +451,7 @@ Here's an example of the request format. Note that the request does not include
*Commandline*
```
```sh
#Syntax: sign secret tx_json
rippled sign sh8i92YRnEjJy3fpFkL8txQSCVo79 '{"TransactionType": "AccountSet", "Account": "rUAi7pipxGpYfPNg3LtPcf2ApiS8aw9A93"}'
```
@@ -467,7 +467,7 @@ An example of a successful response:
*WebSocket*
```
```json
{
"result": {
"tx_blob": "1200032280000000240000000468400000000000000A73210330E7FC9D56BB25D6893BA3F317AE5BCF33B3291BD63DB32654A313222F7FD02074473045022100A50E867D3B1B5A39F23F1ABCA5C7C3EC755442FDAA357EFD897B865ACA7686DB02206077BF459BCE39BCCBFE1A128DA986D1E00CBEC5F0D6B0E11710F60BE2976FB88114623B8DA4A0BFB3B61AB423391A182DC693DC159E",
@@ -489,7 +489,7 @@ An example of a successful response:
*JSON-RPC*
```
```json
{
"result": {
"status": "success",
@@ -510,7 +510,7 @@ An example of a successful response:
*Commandline*
```
```json
{
"result" : {
"status" : "success",
@@ -548,7 +548,7 @@ An example of the request format:
*WebSocket*
```
```json
{
"command": "submit",
"tx_blob": "1200032280000000240000000468400000000000000A73210330E7FC9D56BB25D6893BA3F317AE5BCF33B3291BD63DB32654A313222F7FD02074473045022100A50E867D3B1B5A39F23F1ABCA5C7C3EC755442FDAA357EFD897B865ACA7686DB02206077BF459BCE39BCCBFE1A128DA986D1E00CBEC5F0D6B0E11710F60BE2976FB88114623B8DA4A0BFB3B61AB423391A182DC693DC159E"
@@ -557,7 +557,7 @@ An example of the request format:
*JSON-RPC*
```
```json
{
"method":"submit",
"params": [
@@ -570,7 +570,7 @@ An example of the request format:
*Commandline*
```
```sh
#Syntax: submit tx_blob
rippled submit 1200032280000000240000000468400000000000000A73210330E7FC9D56BB25D6893BA3F317AE5BCF33B3291BD63DB32654A313222F7FD02074473045022100A50E867D3B1B5A39F23F1ABCA5C7C3EC755442FDAA357EFD897B865ACA7686DB02206077BF459BCE39BCCBFE1A128DA986D1E00CBEC5F0D6B0E11710F60BE2976FB88114623B8DA4A0BFB3B61AB423391A182DC693DC159E
```
@@ -586,7 +586,7 @@ An example of a successful response:
*WebSocket*
```
```json
{
"result": {
"engine_result": "tesSUCCESS",
@@ -611,7 +611,7 @@ An example of a successful response:
*JSON-RPC*
```
```json
{
"result": {
"engine_result": "tesSUCCESS",
@@ -635,7 +635,7 @@ An example of a successful response:
*Commandline*
```
```json
{
"result" : {
"engine_result" : "tesSUCCESS",