Options
All
  • Public
  • Public/Protected
  • All
Menu

Class Rpc

Hierarchy

  • Rpc

Index

Constructors

Properties

Methods

Constructors

constructor

  • new Rpc(params: object): Rpc
  • Parameters

    • params: object
      • Optional options?: undefined | object
      • server: string

        HTTP RPC server address.

    Returns Rpc

Properties

account

account: AccountRpc

RPC module for account management and signing

chain

chain: ChainRpc

RPC module for accessing the blockchain.

devel

devel: DevelRpc

RPC module for developer functions

engine

engine: EngineRpc

RPC module for retrieving the engine info.

network

network: NetworkRpc

RPC module for configuring P2P networking of the node.

node

node: NodeRpc

RPC module for retrieving the node info.

Methods

sendRpcRequest

  • sendRpcRequest(name: string, params: any[], options?: undefined | object): Promise<any>
  • Parameters

    • name: string
    • params: any[]
    • Optional options: undefined | object

    Returns Promise<any>

Generated using TypeDoc