Function sign_data

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

Signs data using a specific relayer.

§Arguments

  • relayer_id - The ID of the relayer.
  • request - The sign data request.
  • state - The application state containing the relayer repository.

§Returns

The signed data response.