RPCHub
  • instruction to rpchub
    • What are RPC and RPC Aggregator?
    • What problems does RPCHub solve?
  • User guide
    • Installation and run
    • Configuration
    • Use RPCHub in MetaMask
    • Reference
  • resources
    • Public Endpoints
    • Phishing DB Warehouse
    • Official Links
Powered by GitBook
On this page
  1. User guide

Reference

PreviousUse RPCHub in MetaMaskNextPublic Endpoints

Last updated 2 years ago

Parameters
Description

RPCHub management endpoint

http://localhost:8012 or https://127.0.0.1:8012 This is the local endpoint to access the configuraitons and only acccessable when RPCHub is running.

Username

RPCHub (Username is fixed, omitted on the web explorer login)

Password

Default is 123456. It is recommended to set your password after first login.

Proxy

You can input any functional proxy you wish to use, and all of the requests will be sent though this proxy. Support HTTPS and SOCKS5. Default is blank.

Request timeout

If an RPC request sent to an endpoint does not respond within this time, the request is considered a timeout.

Request max retries

RPCHub will retry the timeout request based on the strategy. If times of fail reach this number, this request is considered failed.

Phishing DB

A database contains scam or malicious addresses. Once input in the configuration, requests interacting with these addresses will be blocked by RPCHub.

Update interval

RPChub will refresh the addresses from saved database URL with this interval.

Weight

This number determines the ratio of total requests to be sent to this endpoint of the chain. It follows,

where R is ratio and W is the weight of all endpoints for this chain in the configurations.

Ri=Wi/(W1+W2+...+Wn)Ri=Wi/(W1+W2+...+Wn)Ri=Wi/(W1+W2+...+Wn)