@across-protocol/app-sdk / buildSearchParams
buildSearchParams<
T
>(params
):string
Builds a URL search string from an object of query parameters.
• T extends Record
<string
, ParamBaseValue
| ParamBaseValue
[]>
• params: T
An object where keys are query parameter names and values are either a string or an array of strings representing the parameter values.
string
queryString - A properly formatted query string for use in URLs, (without the leading '?').