By default this is set to stub, in which case default responses will be
returned, emulating a constantly available but empty node: all queries
will return no data or zeros, and transactions to all unmocked addresses
will fail.
Alternatively, this can be set to an object including a proxyTo property,
defining the URL of an Ethereum RPC node to which unmatched requests should be
forwarded. In this case all default behaviours will be disabled, and all
unmatched requests will receive real responses from that upstream node.
Specify the behaviour of unmatched requests.
By default this is set to
stub
, in which case default responses will be returned, emulating a constantly available but empty node: all queries will return no data or zeros, and transactions to all unmocked addresses will fail.Alternatively, this can be set to an object including a
proxyTo
property, defining the URL of an Ethereum RPC node to which unmatched requests should be forwarded. In this case all default behaviours will be disabled, and all unmatched requests will receive real responses from that upstream node.