Skip to content

Commit ec6abfd

Browse files
committed
Fix diff code sample syntax in Clio ledger doc
1 parent 69ef830 commit ec6abfd

File tree

1 file changed

+4
-4
lines changed
  • docs/references/http-websocket-apis/public-api-methods/clio-methods

1 file changed

+4
-4
lines changed

docs/references/http-websocket-apis/public-api-methods/clio-methods/ledger-clio.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -68,6 +68,10 @@ An example of a successful response:
6868
{% code-snippet file="/_api-examples/ledger-clio/jsonrpc-response.json" language="json" prefix="200 OK\n\n" /%}
6969
{% /tab %}
7070

71+
{% tab label="JSON-RPC (with diff)" %}
72+
{% code-snippet file="/_api-examples/ledger-clio/jsonrpc-diff-response.json" language="json" /%}
73+
{% /tab %}
74+
7175
{% /tabs %}
7276

7377
The response follows the [standard format][], with a successful result containing information about the ledger, including the following fields:
@@ -107,10 +111,6 @@ If the request specified `"diff": true`, the response has an object `diff`. The
107111
| `object_id` | String | The object identifier. |
108112
| `Hashes` | Object or Hex String | Depending on whether the request set `binary` to true or false, this field returns the contents of the object that was created, the new value of an object that was modified, or an empty string if the object was deleted. |
109113

110-
### Response When `diff` is `true`
111-
112-
113-
`{% code-snippet file="/_api-examples/ledger-clio/jsonrpc-diff-response.json" language="json" /%}`
114114

115115
## Possible Errors
116116

0 commit comments

Comments
 (0)