Function update_relayer

Source
pub async fn update_relayer<J, RR, TR, NR, NFR, SR, TCR, PR>(
    relayer_id: String,
    patch: Value,
    state: ThinDataAppState<J, RR, TR, NR, NFR, SR, TCR, PR>,
) -> Result<HttpResponse, ApiError>
Expand description

Updates a relayer’s information.

§Arguments

  • relayer_id - The ID of the relayer to update.
  • update_req - The update request containing new relayer data.
  • state - The application state containing the relayer repository.

§Returns

The updated relayer information.