Skip to main content

Documentation Index

Fetch the complete documentation index at: https://docs.cloud.coinbase.com/llms.txt

Use this file to discover all available pages before exploring further.

function getSecureIframeOrigin(url: string): string;
Extracts the origin from a URL string.

Parameters

ParameterTypeDescription
urlstringThe URL to extract the origin from.

Returns

string The origin string, or empty string if parsing fails.