Type alias Swaps<C, MS>

Swaps<C, MS>: {
    getPool: PFunc<((query: PoolGetQuery) => Promise<IOption<Pool<C, MS>>>), C extends RpcContext<MS> ? {
        $: ((query: PoolGetQuery) => Observable<Pool<C, MS>>);
    } : {}>;
    listPools: ((query: PoolsListQuery<C, MS>) => Promise<PoolList<C, MS>>);
    poolPrices: PFunc<((query: PoolPricesQuery) => Promise<PoolPrices>), C extends RpcContext<MS> ? {
        $: ((query: PoolPricesStreamQuery) => Observable<PoolAssetPricesAtBlock>);
    } : {}>;
    saturatedPoolsIndex: ((pools: Pool<C, MS>[]) => Promise<SaturatedPoolIndex<C, MS>>);
}

Zeitgeist Swaps model..

Type Parameters

Type declaration

Generated using TypeDoc