diff --git a/content/_snippets/no-cli-syntax.md b/content/_snippets/no-cli-syntax.md new file mode 100644 index 0000000000..ffc65eb98a --- /dev/null +++ b/content/_snippets/no-cli-syntax.md @@ -0,0 +1 @@ +**Note:** There is no commandline syntax for `ledger_data`. You can use the [json method][] to access this method from the commandline instead. \ No newline at end of file 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 b304dc174c..118265241d 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 @@ -6,7 +6,7 @@ The `ledger_data` method retrieves contents of the specified ledger. You can ite ## Request Format An example of the request format: -**Note:** There is no commandline syntax for `ledger_data`. You can use the [json method][] to access this method from the commandline instead. +{% include '_snippets/no-cli-syntax.md' %}