@gphone/sdk
    Preparing search index...

    Interface Transaction

    A bank transaction, normalized by BankingBridge from whatever the server's banking resource stores.

    amount is always a positive magnitude and direction carries in/out. Banking scripts disagree here — Renewed-Banking stores positive amounts with the direction in a separate field — so inferring direction from a negative amount renders every withdrawal as a credit.

    interface Transaction {
        amount: number;
        direction: "in" | "out";
        id: string;
        issuer?: string;
        message?: string;
        receiver?: string;
        time: number;
        title?: string;
    }
    Index
    amount: number

    Positive magnitude. Never signed.

    direction: "in" | "out"
    id: string

    The banking resource's own transaction id. A string; not a row id.

    issuer?: string
    message?: string
    receiver?: string
    time: number

    Epoch seconds.

    title?: string