MCPcopy
hub / github.com/MetaMask/metamask-mobile / CustomRpcEndpoint

Interface CustomRpcEndpoint

app/selectors/networkController.ts:47–52  ·  view source on GitHub ↗

* A custom RPC endpoint is a reference to a user-defined server which fronts an * EVM chain. It may refer to an Infura network, but only by coincidence.

Source from the content-addressed store, hash-verified

45 * EVM chain. It may refer to an Infura network, but only by coincidence.
46 */
47interface CustomRpcEndpoint {
48 name?: string;
49 networkClientId: CustomNetworkClientId;
50 type: RpcEndpointType.Custom;
51 url: string;
52}
53
54type RpcEndpoint = InfuraRpcEndpoint | CustomRpcEndpoint;
55

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected