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
|`BATCH_REQUESTS_ENABLED`| "true" | Flag to disable or enable batch requests. |
30
-
|`BATCH_REQUESTS_MAX_SIZE`| "100" | Maximum number of requests allowed in a batch. |
31
-
|`WS_BATCH_REQUESTS_ENABLED`| "true" | Flag to disable or enable batch requests on the websocket server. |
32
-
|`WS_BATCH_REQUESTS_MAX_SIZE`| "20" | Maximum number of requests allowed in a batch on websocket server. |
33
-
|`CHAIN_ID`| "" | The network chain id. Local and previewnet envs should use `0x12a` (298). Previewnet, Testnet and Mainnet should use `0x129` (297), `0x128` (296) and `0x127` (295) respectively. |
34
-
|`HBAR_RATE_LIMIT_DURATION`| "80000" | hbar budget limit duration. This creates a timestamp, which resets all limits, when it's reached. Default is to 80000 (80 seconds). |
35
-
|`HBAR_RATE_LIMIT_TINYBAR`| "11_000_000_000" | total hbar budget in tinybars (110 hbars). |
36
-
|`HEDERA_NETWORK`| "" | Which network to connect to. Automatically populates the main node & mirror node endpoints. Can be `previewnet`, `testnet`, `mainnet` or a map of network IPs -> node accountIds e.g. `{"127.0.0.1:50211":"0.0.3"}`|
37
-
|`INPUT_SIZE_LIMIT`| "1mb" | The [koa-jsonrpc](https://github.com/Bitclimb/koa-jsonrpc) maximum size allowed for requests |
38
-
|`MAX_BLOCK_RANGE`| "5" | The maximum block number greater than the mirror node's latest block to query for |
39
-
|`OPERATOR_ID_MAIN`| "" | Operator account ID used to pay for transactions. In `S.R.N` format, e.g. `0.0.1001`. |
40
-
|`OPERATOR_KEY_MAIN`| "" | Operator private key used to sign transactions in hex encoded DER format. This may be either an ED22519 private key or an ECDSA private key. The private key must be associated with/used to derive `OPERATOR_ID_MAIN`. |
41
-
|`RATE_LIMIT_DISABLED`| "false" | Flag to disable IP based rate limiting. |
42
-
|`REQUEST_ID_IS_OPTIONAL`| "" | Flag to set it the JSON RPC request id field in the body should be optional. Note, this breaks the API spec and is not advised and is provided for test purposes only where some wallets may be non compliant |
43
-
|`SERVER_PORT`| "7546" | The RPC server port number to listen for requests on. Currently a static value defaulting to 7546. See [#955](https://github.com/hashgraph/hedera-json-rpc-relay/issues/955)|
|`BATCH_REQUESTS_ENABLED`| "true" | Flag to disable or enable batch requests. |
30
+
|`BATCH_REQUESTS_MAX_SIZE`| "100" | Maximum number of requests allowed in a batch. |
31
+
|`CHAIN_ID`| "" | The network chain id. Local and previewnet envs should use `0x12a` (298). Previewnet, Testnet and Mainnet should use `0x129` (297), `0x128` (296) and `0x127` (295) respectively. |
32
+
|`HBAR_RATE_LIMIT_DURATION`| "80000" | hbar budget limit duration. This creates a timestamp, which resets all limits, when it's reached. Default is to 80000 (80 seconds). |
33
+
|`HBAR_RATE_LIMIT_TINYBAR`| "11_000_000_000" | total hbar budget in tinybars (110 hbars). |
34
+
|`HEDERA_NETWORK`| "" | Which network to connect to. Automatically populates the main node & mirror node endpoints. Can be `previewnet`, `testnet`, `mainnet` or a map of network IPs -> node accountIds e.g. `{"127.0.0.1:50211":"0.0.3"}`|
35
+
|`INPUT_SIZE_LIMIT`| "1mb" | The [koa-jsonrpc](https://github.com/Bitclimb/koa-jsonrpc) maximum size allowed for requests |
36
+
|`MAX_BLOCK_RANGE`| "5" | The maximum block number greater than the mirror node's latest block to query for |
37
+
|`OPERATOR_ID_MAIN`| "" | Operator account ID used to pay for transactions. In `S.R.N` format, e.g. `0.0.1001`. |
38
+
|`OPERATOR_KEY_MAIN`| "" | Operator private key used to sign transactions in hex encoded DER format. This may be either an ED22519 private key or an ECDSA private key. The private key must be associated with/used to derive `OPERATOR_ID_MAIN`. |
39
+
|`RATE_LIMIT_DISABLED`| "false" | Flag to disable IP based rate limiting. |
40
+
|`REQUEST_ID_IS_OPTIONAL`| "" | Flag to set it the JSON RPC request id field in the body should be optional. Note, this breaks the API spec and is not advised and is provided for test purposes only where some wallets may be non compliant |
41
+
|`SERVER_PORT`| "7546" | The RPC server port number to listen for requests on. Currently a static value defaulting to 7546. See [#955](https://github.com/hashgraph/hedera-json-rpc-relay/issues/955)|
44
42
45
43
## Relay
46
44
@@ -107,6 +105,8 @@ Unless you need to set a non-default value, it is recommended to only populate o
|`WS_BATCH_REQUESTS_ENABLED`| "true" | Flag to disable or enable batch requests on the websocket server. |
109
+
|`WS_BATCH_REQUESTS_MAX_SIZE`| "20" | Maximum number of requests allowed in a batch on websocket server. |
110
110
|`SUBSCRIPTIONS_ENABLED`| "false" | If enabled eth_subscribe will be enabled using WebSockets. |
111
111
|`WS_MAX_INACTIVITY_TTL`| "300000" | Time in ms that the web socket connection is allowed to stay open without any messages sent or received, currently 5 minutes. |
112
112
|`WS_CONNECTION_LIMIT`| "10" | Maximum amount of concurrent web socket connections allowed. |
0 commit comments