Skip to content
docs

isRelayMethod

isRelayMethod(x): x is string

Defined in: relay.ts:119

A method name as the providers spell them (eth_sendTransaction, signAndSendTransaction, tron_requestAccounts): letters, digits and _, at most RELAY_METHOD_MAX. Anything else is dropped at the relay, so a megabyte “method” never reaches a regex, a log or an error message (scan 2026-10-27 modules, F5).

unknown

x is string