Skip to main content

Interface: InvalidEntry

gSwap SDK 2.0.0-rc.4


gSwap SDK 2.0.0-rc.4 / InvalidEntry

Interface: InvalidEntry

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

One row of a list answer that the SDK skipped because it was not usable.

Properties​

entry​

entry: unknown

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

The row exactly as the backend sent it.


index​

index: number

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

Position of the row in the answer's array; for prices (an answer keyed by token), the position of the token in the list asked for.


reason​

reason: string

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

Why it was skipped, in words.


source​

source: "pools" | "symbols" | "positions" | "prices" | "priceSeries" | "seasons" | "leaderboard"

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

Which read the row came from.