Options
All
  • Public
  • Public/Protected
  • All
Menu

Hierarchy

Index

Constructors

constructor

  • 构造函数

    Parameters

    Returns API

Properties

_provider

_provider: Provider

Accessors

provider

provider:

Methods

broadcastTransaction

  • broadcastTransaction(trx: Transaction): Promise<object>

Private connect

  • connect(): boolean

contract

  • contract(name: string): Promise<any>
  • Parameters

    • name: string

    Returns Promise<any>

get

  • get(uri: string, params?: undefined | object): Promise<any>
  • Parameters

    • uri: string
    • Optional params: undefined | object

    Returns Promise<any>

isConnected

  • isConnected(): boolean

post

  • post(uri: string, params: object): Promise<any>
  • Parameters

    • uri: string
    • params: object

    Returns Promise<any>

useAutoProvider

  • useAutoProvider(): void

useHttpProvider

  • useHttpProvider(url: string): void
  • Parameters

    • url: string

    Returns void

Legend

  • Module
  • Object literal
  • Variable
  • Function
  • Function with type parameter
  • Index signature
  • Type alias
  • Enumeration
  • Enumeration member
  • Property
  • Method
  • Interface
  • Interface with type parameter
  • Constructor
  • Property
  • Method
  • Index signature
  • Class
  • Class with type parameter
  • Constructor
  • Property
  • Method
  • Accessor
  • Index signature
  • Inherited constructor
  • Inherited property
  • Inherited method
  • Inherited accessor
  • Protected property
  • Protected method
  • Protected accessor
  • Private property
  • Private method
  • Private accessor
  • Static property
  • Static method

Generated using TypeDoc