Skip to content

isX402Network

isX402Network(value): value is “eip155:137” | “eip155:80002”

Defined in: src/x402/types.ts:338

Type guard for X402Network.

Accepts only eip155:N strings where N is a kawasekit-supported chain ID. A facilitator response advertising e.g. "eip155:8453" (Base) returns false and should be treated as out-of-scope by the caller.

Parameters

value

string

Returns

value is “eip155:137” | “eip155:80002”