JSPM

  • Created
  • Published
  • Downloads 454116
  • Score
    100M100P100Q176216F
  • License LGPL-3.0

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

Package Exports

  • web3-core-method

This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (web3-core-method) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

Readme

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.