Skip to main content

Interface: GdexLiquidityFilter

gSwap SDK 2.0.0-rc.4


gSwap SDK 2.0.0-rc.4 / GdexLiquidityFilter

Interface: GdexLiquidityFilter

Defined in: packages/gswap-sdk/dist/index.d.ts:1715

Filters for GdexStreamService.subscribeLiquidity; all optional.

Properties​

owner?​

optional owner?: string

Defined in: packages/gswap-sdk/dist/index.d.ts:1721

Only events for this LP wallet (the position's owner).


pool?​

optional pool?: GdexPoolKey

Defined in: packages/gswap-sdk/dist/index.d.ts:1717

Only this pool, named by its key.


poolHash?​

optional poolHash?: string

Defined in: packages/gswap-sdk/dist/index.d.ts:1719

Only this pool, named by its hash (v2:<poolRef> for a v2 pool).


transactionId?​

optional transactionId?: string

Defined in: packages/gswap-sdk/dist/index.d.ts:1723

Only this transaction.


version?​

optional version?: "v2" | "v1" | "all"

Defined in: packages/gswap-sdk/dist/index.d.ts:1725

Contract version filter.