Skip to content

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

Class: SwapExecutionData

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

SwapExecutionData contains the routing result and transaction details needed to execute a swap

Constructors

Constructor

new SwapExecutionData(): SwapExecutionData

Returns

SwapExecutionData

Properties

routerResult

routerResult: RouterResult

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


tx?

optional tx: TransactionData

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

Licensed under BUSL-1.1