Socket
Socket
Sign inDemoInstall

web3-core-method

Package Overview
Dependencies
51
Maintainers
2
Versions
137
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    web3-core-method

Handles the JSON-RPC methods. This package is internally used by web3.


Version published
Weekly downloads
377K
increased by3.97%
Maintainers
2
Created
Weekly downloads
 

Readme

Source

web3-core-method

This is a sub package of web3.js

The Method module abstracts the JSON-RPC method and is used within most web3.js packages.

Installation

npm install web3-core-method

Exported classes

MethodModuleFactory
AbstractMethod 
AbstractMethodFactory

/**
* Methods
*/

// Network
GetProtocolVersionMethod 
VersionMethod 
ListeningMethod 
PeerCountMethod 

// Node
GetNodeInfoMethod
GetCoinbaseMethod
IsMiningMethod 
GetHashrateMethod
IsSyncingMethod
GetGasPriceMethod
SubmitWorkMethod
GetWorkMethod

// Account
GetAccountsMethod
GetBalanceMethod
GetTransactionCountMethod
RequestAccountsMethod

// Block
GetBlockNumberMethod
GetBlockMethod 
GetUncleMethod 
GetBlockTransactionCountMethod
GetBlockUncleCountMethod

// Transaction
GetTransactionMethod
GetTransactionFromBlockMethod
GetTransactionReceipt
SendRawTransactionMethod
SignTransactionMethod
SendTransactionMethod

// Global
GetCodeMethod
SignMethod
CallMethod
GetStorageAtMethod
EstimateGasMethod
GetPastLogsMethod

// Personal
EcRecoverMethod
ImportRawKeyMethod
ListAccountsMethod
LockAccountMethod
NewAccountMethod
PersonalSendTransactionMethod
PersonalSignMethod
PersonalSignTransactionMethod
UnlockAccountMethod

// SHH
AddPrivateKeyMethod
AddSymKeyMethod
DeleteKeyPairMethod
DeleteMessageFilterMethod
DeleteSymKeyMethod
GenerateSymKeyFromPasswordMethod
GetFilterMessagesMethod
GetInfoMethod
GetPrivateKeyMethod
GetPublicKeyMethod
GetSymKeyMethod
HasKeyPairMethod
HasSymKeyMethod
MarkTrustedPeerMethod
NewKeyPairMethod
NewMessageFilterMethod
NewSymKeyMethod
PostMethod
SetMaxMessageSizeMethod
SetMinPoWMethod
ShhVersionMethod

Types

All the typescript typings are placed in the types folder.

FAQs

Last updated on 09 Feb 2019

Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc