Skip to content
This repository was archived by the owner on Dec 10, 2020. It is now read-only.

Latest commit

 

History

History
89 lines (49 loc) · 2.07 KB

_rpc_modules_admin_.admin.md

File metadata and controls

89 lines (49 loc) · 2.07 KB

ethereumjs-client"rpc/modules/admin"Admin

Class: Admin

admin_* RPC module

memberof module:rpc/modules

Hierarchy

  • Admin

Index

Constructors

Properties

Methods

Constructors

constructor

+ new Admin(node: Node): Admin

Defined in lib/rpc/modules/admin.ts:17

Create admin_* RPC module

Parameters:

Name Type
node Node

Returns: Admin

Properties

_chain

_chain: Chain

Defined in lib/rpc/modules/admin.ts:15


_ethProtocol

_ethProtocol: EthProtocol

Defined in lib/rpc/modules/admin.ts:17


_node

_node: Node

Defined in lib/rpc/modules/admin.ts:16

Methods

nodeInfo

nodeInfo(params: any, cb: Function): Promise‹any›

Defined in lib/rpc/modules/admin.ts:38

Returns information about the currently running node. see for reference: https://geth.ethereum.org/docs/rpc/ns-admin#admin_nodeinfo

Parameters:

Name Type
params any
cb Function

Returns: Promise‹any›