OptionaldryWhen true, quote + build + eth_call simulate each slice WITHOUT sending.
Defaults to true unless the client has a wallet. Set false explicitly to
send real transactions.
OptionalintervalDelay between slices in ms.
OptionalonCalled before each slice; return false to skip it.
OptionalonCalled after each slice with its result.
OptionalrecipientOutput recipient. Defaults to client.account?.address. Required when
dry-running a TWAP on a read-only client (no account) — planning and
simulating a swap for an address you're merely watching needs no keys.
OptionalsignalKill switch — abort between slices.
OptionalslicesNumber of equal slices.
OptionalslippagePer-slice slippage tolerance in basis points.
OptionalspendHard spend cap on tokenIn. Defaults to totalAmountIn.
Total input amount to work, in tokenIn raw units.
Configuration for a TwapExecutor.