OptionalexecutionExecution mode for the operation.
'sync' (default): Attempts to process the transaction immediately. If a timeout occurs, automatically falls back to returning a pending operation ID. This is the Vana App's current model.
'async': Immediately queues the operation and returns a pending operation ID. The transaction will be processed by a background worker. Requires an operationStore to be configured.
OptionalsyncTimeout for synchronous execution in milliseconds. Only applies when execution is 'sync'.
OptionalgasGas limit for the transaction
OptionalgasGas price in wei (for legacy transactions)
OptionalmaxMaximum fee per gas in wei (EIP-1559)
OptionalmaxMaximum priority fee per gas in wei (EIP-1559)
OptionalnonceTransaction nonce override
OptionalvalueETH value to send with transaction
OptionalsignalAbortSignal for cancelling long-running operations.
OptionalonCallback for receiving status updates during long-running operations.
The current operation status
OptionalpollingCustom polling options for long-running operations.
Optionaltimeout?: numberTotal timeout in milliseconds (default: 300000 = 5 min)
OptionalinitialInterval?: numberInitial polling interval in milliseconds (default: 1000)
OptionalmaxInterval?: numberMaximum polling interval in milliseconds (default: 10000)
Options for handleRelayerOperation