Skip to content

Commit 7290684

Browse files
committed
feat: make bridge url params optional
1 parent 66f25ff commit 7290684

File tree

1 file changed

+1
-1
lines changed
  • src/Packages/Marketplace/Runtime/Bridge

1 file changed

+1
-1
lines changed

src/Packages/Marketplace/Runtime/Bridge/Bridge.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ public Bridge(string environment)
3434
/// <param name="toTokenAddress">The address of the token being moved to (default is null).</param>
3535
/// <param name="toChain">The ID of the destination blockchain (default is null).</param>
3636
/// <returns>A bridge URL.</returns>
37-
public string GetLink(string? fromTokenAddress, string? fromChain, string? toTokenAddress, string? toChain)
37+
public string GetLink(string? fromTokenAddress = null, string? fromChain = null, string? toTokenAddress = null, string? toChain = null)
3838
{
3939
var baseUrl = BaseUrls[_environment];
4040

0 commit comments

Comments
 (0)