Skip to content

Latest commit

 

History

History
73 lines (39 loc) · 1.73 KB

base.BaseEthersClient.md

File metadata and controls

73 lines (39 loc) · 1.73 KB

@human-protocol/sdk / Modules / base / BaseEthersClient

Class: BaseEthersClient

base.BaseEthersClient

Introduction

This class is used as a base class for other clients making on-chain calls.

Hierarchy

Table of contents

Constructors

Properties

Constructors

constructor

new BaseEthersClient(runner, networkData): BaseEthersClient

BaseClient constructor

Parameters

Name Type Description
runner ContractRunner The Signer or Provider object to interact with the Ethereum network
networkData NetworkData The network information required to connect to the contracts

Returns

BaseEthersClient

Defined in

base.ts:20

Properties

networkData

networkData: NetworkData

Defined in

base.ts:12


runner

Protected runner: ContractRunner

Defined in

base.ts:11