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-trustlines.json 1.7KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849
  1. {
  2. "$schema": "http://json-schema.org/draft-04/schema#",
  3. "title": "getTrustlines",
  4. "type": "array",
  5. "items": {
  6. "properties": {
  7. "specification": {
  8. "$ref": "trustline",
  9. "description": "A trust line specification that would produce this trust line in its current state."
  10. },
  11. "counterparty": {
  12. "properties": {
  13. "limit": {
  14. "$ref": "value",
  15. "description": "The maximum amount that the counterparty can be owed through the trust line."
  16. },
  17. "ripplingDisabled": {
  18. "type": "boolean",
  19. "description": "If true, payments cannot ripple through this trustline."
  20. },
  21. "frozen": {
  22. "type": "boolean",
  23. "description": "If true, the trust line is frozen, which means that funds can only be sent directly to the counterparty."
  24. },
  25. "authorized": {
  26. "type": "boolean",
  27. "description": "If true, the counterparty authorizes this party to hold issuances from the counterparty."
  28. }
  29. },
  30. "description": "Properties of the trustline from the perspective of the counterparty.",
  31. "required": ["limit"],
  32. "additionalProperties": false
  33. },
  34. "state": {
  35. "properties": {
  36. "balance": {
  37. "$ref": "signedValue",
  38. "description": "The balance on the trust line, representing which party owes the other and by how much."
  39. }
  40. },
  41. "description": "Non-settings details of the trust line's state.",
  42. "required": ["balance"],
  43. "additionalProperties": false
  44. }
  45. },
  46. "required": ["specification", "counterparty", "state"],
  47. "additionalProperties": false
  48. }
  49. }