How to change the API base URL in the SDK (baseUrl)

Set hosted.baseUrl when you create the client. The default is https://api.clearrun.net. Most people never change it.

Last updated

Steps

  1. Set it

    const client = createKernelClient({
      hosted: { baseUrl: 'https://api.clearrun.net' },
    });
  2. For lookups only

    const verifier = createVerifyClient({ baseUrl: 'https://api.clearrun.net' });

Use only an address you trust

Your API key is sent to that address.