interface BalanceData {
    credit: string;
    debit: string;
    net: string;
    settled: string;
    unclaimed?: string;
}

Properties

credit: string
debit: string
net: string
settled: string
unclaimed?: string

Unclaimed worker earnings amount Socket messages do not provide this field yet, so it may not be available in all cases.