Options
All
  • Public
  • Public/Protected
  • All
Menu

Class EtherscanClient

This is the default export of the library, a client that can be constructed for interacting with the Etherscan API.

Hierarchy

  • EtherscanClient

Index

Constructors

constructor

Properties

Private apiKey

apiKey: string

Private apiUrl

apiUrl: string

Private lastRequestTime

lastRequestTime: number | null = null

Private maxRequestsPerSecond

maxRequestsPerSecond: number

Methods

call

getAbi

Private throttle

  • throttle(): Promise<void>

Generated using TypeDoc