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-balance-sheet.json 1.2KB

123456789101112131415161718192021222324252627282930313233
  1. {
  2. "$schema": "http://json-schema.org/draft-04/schema#",
  3. "title": "getBalanceSheet",
  4. "description": "getBalanceSheet response",
  5. "type": "object",
  6. "properties": {
  7. "balances": {
  8. "type": "array",
  9. "items": {"$ref": "amount"},
  10. "description": "Amounts issued to the \"hotwallet\" accounts from the request. The keys are the accounts' addresses, and the values are arrays of currency amounts they hold. The issuer (omitted from the currency amounts) is the account from the request."
  11. },
  12. "assets": {
  13. "type": "array",
  14. "items": {"$ref": "amount"},
  15. "description": "Total amounts held that are issued by others. For the recommended gateway configuration, there should be none."
  16. },
  17. "obligations": {
  18. "type": "array",
  19. "items": {
  20. "type": "object",
  21. "required": ["currency", "value"],
  22. "additionalProperties": false,
  23. "properties": {
  24. "currency": {"$ref": "currency"},
  25. "value": {"$ref": "value"}
  26. },
  27. "description": "An amount that is owed."
  28. },
  29. "description": "Total amounts issued to accounts that are not hot wallets, as a map of currencies to the total value issued."
  30. }
  31. },
  32. "additionalProperties": false
  33. }