Expand description
An ExEx example that installs a new RPC subscription endpoint that emits storage changes for a requested address.
Re-exportsยง
pub(crate) use map::AddressMap;๐pub(crate) use Address;๐pub(crate) use U256;๐pub(crate) use futures::TryStreamExt;๐pub(crate) use core::SubscriptionResult;๐pub(crate) use proc_macros::rpc;๐pub(crate) use PendingSubscriptionSink;๐pub(crate) use SubscriptionMessage;๐pub(crate) use ExExContext;๐pub(crate) use ExExEvent;๐pub(crate) use ExExNotification;๐pub(crate) use api::FullNodeComponents;๐pub(crate) use builder::NodeHandleFor;๐pub(crate) use EthereumNode;๐pub(crate) use mpsc;๐pub(crate) use oneshot;๐pub(crate) use error;๐pub(crate) use info;๐
Structsยง
- Storage
Diff ๐ - Subscription update format for storage changes. This is the format that will be sent to the client when a storage change occurs.
- Storage
Watcher ๐Rpc - API implementation for the storage watcher.
- Subscription
Request ๐ - Subscription request format for storage changes.
Traitsยง
- Storage
Watcher ApiServer - Server trait implementation for the
StorageWatcherApiRPC API.
Functionsยง
Type Aliasesยง
- Subscription
Sender ๐ - Subscription request format for storage changes.