Skip to main content

Type Alias: CreatePoolInput

gSwap SDK 2.0.0-rc.4


gSwap SDK 2.0.0-rc.4 / CreatePoolInput

Type Alias: CreatePoolInput

CreatePoolInput = object & { startingPrice: NumericAmount; startingSqrtPrice?: undefined; } | { startingPrice?: undefined; startingSqrtPrice: NumericAmount; }

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

A CreatePool in canonical orientation, with exactly one starting price.

Type Declaration​

fee​

fee: number

isPrivate?​

optional isPrivate?: boolean

name?​

optional name?: string

Optional display name; omitted when undefined or empty.

privateAccess?​

optional privateAccess?: string[]

token0Key​

token0Key: GalaChainTokenClassKey

token0Symbol​

token0Symbol: string

The symbols to register; token0Symbol < token1Symbol and both proposable.

token1Key​

token1Key: GalaChainTokenClassKey

token1Symbol​

token1Symbol: string

uniqueKey​

uniqueKey: string