InvokeResponse: Message<"virtufin.InvokeResponse"> & {
    message: string;
    responseData: Uint8Array;
    status: string;
    statusDetails: Uint8Array;
    success: boolean;
}

The envelope reports the proxied call's outcome: status is the backend's gRPC status code name (or the gateway's, when it failed before reaching the backend), and status_details the details that came with it.

Type declaration

  • message: string

    from field: string message = 3;

  • responseData: Uint8Array

    from field: bytes response_data = 4;

  • status: string

    from field: string status = 2;

  • statusDetails: Uint8Array

    On a failure: the encoded google.rpc.Status of the failure (the backend's grpc-status-details-bin trailer, or the gateway's own), whose details hold a google.rpc.ErrorInfo. Empty on success.

    from field: bytes status_details = 5;

  • success: boolean

    from field: bool success = 1;

from message virtufin.InvokeResponse