Skip to content
docs

checkRpcUrls

checkRpcUrls(urls, opts?): { ok: true; urls: string[]; } | { message: string; ok: false; reason: UrlPolicyReason; url: string; }

Defined in: url.ts:175

Every URL in the list passes the policy; returns the normalised list or the first failure.

readonly string[]

UrlPolicyOptions = {}

{ ok: true; urls: string[]; } | { message: string; ok: false; reason: UrlPolicyReason; url: string; }