Skip to main content
The fetchOnrampOptions utility retrieves supported fiat currencies and available crypto assets for a specific country. This information is essential for determining which assets can be purchased in the user’s jurisdiction.

Usage

Parameters

Returns

Promise<OnrampOptionsResponseData> - Returns a promise that resolves to the available options for the specified location. See OnrampOptionsResponseData for full response type details.