Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface IBase

Hierarchy

  • IBase

Implemented by

Index

Properties

getBlock

getBlock: (chainId: number, blockHeight: number, pageSize?: undefined | number) => Promise<ErrorResponse | Block>

Type declaration

    • (chainId: number, blockHeight: number, pageSize?: undefined | number): Promise<ErrorResponse | Block>
    • Parameters

      • chainId: number
      • blockHeight: number
      • Optional pageSize: undefined | number

      Returns Promise<ErrorResponse | Block>

getBlockHeights

getBlockHeights: (chainId: number, startDate: string, endDate: string, pageSize: number) => Promise<ErrorResponse | BlockHeightRes>

Type declaration

getLogEventsByContractAddress

getLogEventsByContractAddress: (chainId: number, contractAddress: string, startingBlock: number, endingBlock: number, pageSize: number) => Promise<ErrorResponse | LogEvents>

Type declaration

    • (chainId: number, contractAddress: string, startingBlock: number, endingBlock: number, pageSize: number): Promise<ErrorResponse | LogEvents>
    • Parameters

      • chainId: number
      • contractAddress: string
      • startingBlock: number
      • endingBlock: number
      • pageSize: number

      Returns Promise<ErrorResponse | LogEvents>

getLogEventsByTopicHash

getLogEventsByTopicHash: (chainId: number, topicHash: string, startingBlock: number, endingBlock: number) => Promise<ErrorResponse | LogEventsByTopicHash>

Type declaration

Generated using TypeDoc