Skip to main content

constants sub-class

The constants sub-class provides a list of constants used throughout the SDK.

Using the constants sub-class

const sdkConstants = await sdk.constants;

Constants exposed by the constants sub-class

  • _RAGE_QUIT_PACKET_TYPEHASH
  • stakehouseAddresses : Contract addresses deployed and used by Stakehouse Universe
    • TRANSACTION_ROUTER
    • ACCOUNT_MANAGER
    • SAVETH_REGISTRY
    • SAVETH_MANAGER
    • SAVETH_BATCH_TX
    • SLOT_SETTLEMENT_REGISTRY
    • DETH
    • SAVETH_INDEX_NAMING_REGISTRY
    • SAFE_BOX
    • STAKEHOUSE_UNIVERSE
    • HOUSE_RAGE_QUIT_ADAPTOR
  • stakehouseUrls : Endpoint URLs being used in the SDK
    • SUBGRAPH_ENDPOINTS
    • BEACON_AUTH_ENDPOINT
    • CREDENTIAL_GENERATOR
    • BLS_AUTH_ENDPOINT
  • customErrors : custom errors defined and used in the SDK
  • signatureEnum : signature enum required for multiparty ragequit
  • KNOT_BATCH_AMOUNT