aftermath-ts-sdk - v3.3.3
    Preparing search index...

    Interface DcaOrderTradeObject

    Represents data for a successful trade that occurred in a DCA sequence, including the amounts of allocated/buy coins, the final transaction info, etc.

    interface DcaOrderTradeObject {
        allocatedCoin: { amount: bigint; coin: string };
        buyCoin: { amount: bigint; coin: string };
        rate: number | undefined;
        tnxDate: number;
        tnxDigest: string;
        txnDigest: string;
        txnTimestamp: number;
    }
    Index
    allocatedCoin: { amount: bigint; coin: string }

    The coin & amount that was spent in this trade (e.g., SUI).

    buyCoin: { amount: bigint; coin: string }

    The coin & amount that was purchased (e.g., USDC).

    rate: number | undefined

    The effective rate of the trade, if available, e.g. "0.95" or "1.10".

    tnxDate: number

    use txnTimestamp instead

    tnxDigest: string

    use txnDigest instead

    txnDigest: string

    The final transaction digest for this trade. (Deprecated field tnxDigest also present.)

    txnTimestamp: number

    The timestamp (in ms) when this trade was executed. (Deprecated field tnxDate also present.)