RAILGUN Reloaded
    Preparing search index...

    Type Alias TransactionHistoryEntry

    One transaction, with every amount it moved for this wallet.

    type TransactionHistoryEntry = {
        txid: string;
        blockNumber: bigint;
        timestamp: Date | null;
        category: TransactionCategory;
        received: ReceivedTokenAmount[];
        spent: HistoryTokenAmount[];
        transferred: TransferredTokenAmount[];
        unshields: UnshieldTokenAmount[];
        spendState: NoteSpendState | null;
        poiStatus: TransactionPoiStatus;
        pending: boolean;
    }
    Index
    txid: string

    Ethereum transaction hash, 0x-prefixed.

    blockNumber: bigint

    Block the transaction was mined in.

    timestamp: Date | null

    When the block was mined, when the chain data carries it.

    What the transaction did for this wallet.

    Notes the transaction created for this wallet.

    Notes of this wallet the transaction spent.

    transferred: TransferredTokenAmount[]

    What the transaction moved to another private address, per token.

    Read from the outputs this wallet decrypted as sender, when it recorded any for the transaction: each names its recipient and its output type, so a transfer separates from change and from a broadcaster fee exactly.

    A transaction scanned before sender-side outputs were persisted has no such record. It falls back to the residual of spent, less change, less a self-held fee, and less anything unshielded.

    unshields: UnshieldTokenAmount[]

    Amounts this wallet moved out to a public address. One transaction can carry the Railgun transactions of several wallets, so an unshield is attributed through the nullifiers of the notes this wallet spent. A transaction whose Railgun transactions were not recorded carries no such evidence, and reports every unshield under its hash.

    spendState: NoteSpendState | null

    PPOI state across the notes this transaction created. Reports the least settled of them, so a transaction is only cleared once all of its notes are. Null when the transaction created no notes for this wallet.

    Persisted output PPOI, independent of note spendability. History makes no node requests.

    pending: boolean

    True while the entry comes from a transaction the wallet recorded itself and decryption has not reached yet.