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

    Interface RouterTradeEvent

    Event that occurs when a user executes a trade route via the router.

    interface RouterTradeEvent {
        coinInAmount: bigint;
        coinInType: string;
        coinOutAmount: bigint;
        coinOutType: string;
        timestamp: number | undefined;
        trader: string;
        txnDigest: string;
        type: string;
    }

    Hierarchy (View Summary)

    Index
    coinInAmount: bigint

    The input amount in the coin's smallest unit.

    coinInType: string

    The input coin type.

    coinOutAmount: bigint

    The output amount in the coin's smallest unit.

    coinOutType: string

    The output coin type.

    timestamp: number | undefined

    Timestamp of the event, if available.

    trader: string

    The Sui address that executed the routed trade.

    txnDigest: string

    The transaction digest associated with the event.

    type: string

    A string identifying the Move event type.