Result: Record<string, {
    aclass: string;
    amount: string;
    asset: string;
    balance: string;
    fee: string;
    refid: string;
    subtype: string;
    time: number;
    type:
        | "trade"
        | "deposit"
        | "withdraw"
        | "transfer"
        | "margin"
        | "rollover"
        | "spend"
        | "receive"
        | "settled"
        | "adjustment";
}>

Reference: Query Ledgers