Result: Record<string, {
    ccost: string;
    cfee: string;
    cmargin: string;
    cost: string;
    cprice: string;
    cvol: string;
    fee: string;
    ledgers: string[];
    leverage: string;
    maker: boolean;
    margin: string;
    misc: string;
    net: string;
    ordertxid: string;
    ordertype:
        | "market"
        | "limit"
        | "stop-loss"
        | "take-profit"
        | "stop-loss-limit"
        | "take-profit-limit"
        | "settle-position";
    pair: string;
    posstatus: "open" | "closed";
    postxid: string;
    price: string;
    time: number;
    trade_id: number;
    trades: string[];
    type: "buy" | "sell";
    vol: string;
}>

Reference: Query Trades Info

The txid field doesn't accept whitespaces in the comma-separated list of trades IDs.