Skip to content
docs

peerHost

peerHost(url): string | undefined

Defined in: walletconnect-ton/src/session.ts:101

The host of a peer URL (https://app.ston.fi/swap → app.ston.fi), lowercase, without port, or undefined. http(s) only. By hand, not new URL: it must not depend on the runtime’s URL polyfill.

string | undefined

string | undefined