Skip to content

FUZD / fuzd-common / Executor

Type Alias: Executor<TransactionDataType>

Executor<TransactionDataType>: object

Type Parameters

TransactionDataType

Type declaration

broadcastExecution()

Parameters

slot: string

batchIndex: number

account: String0x

execution: ExecutionSubmission<TransactionDataType>

options?

options.expectedWorstCaseGasPrice?: bigint

Returns

Promise<ExecutionResponse<TransactionDataType>>

getExecutionStatus()

Parameters

executionBatch

executionBatch.account: String0x

executionBatch.chainId: String0x

executionBatch.slot: string

Returns

Promise<undefined | "finalized" | "broadcasted">

getExpectedWorstCaseGasPrice()?

Parameters

chainId: String0x

Returns

Promise<ExpectedWorstCaseGasPrice>

getRemoteAccount()

Parameters

chainId: String0x

account: String0x

Returns

Promise<RemoteAccountInfo>

Defined in

types/executor/index.ts:58