Skip to main content

constants sub-class

The constants sub-class exposes all the kETH protocol contract addresses, the graphql endpoints for the selected network, and the custom errors thrown by the SDK.

Usage

const factoryAddresses = await sdk.constants.factoryAddresses();
const customErrors = await sdk.constants.customErrors();
const urls = await sdk.constants.urls();