Options
All
  • Public
  • Public/Protected
  • All
Menu

Hierarchy

  • MulticallBatch

Index

Constructors

constructor

Properties

Private batchSize

batchSize: number = 0

Private calls

calls: Array<Call> = []

Private executor

id

id: number = nextId++

Methods

atBatchSize

  • atBatchSize(): boolean
  • Returns boolean

call

  • call(to: string, data: Arrayish): Promise<unknown>
  • Parameters

    • to: string
    • data: Arrayish

    Returns Promise<unknown>

execute

  • execute(): Promise<void>
  • Returns Promise<void>

isSupported

  • isSupported(): Promise<boolean>
  • Returns Promise<boolean>

setBatchSize

  • setBatchSize(batchSize: number): void
  • Parameters

    • batchSize: number

    Returns void

Generated using TypeDoc