Function cubist_proxy::pipeline::eth_pair
source · pub async fn eth_pair(
jrpc: impl Pair<Value, JrpcRequest> + Unpin + 'static,
uri: Uri,
proxy: Arc<CredProxy>,
pool: Option<ConnPool>
) -> Result<(), FatalErr>
Expand description
Intercepts Ethereum requests as in the case of eth
, except that it operates on a Pair
.
This is useful when you have a pipeline that needs to process the Offchain
before applying
the eth
functionality to it. See the ava
pipeline for an example.