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>

serviceParameters

ExecutionServiceParameters

options?
asPaymentFor

{ account: String0x; batchIndex: number; chainId: IntegerString; slot: string; upToGasPrice: bigint; }

asPaymentFor.account

String0x

asPaymentFor.batchIndex

number

asPaymentFor.chainId

IntegerString

asPaymentFor.slot

string

asPaymentFor.upToGasPrice

bigint

trusted

boolean

Returns

Promise<ExecutionResponse<TransactionDataType>>

getExecutionStatus()

Parameters

executionBatch
account

String0x

chainId

IntegerString

slot

string

Returns

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

getRemoteAccount()

Parameters

chainId

IntegerString

account

String0x

Returns

Promise<RemoteAccountInfo>

getServiceParameters()

Parameters

chainId

IntegerString

Returns

Promise<UpdateableParameters<ExecutionServiceParameters>>

Defined in

types/executor/index.ts:102