Skip to content

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

Class: DexProtocol ​

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

DexProtocol represents a decentralized exchange protocol with its contribution percentage to a swap route

Constructors ​

Constructor ​

new DexProtocol(): DexProtocol

Returns ​

DexProtocol

Properties ​

dexName ​

dexName: string = ''

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


percent ​

percent: string = ''

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

Licensed under BUSL-1.1