Skip to content

Commit 9c7468b

Browse files
committed
fix data type difference between api versions
1 parent 8c736f5 commit 9c7468b

File tree

1 file changed

+1
-1
lines changed
  • docs/references/http-websocket-apis/public-api-methods/ledger-methods

1 file changed

+1
-1
lines changed

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -105,7 +105,7 @@ The response follows the [standard format][], with a successful result containin
105105
| `ledger.close_time_resolution` | Number | Ledger close times are rounded to within this many seconds. |
106106
| `ledger.closed` | Boolean | Whether or not this ledger has been closed. |
107107
| `ledger.ledger_hash` | String | Unique identifying hash of the entire ledger. |
108-
| `ledger.ledger_index` | String | The [Ledger Index][] of this ledger, as a quoted integer. |
108+
| `ledger.ledger_index` | [API v1][]: String <br> [API v2][]: Number | The [Ledger Index][] of this ledger, as a quoted integer. |
109109
| `ledger.parent_close_time` | Number | The time at which the previous ledger was closed. |
110110
| `ledger.parent_hash` | String | The unique identifying hash of the ledger that came immediately before this one, as hexadecimal. |
111111
| `ledger.total_coins` | String | Total number of XRP drops in the network, as a quoted integer. (This decreases as transaction costs destroy XRP.) |

0 commit comments

Comments
 (0)