You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardexpand all lines: docs/index.md
+12
Original file line number
Diff line number
Diff line change
@@ -103,6 +103,18 @@ All the code snippets in this documentation assume that you have surrounded them
103
103
If you omit the "catch" section, errors may not be visible.
104
104
</aside>
105
105
106
+
### Parameters
107
+
108
+
Name | Type | Description
109
+
---- | ---- | -----------
110
+
authorization | string | *Optional* Username and password for HTTP basic authentication to the rippled server in the format **username:password**.
111
+
feeCushion | number | *Optional* 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`.
112
+
proxy | uri string | *Optional* URI for HTTP/HTTPS proxy to use to connect to the rippled server.
113
+
proxyAuthorization | string | *Optional* Username and password for HTTP basic authentication to the proxy in the format **username:password**.
114
+
servers | array\<uri string\> | *Optional* Array of rippled servers to connect to. Currently only one server is supported.
115
+
trace | boolean | *Optional* If true, log rippled requests and responses to stdout.
116
+
trustedCertificates | array\<string\> | *Optional* 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.
Copy file name to clipboardexpand all lines: src/common/schemas/input/api-options.json
+20-6
Original file line number
Diff line number
Diff line change
@@ -3,29 +3,43 @@
3
3
"title": "api-options",
4
4
"type": "object",
5
5
"properties": {
6
-
"trace": {"type": "boolean"},
7
-
"feeCushion": {"$ref": "value"},
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
+
},
8
15
"servers": {
9
16
"type": "array",
17
+
"description": "Array of rippled servers to connect to. Currently only one server is supported.",
10
18
"items": {
11
19
"type": "string",
20
+
"description": "URI for rippled websocket port. Must start with `wss://` or `ws://`.",
12
21
"format": "uri",
13
22
"pattern": "^wss?://"
14
23
}
15
24
},
16
25
"proxy": {
17
-
"format": "uri"
26
+
"format": "uri",
27
+
"description": "URI for HTTP/HTTPS proxy to use to connect to the rippled server."
18
28
},
19
29
"proxyAuthorization": {
20
-
"type": "string"
30
+
"type": "string",
31
+
"description": "Username and password for HTTP basic authentication to the proxy in the format **username:password**."
21
32
},
22
33
"authorization": {
23
-
"type": "string"
34
+
"type": "string",
35
+
"description": "Username and password for HTTP basic authentication to the rippled server in the format **username:password**."
24
36
},
25
37
"trustedCertificates": {
26
38
"type": "array",
39
+
"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.",
27
40
"items": {
28
-
"type": "string"
41
+
"type": "string",
42
+
"description": "A PEM-formatted SSL certificate to trust when connecting to a proxy."
0 commit comments