Skip to content
docs

evmNonceProbe

evmNonceProbe(chains, request): ExposureProbe

Defined in: scan.ts:127

EVM probe: the key is exposed when its nonce is above zero on ANY of chains. One key is the same address on every EVM network, so a transaction on an L2 exposes the mainnet account too. The nonce is read at pending: a transaction waiting in the mempool has already shown the key. request is a JSON-RPC call on the given network; the networks are asked together. A network that fails makes the answer undefined, unless another network already shows a transaction. So does an empty chains: nothing was asked.

readonly string[]

(chain, method, params) => Promise<unknown>

ExposureProbe