We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent cb457b6 commit 38c2133Copy full SHA for 38c2133
crates/rpc/src/lib.rs
@@ -49,6 +49,9 @@ pub use ctx::RpcCtx;
49
mod eth;
50
pub use eth::{eth, CallErrorData, EthError, TxCacheForwarder};
51
52
+mod signet;
53
+pub use signet::signet;
54
+
55
mod interest;
56
57
pub(crate) mod util;
crates/rpc/src/signet/mod.rs
@@ -0,0 +1,15 @@
1
+//! Signet RPC methods and related code.
2
+use reth_node_api::FullNodeComponents;
3
4
+use crate::{ctx::RpcCtx, util::not_supported, Pnt};
5
6
+/// Instantiate a `signet` API router.
7
+pub fn signet<Host, Signet>() -> ajj::Router<RpcCtx<Host, Signet>>
8
+where
9
+ Host: FullNodeComponents,
10
+ Signet: Pnt,
11
+{
12
+ ajj::Router::new()
13
+ .route("sendBundle", not_supported)
14
+ .route("sendOrder", not_supported)
15
+}
0 commit comments