Expand description
Provider-related instantiation and usage utilities.
Modules§
- Runtime transport that connects on first request, which can take either of an HTTP, WebSocket, or IPC transport and supports retries based on CUPS logic.
Structs§
- Helper type to construct a
RetryProvider
Constants§
- The assumed block time for unknown chains. We assume that these are chains have a faster block time.
- The factor to scale the block time by to get the poll interval.
Functions§
- Constructs a provider with a 100 millisecond interval poll if it’s a localhost URL (most likely an anvil or other dev node) and with the default, or 7 second otherwise.
- Constructs a provider with a 100 millisecond interval poll if it’s a localhost URL (most likely an anvil or other dev node) and with the default, or 7 second otherwise.
Type Aliases§
- Helper type alias for a retry provider
- Helper type alias for a retry provider with a signer