Skip to main content

Interface: CreatePoolArgs

gSwap SDK 2.0.0-rc.4


gSwap SDK 2.0.0-rc.4 / CreatePoolArgs

Interface: CreatePoolArgs

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

Arguments of Positions.createPool and Positions.buildCreatePool.

Extends​

  • UniqueKeyArg

Properties​

fee​

fee: FEE_TIER

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


isPrivate?​

optional isPrivate?: boolean

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


name?​

optional name?: string

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

Optional pool display name, sent as the DTO's name; omitted when undefined or empty.


privateAccess?​

optional privateAccess?: string[]

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


startingPrice?​

optional startingPrice?: NumericAmount

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


startingSqrtPrice?​

optional startingSqrtPrice?: NumericAmount

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


token0​

token0: TokenRef

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


token0Symbol?​

optional token0Symbol?: string

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


token1​

token1: TokenRef

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


token1Symbol?​

optional token1Symbol?: string

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


uniqueKey?​

optional uniqueKey?: string

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

The attempt's uniqueKey (1-128 characters of A-Za-z0-9._:-). Default: a fresh <uniqueKeyPrefix><uuid>. Supply one to know the key before signing, or to retry the SAME attempt after a lost response; never reuse it for another write.

Inherited from​

UniqueKeyArg.uniqueKey