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; helpedForUpToGasPrice: { upToGasPrice: bigint; valueSent: bigint; }; slot: string; }

asPaymentFor.account

String0x

asPaymentFor.batchIndex

number

asPaymentFor.chainId

IntegerString

asPaymentFor.helpedForUpToGasPrice

{ upToGasPrice: bigint; valueSent: bigint; }

asPaymentFor.helpedForUpToGasPrice.upToGasPrice

bigint

asPaymentFor.helpedForUpToGasPrice.valueSent

bigint

asPaymentFor.slot

string

expiryTime

number

initialTime

number

onBehalf

String0x

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:105