You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
* @param source Used to manually override the source domain used to attribute local orders
21
-
* @param logLevel Log level from 0-4, the higher the more verbose.
22
-
* @param maxPollingAttemptsBeforeTimeout The maximum number of attempts the synced api is polled before timing out. The api is polled every 5 secs (default is 30)
20
+
*
21
+
* @property {string} [baseApiUrl] - The base URL for the Relay API. Defaults to the mainnet API if not provided.
22
+
* @property {string} [source] - The source to associate your onchain activity with, should be a domain.
23
+
* @property {LogLevel} [logLevel] - Log level from 0-4, the higher the more verbose. Defaults to LogLevel.None.
24
+
* @property {number} [pollingInterval] - Interval (in ms) for polling the API for status updates.
25
+
* @property {number} [maxPollingAttemptsBeforeTimeout] - The maximum number of polling attempts before timing out. The API is polled every 5 seconds by default (default is 30 attempts).
26
+
* @property {RelayChain[]} [chains] - List of supported chains. If not provided, defaults to all mainnet/testnet chains based on the API URL.
27
+
* @property {boolean} [useGasFeeEstimations] - Whether to use gas fee estimations. Defaults to true.
28
+
* @property {string} [uiVersion] - Optional UI version string for analytics/debugging.
29
+
* @property {(message: Parameters<typeof logUtil>[0], level: LogLevel) => void} [logger] - Custom logger function. If not provided, uses the default logger.
30
+
* @property {number} [confirmationPollingInterval] - Interval (in ms) for polling transaction confirmations.
0 commit comments