Options
All
  • Public
  • Public/Protected
  • All
Menu

Hierarchy

Index

Constructors

constructor

Properties

api

api: AxiosInstance

Optional resources

resources: Record<string, string>

url

url: string

Methods

block

  • block(height: number): Promise<ApiBlock>
  • block(hash: string): Promise<ApiBlock>

Protected getResource

  • getResource(name: string, ...args: string[]): string

Protected handleErrors

  • handleErrors(e: AxiosError): AxiosError

lastHeight

  • lastHeight(): Promise<number>

subscribe