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.

api-options.json 2.7KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869
  1. {
  2. "$schema": "http://json-schema.org/draft-04/schema#",
  3. "title": "api-options",
  4. "type": "object",
  5. "properties": {
  6. "trace": {
  7. "type": "boolean",
  8. "description": "If true, log rippled requests and responses to stdout."
  9. },
  10. "feeCushion": {
  11. "type": "number",
  12. "minimum": 1,
  13. "description": "Factor to multiply estimated fee by to provide a cushion in case the required fee rises during submission of a transaction. Defaults to `1.2`."
  14. },
  15. "maxFeeXRP": {
  16. "type": "string",
  17. "description": "Maximum fee to use with transactions, in XRP. Must be a string-encoded number. Defaults to `'2'`."
  18. },
  19. "server": {
  20. "type": "string",
  21. "description": "URI for rippled websocket port to connect to. Must start with `wss://`, `ws://`, `wss+unix://`, or `ws+unix://`.",
  22. "format": "uri",
  23. "pattern": "^(wss?|wss?\\+unix)://"
  24. },
  25. "proxy": {
  26. "format": "uri",
  27. "description": "URI for HTTP/HTTPS proxy to use to connect to the rippled server."
  28. },
  29. "timeout": {
  30. "type": "integer",
  31. "description": "Request timeout in milliseconds before considering a request to have failed. See also: connectionTimeout.",
  32. "minimum": 1
  33. },
  34. "connectionTimeout": {
  35. "type": "integer",
  36. "description": "Connection timeout, in milliseconds, before considering connect() to have failed.",
  37. "minimum": 1
  38. },
  39. "proxyAuthorization": {
  40. "type": "string",
  41. "description": "Username and password for HTTP basic authentication to the proxy in the format **username:password**."
  42. },
  43. "authorization": {
  44. "type": "string",
  45. "description": "Username and password for HTTP basic authentication to the rippled server in the format **username:password**."
  46. },
  47. "trustedCertificates": {
  48. "type": "array",
  49. "description": "Array of PEM-formatted SSL certificates to trust when connecting to a proxy. This is useful if you want to use a self-signed certificate on the proxy server. Note: Each element must contain a single certificate; concatenated certificates are not valid.",
  50. "items": {
  51. "type": "string",
  52. "description": "A PEM-formatted SSL certificate to trust when connecting to a proxy."
  53. }
  54. },
  55. "key": {
  56. "type": "string",
  57. "description": "A string containing the private key of the client in PEM format. (Can be an array of keys)."
  58. },
  59. "passphrase": {
  60. "type": "string",
  61. "description": "The passphrase for the private key of the client."
  62. },
  63. "certificate": {
  64. "type": "string",
  65. "description": "A string containing the certificate key of the client in PEM format. (Can be an array of certificates)."
  66. }
  67. },
  68. "additionalProperties": false
  69. }