Documentation
    Preparing search index...

    Type Alias TransportDetails

    TransportDetails:
        | { $kind: "jsonRpc"; response: unknown }
        | {
            $kind: "grpc";
            status: { code: number; details: unknown[]; message: string };
        }
        | { $kind: "graphql" }

    Structured per-transport escape hatch attached to any SuiClientError. Narrow on $kind to get typed access to the raw wire payload.

    Type Declaration

    • { $kind: "jsonRpc"; response: unknown }
      • $kind: "jsonRpc"
      • response: unknown

        The raw ObjectResponseError payload from the JSON-RPC response.

    • { $kind: "grpc"; status: { code: number; details: unknown[]; message: string } }
      • $kind: "grpc"
      • status: { code: number; details: unknown[]; message: string }

        The google.rpc.Status attached to the per-object gRPC result.

    • { $kind: "graphql" }