Interface SupportedProvider

interface SupportedProvider {
    getSigner?(): unknown;
    getSigner?(addressOrIndex?): Promise<unknown>;
    request?(args): Promise<unknown>;
    send?(method, params?): Promise<unknown>;
}

Methods

  • Returns unknown

  • Parameters

    • Optional addressOrIndex: string | number

    Returns Promise<unknown>

  • Parameters

    • args: {
          method: string;
          params?: unknown[];
      }
      • method: string
      • Optional params?: unknown[]

    Returns Promise<unknown>

  • Parameters

    • method: string
    • Optional params: unknown[]

    Returns Promise<unknown>