2022-05-04 15:51:24 -06:00
|
|
|
[server]
|
|
|
|
rpc_port = 8545
|
|
|
|
|
|
|
|
[backend]
|
|
|
|
response_timeout_seconds = 1
|
|
|
|
|
|
|
|
[redis]
|
|
|
|
url = "$REDIS_URL"
|
2023-05-13 22:33:09 -07:00
|
|
|
namespace = "proxyd"
|
2022-05-04 15:51:24 -06:00
|
|
|
|
|
|
|
[cache]
|
|
|
|
enabled = true
|
|
|
|
|
|
|
|
[backends]
|
|
|
|
[backends.good]
|
|
|
|
rpc_url = "$GOOD_BACKEND_RPC_URL"
|
|
|
|
ws_url = "$GOOD_BACKEND_RPC_URL"
|
|
|
|
|
|
|
|
[backend_groups]
|
|
|
|
[backend_groups.main]
|
|
|
|
backends = ["good"]
|
|
|
|
|
|
|
|
[rpc_method_mappings]
|
|
|
|
eth_chainId = "main"
|
|
|
|
net_version = "main"
|
|
|
|
eth_getBlockByNumber = "main"
|
|
|
|
eth_blockNumber = "main"
|
|
|
|
eth_call = "main"
|
2023-05-15 19:20:08 -07:00
|
|
|
eth_getBlockTransactionCountByHash = "main"
|
|
|
|
eth_getUncleCountByBlockHash = "main"
|
|
|
|
eth_getBlockByHash = "main"
|
|
|
|
eth_getTransactionByHash = "main"
|
|
|
|
eth_getTransactionByBlockHashAndIndex = "main"
|
|
|
|
eth_getUncleByBlockHashAndIndex = "main"
|
|
|
|
eth_getTransactionReceipt = "main"
|
2023-10-19 11:46:24 -07:00
|
|
|
debug_getRawReceipts = "main"
|