Options
All
  • Public
  • Public/Protected
  • All
Menu

@ethercast/etherscan-client

Index

Type aliases

ContractABI

ContractABI: ReadonlyArray<ContractMember>

Variables

Const JoiContractABI

JoiContractABI: ArraySchema = Joi.array().items(JoiContractMember)

Const JoiContractMember

JoiContractMember: ObjectSchema = Joi.object({anonymous: Joi.boolean(),constant: Joi.boolean(),inputs: JoiContractMemberParameters,name: Joi.string().allow(''),outputs: JoiContractMemberParameters,payable: Joi.boolean(),stateMutability: Joi.string(),type: Joi.string()})

Const JoiContractMemberParameters

JoiContractMemberParameters: ArraySchema = Joi.array().items(Joi.alternatives(JoiParameter, JoiTuple))

Const JoiParameter

JoiParameter: ObjectSchema = Joi.object({indexed: Joi.boolean(),name: Joi.string().allow(''),type: Joi.string()})

Const JoiTuple

JoiTuple: ObjectSchema = JoiParameter.keys({components: Joi.array().items(JoiParameter).min(1).required(),type: Joi.string().valid('tuple').required()})

Const MAINNET_API_URL

MAINNET_API_URL: "https://api.etherscan.io/api" = "https://api.etherscan.io/api"

Functions

timed

  • timed(f: function): Promise<number>

Generated using TypeDoc