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.

ledger-event.json 1.5KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546
  1. {
  2. "$schema": "http://json-schema.org/draft-04/schema#",
  3. "title": "ledgerEvent",
  4. "description": "A ledger event message",
  5. "type": "object",
  6. "properties": {
  7. "baseFeeXRP": {
  8. "$ref": "value",
  9. "description": "Base fee, in XRP."
  10. },
  11. "ledgerHash": {
  12. "$ref": "hash256",
  13. "description": "Unique hash of the ledger that was closed, as hex."
  14. },
  15. "ledgerVersion": {
  16. "$ref": "ledgerVersion",
  17. "description": "Ledger version of the ledger that closed."
  18. },
  19. "ledgerTimestamp": {
  20. "type": "string",
  21. "format": "date-time",
  22. "description": "The time at which this ledger closed."
  23. },
  24. "reserveBaseXRP": {
  25. "$ref": "value",
  26. "description": "The minimum reserve, in XRP, that is required for an account."
  27. },
  28. "reserveIncrementXRP": {
  29. "$ref": "value",
  30. "description": "The increase in account reserve that is added for each item the account owns, such as offers or trust lines."
  31. },
  32. "transactionCount": {
  33. "type": "integer",
  34. "minimum": 0,
  35. "description": "Number of new transactions included in this ledger."
  36. },
  37. "validatedLedgerVersions": {
  38. "type": "string",
  39. "description": "Range of ledgers that the server has available. This may be discontiguous."
  40. }
  41. },
  42. "addtionalProperties": false,
  43. "required": ["baseFeeXRP", "ledgerHash", "ledgerTimestamp",
  44. "reserveBaseXRP", "reserveIncrementXRP", "transactionCount",
  45. "ledgerVersion", "validatedLedgerVersions"]
  46. }