You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

get-ledger.json 1.5KB

1234567891011121314151617181920212223242526272829303132333435
  1. {
  2. "$schema": "http://json-schema.org/draft-04/schema#",
  3. "title": "getLedgerParameters",
  4. "description": "Parameters for getLedger",
  5. "type": "object",
  6. "properties": {
  7. "options": {
  8. "description": "Options affecting what ledger and how much data to return.",
  9. "properties": {
  10. "ledgerHash": {
  11. "type": "string",
  12. "description": "Get ledger data for this historical ledger hash."
  13. },
  14. "ledgerVersion": {
  15. "$ref": "ledgerVersion",
  16. "description": "Get ledger data for this historical ledger version."
  17. },
  18. "includeAllData": {
  19. "type": "boolean",
  20. "description": "Include the details of the transactions or state information if `includeTransactions` or `includeState` is set."
  21. },
  22. "includeTransactions": {
  23. "type": "boolean",
  24. "description": "Return an array of transactions in this ledger. By default, provides the identifying hashes for each transaction. If `includeAllData` is true, include the entire transaction JSON for each transaction instead."
  25. },
  26. "includeState": {
  27. "type": "boolean",
  28. "description": "Return an array of state data in this ledger. By default, provides the identifying hashes of state data. If `includeAllData` is true, return the state data in JSON form instead. **Admin required:** This is a very large amount of data."
  29. }
  30. },
  31. "additionalProperties": false
  32. }
  33. },
  34. "additionalProperties": false
  35. }