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

    Type Alias RouterTradePath

    RouterTradePath: RouterTradeInfo & {
        poolId: ObjectId;
        poolMetadata: any;
        protocolName: RouterProtocolName;
    }

    Represents an individual path within a route. Typically corresponds to a specific DEX pool and the swap details in that pool.

    Type Declaration

    • poolId: ObjectId

      The on-chain pool or market object ID used by the path.

    • poolMetadata: any

      Protocol-specific pool metadata returned by the router. Treat this value as opaque unless the selected protocol documents its shape.

    • protocolName: RouterProtocolName

      The DEX protocol used for this path, such as "Cetus".