Skip to content

ChainGraph API Documentation / @badaitech/chaingraph-nodes / QuoteParams

Class: QuoteParams ​

Defined in: packages/chaingraph-nodes/src/nodes/okx-dex-api/types.ts:1086

QuoteParams extends BaseParams with required slippage parameter

Constructors ​

Constructor ​

new QuoteParams(): QuoteParams

Returns ​

QuoteParams

Properties ​

amount ​

amount: string = ''

Defined in: packages/chaingraph-nodes/src/nodes/okx-dex-api/types.ts:1113


chainId ​

chainId: string = ''

Defined in: packages/chaingraph-nodes/src/nodes/okx-dex-api/types.ts:1092


fromTokenAddress ​

fromTokenAddress: string = ''

Defined in: packages/chaingraph-nodes/src/nodes/okx-dex-api/types.ts:1099


slippage ​

slippage: string = ''

Defined in: packages/chaingraph-nodes/src/nodes/okx-dex-api/types.ts:1126


toTokenAddress ​

toTokenAddress: string = ''

Defined in: packages/chaingraph-nodes/src/nodes/okx-dex-api/types.ts:1106


userWalletAddress? ​

optional userWalletAddress: string

Defined in: packages/chaingraph-nodes/src/nodes/okx-dex-api/types.ts:1119

Licensed under BUSL-1.1