Obol sdk Client can be used for creating, managing and activating distributed validators.

Hierarchy

  • Base
    • Client

Constructors

  • Parameters

    • config: {
          baseUrl?: string;
          chainId?: number;
      }
      • Optional baseUrl?: string
      • Optional chainId?: number
    • signer: Signer

      ethersJS Signer

    Returns Client

    Obol-SDK Client instance

    An example of how to instantiate obol-sdk Client: obolClient

Methods

  • Creates a cluster definition which contains cluster configuration.

    Parameters

    Returns Promise<string>

    config_hash.

    Throws

    On duplicate entries, missing or wrong cluster keys.

    An example of how to use createClusterDefinition: createObolCluster

  • Parameters

    • configHash: string

    Returns Promise<ClusterLock>

    The matched cluster details (lock) from DB

    Throws

    On not found cluster definition or lock.

    An example of how to use getClusterLock: getObolClusterLock

Generated using TypeDoc