123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869 |
- {
- "$schema": "http://json-schema.org/draft-04/schema#",
- "title": "api-options",
- "type": "object",
- "properties": {
- "trace": {
- "type": "boolean",
- "description": "If true, log rippled requests and responses to stdout."
- },
- "feeCushion": {
- "type": "number",
- "minimum": 1,
- "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`."
- },
- "maxFeeXRP": {
- "type": "string",
- "description": "Maximum fee to use with transactions, in XRP. Must be a string-encoded number. Defaults to `'2'`."
- },
- "server": {
- "type": "string",
- "description": "URI for rippled websocket port to connect to. Must start with `wss://`, `ws://`, `wss+unix://`, or `ws+unix://`.",
- "format": "uri",
- "pattern": "^(wss?|wss?\\+unix)://"
- },
- "proxy": {
- "format": "uri",
- "description": "URI for HTTP/HTTPS proxy to use to connect to the rippled server."
- },
- "timeout": {
- "type": "integer",
- "description": "Request timeout in milliseconds before considering a request to have failed. See also: connectionTimeout.",
- "minimum": 1
- },
- "connectionTimeout": {
- "type": "integer",
- "description": "Connection timeout, in milliseconds, before considering connect() to have failed.",
- "minimum": 1
- },
- "proxyAuthorization": {
- "type": "string",
- "description": "Username and password for HTTP basic authentication to the proxy in the format **username:password**."
- },
- "authorization": {
- "type": "string",
- "description": "Username and password for HTTP basic authentication to the rippled server in the format **username:password**."
- },
- "trustedCertificates": {
- "type": "array",
- "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.",
- "items": {
- "type": "string",
- "description": "A PEM-formatted SSL certificate to trust when connecting to a proxy."
- }
- },
- "key": {
- "type": "string",
- "description": "A string containing the private key of the client in PEM format. (Can be an array of keys)."
- },
- "passphrase": {
- "type": "string",
- "description": "The passphrase for the private key of the client."
- },
- "certificate": {
- "type": "string",
- "description": "A string containing the certificate key of the client in PEM format. (Can be an array of certificates)."
- }
- },
- "additionalProperties": false
- }
|