Skip to main content

Interface: GdexSubscribeOptions

gSwap SDK 2.0.0-rc.4


gSwap SDK 2.0.0-rc.4 / GdexSubscribeOptions

Interface: GdexSubscribeOptions

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

Options common to every subscription.

Properties​

fields?​

optional fields?: string[]

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

Trim each event to these fields; identity and envelope fields always stay.


snapshot?​

optional snapshot?: boolean

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

Send the current state right after the subscribe response.