Expand description
RPC testing utilities.
Macrosยง
- shuffled_
list ๐
Structsยง
- Shuffled
List ๐
Enumsยง
- RpcMethod
Rejection ๐
Constantsยง
- MONAD_
SYSTEM_ ๐ADDRESS
Staticsยง
- ARBITRUM_
URLS ๐ - DRPC_
KEYS ๐ - ETHERSCAN_
KEYS ๐ - HTTP_
ARCHIVE_ ๐DOMAINS - HTTP_
DOMAINS ๐ - WS_
ARCHIVE_ ๐DOMAINS - WS_
DOMAINS ๐
Functionsยง
- canonicalize_
monad_ ๐system_ receipt - canonicalize_
monad_ ๐system_ response - canonicalize_
monad_ ๐system_ result - canonicalize_
monad_ ๐system_ transaction - debug_
url ๐ - Basic redaction for debugging RPC URLs.
- env_
rpc_ ๐url - Returns the RPC URL configured in the
varenvironment variable, if it is set and non-empty. - next_
archive_ ๐url - Returns a URL that has access to archive state.
- next_
etherscan_ api_ key - Returns the next etherscan api key.
- next_
http_ archive_ rpc_ url - Returns an HTTP URL that has access to archive state
- next_
http_ rpc_ endpoint - Returns the next mainnet rpc URL in inline
- next_
rpc_ endpoint - Returns the next HTTP RPC URL.
- next_
url ๐ - next_
url_ ๐inner - next_
ws_ archive_ rpc_ url - Returns a websocket URL that has access to archive state
- next_
ws_ endpoint - Returns the next WS RPC URL.
- next_
ws_ rpc_ endpoint - Returns the next mainnet rpc URL in inline
- parse_
rpc_ ๐quantity - rpc_
endpoints - the RPC endpoints used during tests
- spawn_
canonical_ monad_ system_ rpc - Spawns an RPC proxy that presents one transaction as a canonical Monad protocol envelope.
- spawn_
rpc_ proxy_ canned_ method - Spawns an RPC proxy that answers
methodwithresultinstead of forwarding it upstream. - spawn_
rpc_ proxy_ internal_ error_ after - Spawns an RPC proxy that returns a JSON-RPC internal error for
methodafter forwardingsuccessful_callsrequests. - spawn_
rpc_ proxy_ method_ not_ found_ before - Spawns an RPC proxy that returns method-not-found for the first
unavailable_callsrequests tomethod. - spawn_
rpc_ ๐proxy_ rejecting_ method - spawn_
rpc_ proxy_ rejecting_ method_ after - Spawns an RPC proxy that rejects
methodafter forwardingsuccessful_callsrequests. - spawn_
rpc_ proxy_ rejecting_ method_ when_ enabled - Spawns an RPC proxy whose rejection of
methodcan be enabled after startup.