You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
|`index`| String | The unique ID of this [ledger entry](../../../protocol/ledger-data/ledger-entry-types/index.md). |
818
-
|`ledger_index`| Unsigned Integer | The [ledger index][] of the ledger that was used when retrieving this data. |
819
-
|`node`| Object |_(Omitted if `"binary": true` specified.)_ Object containing the data of this ledger entry, according to the [ledger format][]. |
820
-
|`node_binary`| String |_(Omitted unless `"binary":true` specified)_ The [binary representation](../../../protocol/binary-format.md) of the ledger object, as hexadecimal. |
821
-
|`deleted_ledger_index`| String |_(Clio server only, returned if `include_deleted` parameter is set.)_ The [ledger index][] where the ledger entry object was deleted. |
|`mptoken`| ️Object or String | If a string, interpret as ledger entry ID of the MPToken to retrieve. If an object, requires the sub-fields account and mpt_issuance_id to unique identify the MPToken. |
977
-
| mptoken.mpt_issuance_id | ️String | (Required if the `MPToken` is specified as an object) The 192-bit MPTokenIssuanceID that's associated with the MPTokenIssuance. |
978
-
| mptoken.account ️ | String | (Required if the `MPToken` is specified as an object) The account that owns the MPToken. |
|`mptoken`| ️Object or String | If a string, interpret as ledger entry ID of the MPToken to retrieve. If an object, requires the sub-fields `account` and `mpt_issuance_id` to unique identify the MPToken. |
866
+
|`mptoken.mpt_issuance_id`| String | (Required if the `MPToken` is specified as an object) The 192-bit MPTokenIssuanceID that's associated with the MPTokenIssuance. |
867
+
|`mptoken.account` ️ | String | (Required if the `MPToken` is specified as an object) The account that owns the MPToken. |
|`index`| String | The unique ID of this [ledger entry](../../../protocol/ledger-data/ledger-entry-types/index.md). |
1023
-
|`ledger_index`| Unsigned Integer | The [ledger index](../../../protocol/data-types/basic-data-types.md#ledger-index) of the ledger that was used when retrieving this data. |
1024
-
|`node`| Object |_(Omitted if `"binary": true` specified.)_ Object containing the data of this ledger entry, according to the [ledger format](../../../protocol/ledger-data/ledger-entry-types/index.md). |
919
+
|`ledger_index`| Unsigned Integer | The [ledger index][] of the ledger that was used when retrieving this data. |
920
+
|`node`| Object |_(Omitted if `"binary": true` specified.)_ Object containing the data of this ledger entry, according to the [ledger format][]. |
1025
921
|`node_binary`| String |_(Omitted unless `"binary":true` specified)_ The [binary representation](../../../protocol/binary-format.md) of the ledger object, as hexadecimal. |
922
+
|`deleted_ledger_index`| String |_(Clio server only, returned if `include_deleted` parameter is set.)_ The [ledger index][] where the ledger entry object was deleted. |
1026
923
1027
924
An example of a successful response:
1028
925
1029
-
<!-- MULTICODE_BLOCK_START -->
1030
-
1031
-
*WebSocket*
926
+
{% tabs %}
1032
927
928
+
{% tab label="WebSocket" %}
1033
929
```json
1034
930
{
1035
931
"id": "example_get_accountroot",
@@ -1060,9 +956,9 @@ An example of a successful response:
1060
956
"type": "response"
1061
957
}
1062
958
```
959
+
{% /tab %}
1063
960
1064
-
*JSON-RPC*
1065
-
961
+
{% tab label="JSON-RPC" %}
1066
962
```json
1067
963
200OK
1068
964
@@ -1093,9 +989,9 @@ An example of a successful response:
1093
989
}
1094
990
}
1095
991
```
992
+
{% /tab %}
1096
993
1097
-
*Commandline*
1098
-
994
+
{% tab label="Commandline" %}
1099
995
```json
1100
996
{
1101
997
"result": {
@@ -1124,8 +1020,9 @@ An example of a successful response:
0 commit comments