Class BulkAccountLoader

Hierarchy

  • BulkAccountLoader

Constructors

Properties

accountsToLoad: Map<string, AccountToLoad> = ...
bufferAndSlotMap: Map<string, BufferAndSlot> = ...
commitment: Commitment
connection: Connection
errorCallbacks: Map<string, ((e: any) => void)> = ...
intervalId?: Timeout
lastTimeLoadingPromiseCleared: number = ...
loadPromise?: Promise<void>
loadPromiseResolver: (() => void)

Type declaration

    • (): void
    • Returns void

mostRecentSlot: number = 0
pollingFrequency: number

Methods

  • Parameters

    • publicKey: PublicKey
    • callback: ((buffer: Buffer, slot: number) => void)
        • (buffer: Buffer, slot: number): void
        • Parameters

          • buffer: Buffer
          • slot: number

          Returns void

    Returns Promise<string>

  • Parameters

    • callback: ((error: Error) => void)
        • (error: Error): void
        • Parameters

          • error: Error

          Returns void

    Returns string

Generated using TypeDoc