Skip to content

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

Class: TransactionData ​

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

TransactionData contains the raw transaction details needed to execute a swap on the blockchain

Constructors ​

Constructor ​

new TransactionData(): TransactionData

Returns ​

TransactionData

Properties ​

data ​

data: string = ''

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


from ​

from: string = ''

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


gas ​

gas: string = ''

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


gasPrice ​

gasPrice: string = ''

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


maxPriorityFeePerGas ​

maxPriorityFeePerGas: string = ''

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


minReceiveAmount ​

minReceiveAmount: string = ''

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


signatureData ​

signatureData: string[] = []

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


slippage ​

slippage: string = ''

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


to ​

to: string = ''

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


value ​

value: string = ''

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

Licensed under BUSL-1.1