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.

outcome.json 2.2KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657
  1. {
  2. "$schema": "http://json-schema.org/draft-04/schema#",
  3. "title": "outcome",
  4. "type": "object",
  5. "description": "The outcome of the transaction (what effects it had).",
  6. "properties": {
  7. "result": {
  8. "type": "string",
  9. "description": "Result code returned by rippled. See [Transaction Results](https://xrpl.org/transaction-results.html) for a complete list."
  10. },
  11. "timestamp": {
  12. "type": "string",
  13. "format": "date-time",
  14. "description": "The timestamp when the transaction was validated. (May be missing when requesting transactions in binary mode.)"
  15. },
  16. "fee": {
  17. "$ref": "value",
  18. "description": "The XRP fee that was charged for the transaction."
  19. },
  20. "deliveredAmount": {
  21. "$ref": "amount",
  22. "description": "For payment transactions, it is impossible to reliably compute the actual delivered amount from the balanceChanges due to fixed precision. If the payment is not a partial payment and the transaction succeeded, the deliveredAmount should always be considered to be the amount specified in the transaction."
  23. },
  24. "balanceChanges": {
  25. "type": "object",
  26. "additionalProperties": {
  27. "type": "array",
  28. "description": "Key is the XRP Ledger address; value is an array of signed amounts representing changes of balances for that address.",
  29. "items": {"$ref": "balance"}
  30. }
  31. },
  32. "orderbookChanges": {
  33. "type": "object",
  34. "additionalProperties": {
  35. "type": "array",
  36. "description": "Key is the maker's XRP Ledger address; value is an array of changes",
  37. "items": {"$ref": "orderChange"}
  38. }
  39. },
  40. "channelChanges": {
  41. "type": "object",
  42. "description": "Properties reflecting the details of the payment channel."
  43. },
  44. "ledgerVersion": {
  45. "$ref": "ledgerVersion",
  46. "description": "The ledger version that the transaction was validated in."
  47. },
  48. "indexInLedger": {
  49. "type": "integer",
  50. "minimum": 0,
  51. "description": "The ordering index of the transaction in the ledger."
  52. }
  53. },
  54. "required": ["result", "fee", "balanceChanges",
  55. "orderbookChanges", "ledgerVersion", "indexInLedger"],
  56. "additionalProperties": false
  57. }