OptionalmaxMaximum time to wait in milliseconds before giving up.
OptionalminMinimum polling interval in milliseconds when rate limited. The actual wait will use the calculated waitMs from canMintCouponsNow, but this sets a minimum interval between checks.
OptionalonCallback invoked just before the mint function is called. Useful for logging or updating UI.
OptionalonOptional callback invoked when waiting starts, providing the estimated wait time. Useful for logging or updating UI.
OptionalsignalSignal to abort the wait operation. If the signal is aborted, the promise will reject with an AbortError.
Options for mintWithRateLimit operation.