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 useConfig(): {
  config: Config;
};
Hook to get the CDP being used by the SDK.

Returns

{
  config: Config;
}
NameType
configConfig

Example

function App() {
  const { config } = useConfig();

  return (
    <div>
      <p>Project ID: {config.projectId}</p>
    </div>
  );
}