Skip to content
docs

ParseAddChainOptions

Defined in: eip3085.ts:28

Options for parseAddChainParams.

optional allowHttpLocal?: boolean

Defined in: eip3085.ts:35

Accept RPCs on private / local addresses (localhost, 10.x, 192.168.x, *.local…) — https or http — from a site. Default false: a page must not point the wallet at the user’s own network. Pass the user’s “Allow http for local nodes” setting.


optional known?: (caip2) => boolean

Defined in: eip3085.ts:36

string

boolean


optional now?: () => number

Defined in: eip3085.ts:39

number


optional origin?: string

Defined in: eip3085.ts:38

Site origin — recorded as the network’s source so every sheet on it says who supplied the RPC.