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
Copy file name to clipboardExpand all lines: src/Packages/Marketplace/Runtime/LinkFactory.cs
+81-25Lines changed: 81 additions & 25 deletions
Original file line number
Diff line number
Diff line change
@@ -13,37 +13,95 @@ public class LinkFactory
13
13
/// <param name="email">The user's email address, pre-filled in the on-ramp flow.</param>
14
14
/// <param name="address">The user's wallet address, where tokens will be sent.</param>
15
15
/// <param name="queryParams">The query parameters for the on-ramp flow. Uses default values if not specified.</param>
16
+
/// <param name="extraQueryParams">Optional additional query parameters. See <a href="https://docs.transak.com/docs/customization-options">Transak docs</a> for possible fields.</param>
16
17
/// <returns>The generated on-ramp URL.</returns>
18
+
/// <remarks>
19
+
/// If <paramref name="extraQueryParams"/> includes any fields that are already defined in <paramref name="queryParams"/>,
20
+
/// the values in <paramref name="queryParams"/> will take precedence.
21
+
/// For example, if <paramref name="extraQueryParams"/> contains "defaultFiatAmount", it will be ignored and the value
22
+
/// from <paramref name="queryParams.DefaultFiatAmount"/> will be used instead.
0 commit comments