Options
All
  • Public
  • Public/Protected
  • All
Menu

Class Method

Hierarchy

  • Method

Index

Constructors

Accessors

Methods

Constructors

constructor

  • Parameters

    Returns Method

Accessors

name

  • get name(): string
  • Returns string

Methods

call

  • call(...params: (string | number | object)[]): Promise<any>
  • Parameters

    • Rest ...params: (string | number | object)[]

    Returns Promise<any>

getPayload

  • getPayload(...params: (string | number | object)[]): { id: number; jsonrpc: string; method: string; params: any[] }
  • Parameters

    • Rest ...params: (string | number | object)[]

    Returns { id: number; jsonrpc: string; method: string; params: any[] }

    • id: number
    • jsonrpc: string
    • method: string
    • params: any[]

Generated using TypeDoc