getLatestBootProof method

Future<TGetLatestBootProofResponse> getLatestBootProof({
  1. required TGetLatestBootProofBody input,
})

Get the latest boot proof for a given enclave app name.

Sign the provided TGetLatestBootProofBody with the client's stamp function and submit the request (POST /public/v1/query/get_latest_boot_proof).

See also: stampGetLatestBootProof.

Implementation

Future<TGetLatestBootProofResponse> getLatestBootProof({
  required TGetLatestBootProofBody input,
}) async {
  return await request<TGetLatestBootProofBody, TGetLatestBootProofResponse>(
      "/public/v1/query/get_latest_boot_proof",
      input,
      (json) => TGetLatestBootProofResponse.fromJson(json));
}