Function relayer_rpc
Source pub async fn relayer_rpc(
relayer_id: String,
request: Value,
state: ThinData<AppState<JobProducer>>,
) -> Result<HttpResponse, ApiError>
Expand description
Performs a JSON-RPC call through a specific relayer.
§Arguments
relayer_id
- The ID of the relayer.
request
- The raw JSON-RPC request value.
state
- The application state containing the relayer repository.
§Returns
The result of the JSON-RPC call.