screeps-api
    Preparing search index...

    Interface UserMoneyHistoryTransaction

    A single record from UserMoneyHistoryResponse

    interface UserMoneyHistoryTransaction {
        _id: string;
        balance: number;
        change: number;
        date: string;
        market:
            | MoneyHistoryChangeOrderPrice
            | MoneyHistoryExtendOrder
            | MoneyHistoryFillOrder
            | MoneyHistoryNewOrder;
        shard?: string;
        tick?: number;
        type: "market.buy"
        | "market.sell"
        | "market.fee";
        user: string;
    }
    Index

    Properties

    _id: string
    balance: number

    Balance after the transaction was completed

    change: number

    Credits spent for or earned by this transaction

    date: string

    ISO 8601 transaction timestamp

    Transaction type -specific details

    shard?: string
    tick?: number

    Game time of transaction

    type: "market.buy" | "market.sell" | "market.fee"
    user: string

    This user's ID