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.1KB

12345678910111213141516171819202122232425262728293031323334353637
  1. {
  2. "$schema": "http://json-schema.org/draft-04/schema#",
  3. "title": "getTrustlinesParameters",
  4. "description": "Parameters for getTrustlines",
  5. "type": "object",
  6. "properties": {
  7. "address": {
  8. "$ref": "address",
  9. "description": "The address of the account to get trustlines for."
  10. },
  11. "options": {
  12. "description": "Options to filter and determine which trustlines to return.",
  13. "properties": {
  14. "counterparty": {
  15. "$ref": "address",
  16. "description": "Only return trustlines with this counterparty."
  17. },
  18. "currency": {
  19. "$ref": "currency",
  20. "description": "Only return trustlines for this currency."
  21. },
  22. "limit": {
  23. "type": "integer",
  24. "minimum": 1,
  25. "description": "Return at most this many trustlines."
  26. },
  27. "ledgerVersion": {
  28. "$ref": "ledgerVersion",
  29. "description": "Return trustlines as they were in this historical ledger version."
  30. }
  31. },
  32. "additionalProperties": false
  33. }
  34. },
  35. "additionalProperties": false,
  36. "required": ["address"]
  37. }