Skip to main content

Crate exex_subscription

Crate exex_subscription 

Source
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ยง

StorageDiff ๐Ÿ”’
Subscription update format for storage changes. This is the format that will be sent to the client when a storage change occurs.
StorageWatcherRpc ๐Ÿ”’
API implementation for the storage watcher.
SubscriptionRequest ๐Ÿ”’
Subscription request format for storage changes.

Traitsยง

StorageWatcherApiServer
Server trait implementation for the StorageWatcherApi RPC API.

Functionsยง

main ๐Ÿ”’
my_exex ๐Ÿ”’

Type Aliasesยง

SubscriptionSender ๐Ÿ”’
Subscription request format for storage changes.