Left Curve Software Stack
    Preparing search index...

    Type Alias PerpsTrade

    type PerpsTrade = {
        blockHeight: number;
        closingSize: string;
        createdAt: string;
        fee: string;
        fillId?: string | null;
        fillPrice: string;
        fillSize: string;
        isMaker?: boolean | null;
        openingSize: string;
        orderId: string;
        pairId: string;
        realizedPnl: string;
        tradeIdx: number;
        user: string;
    }
    Index

    Properties

    blockHeight: number
    closingSize: string
    createdAt: string
    fee: string
    fillId?: string | null

    Identifier shared between the two OrderFilled events of a single order-book match. null for trades executed before v0.15.0 — fill IDs were not assigned prior to that release.

    fillPrice: string
    fillSize: string
    isMaker?: boolean | null

    true for the maker side of a match, false for the taker side. null for trades executed before v0.16.0 — the maker/taker flag was not recorded prior to that release.

    openingSize: string
    orderId: string
    pairId: string
    realizedPnl: string
    tradeIdx: number
    user: string