OptionalgatewayIPFS gateway base URL (e.g., from getGateway("paseo")). If provided, result includes gatewayUrl.
OptionalonLifecycle status callback for UI progress. Transaction path only.
OptionaltimeoutTimeout in ms. Default: 300_000 (5 min). Transaction path only.
OptionalwaitWhen to resolve: "best-block" (default) or "finalized". Transaction path only.
Options for upload.
Note:
waitFor,timeoutMs, andonStatusonly apply to the transaction upload path (when an explicit signer is used or the dev signer fallback is active). The preimage path delegates to the host which controls its own submission lifecycle — these options are ignored in that case.