Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

web3-core-method

Package Overview
Dependencies
Maintainers
2
Versions
137
Alerts
File Explorer

Advanced tools

Socket logo

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.

  • 1.0.0-beta.43
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
346K
decreased by-14.64%
Maintainers
2
Weekly downloads
 
Created
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

Package last updated on 06 Feb 2019

Did you know?

Socket

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
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc