Skip to main content

Type Alias: CreatePoolDTO

gSwap SDK 2.0.0-rc.4


gSwap SDK 2.0.0-rc.4 / CreatePoolDTO

Type Alias: CreatePoolDTO

CreatePoolDTO = object & { startingPrice: string; startingSqrtPrice?: never; } | { startingPrice?: never; startingSqrtPrice: string; }

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

A v2 pool creation request with exactly one initial-price representation.

Type Declaration​

fee​

fee: FEE_TIER

isPrivate?​

optional isPrivate?: boolean

name?​

optional name?: string

privateAccess?​

optional privateAccess?: string[]

token0Key​

token0Key: GalaChainTokenClassKey

token0Symbol​

token0Symbol: string

token1Key​

token1Key: GalaChainTokenClassKey

token1Symbol​

token1Symbol: string

uniqueKey​

uniqueKey: string