Skip to content

ChainGraph API Documentation / @badaitech/chaingraph-executor / server / ExecutionCommand

Interface: ExecutionCommand ​

Defined in: packages/chaingraph-executor/types/messages.ts:29

Command to control execution lifecycle

Properties ​

command ​

command: ExecutionCommandType

Defined in: packages/chaingraph-executor/types/messages.ts:33


executionId? ​

optional executionId: string

Defined in: packages/chaingraph-executor/types/messages.ts:31


id ​

id: string

Defined in: packages/chaingraph-executor/types/messages.ts:30


issuedBy ​

issuedBy: string

Defined in: packages/chaingraph-executor/types/messages.ts:46


payload ​

payload: object

Defined in: packages/chaingraph-executor/types/messages.ts:34

eventData? ​

optional eventData: object

eventData.eventName ​

eventName: string

eventData.payload? ​

optional payload: any

executionDepth? ​

optional executionDepth: number

externalEvents? ​

optional externalEvents: object[]

flowId? ​

optional flowId: string

integrations? ​

optional integrations: objectOutputType<{ archai: ZodOptional<ZodObject<{ agentID: ZodOptional<ZodString>; agentSession: ZodOptional<ZodString>; chatID: ZodOptional<ZodString>; messageID: ZodOptional<ZodNumber>; }, "strip", ZodTypeAny, { agentID?: string; agentSession?: string; chatID?: string; messageID?: number; }, { agentID?: string; agentSession?: string; chatID?: string; messageID?: number; }>>; external: ZodOptional<ZodRecord<ZodString, ZodAny>>; wallet: ZodOptional<ZodObject<{ address: ZodOptional<ZodString>; capabilities: ZodOptional<ZodObject<{ supportsBatchTransactions: ZodOptional<...>; supportsEIP1559: ZodOptional<...>; supportsEIP712: ZodOptional<...>; }, "strip", ZodTypeAny, { supportsBatchTransactions?: ... | ... | ...; supportsEIP1559?: ... | ... | ...; supportsEIP712?: ... | ... | ...; }, { supportsBatchTransactions?: ... | ... | ...; supportsEIP1559?: ... | ... | ...; supportsEIP712?: ... | ... | ...; }>>; chainId: ZodOptional<ZodNumber>; ensName: ZodOptional<ZodString>; isConnected: ZodBoolean; lastUpdated: ZodOptional<ZodNumber>; providerType: ZodOptional<ZodString>; rpcUrl: ZodOptional<ZodString>; }, "strip", ZodTypeAny, { address?: string; capabilities?: { supportsBatchTransactions?: boolean; supportsEIP1559?: boolean; supportsEIP712?: boolean; }; chainId?: number; ensName?: string; isConnected: boolean; lastUpdated?: number; providerType?: string; rpcUrl?: string; }, { address?: string; capabilities?: { supportsBatchTransactions?: boolean; supportsEIP1559?: boolean; supportsEIP712?: boolean; }; chainId?: number; ensName?: string; isConnected: boolean; lastUpdated?: number; providerType?: string; rpcUrl?: string; }>>; }, ZodAny, "strip">

options? ​

optional options: object

options.breakpoints? ​

optional breakpoints: string[]

options.debug? ​

optional debug: boolean

options.execution? ​

optional execution: object

options.execution.flowTimeoutMs? ​

optional flowTimeoutMs: number

options.execution.maxConcurrency? ​

optional maxConcurrency: number

options.execution.nodeTimeoutMs? ​

optional nodeTimeoutMs: number

parentExecutionId? ​

optional parentExecutionId: string

reason? ​

optional reason: string


requestId ​

requestId: string

Defined in: packages/chaingraph-executor/types/messages.ts:45


timestamp ​

timestamp: number

Defined in: packages/chaingraph-executor/types/messages.ts:44


workerId? ​

optional workerId: string

Defined in: packages/chaingraph-executor/types/messages.ts:32

Licensed under BUSL-1.1