@kaiachain/web3rpc

1.0.1 • Public • Published

@kaiachain/web3rpc

KaiachainWeb3rpc - JavaScript client for @kaiachain/web3rpc No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) This SDK is automatically generated by the OpenAPI Generator project:

  • API version: 0.9.0
  • Package version: 1.0.1
  • Build package: web3rpc.client.KlaytnJavascriptClientCodegen For more information, please visit https://forum.klaytn.foundation/

Installation

For Node.js

npm

To publish the library as a npm, please follow the procedure in "Publishing npm packages".

Then install it via:

npm install @kaiachain/web3rpc --save

Finally, you need to build the module:

npm run build
Local development

To use the library locally without publishing to a remote npm registry, first install the dependencies by changing into the directory containing package.json (and this README). Let's call this JAVASCRIPT_CLIENT_DIR. Then run:

npm install

Next, link it globally in npm with the following, also from JAVASCRIPT_CLIENT_DIR:

npm link

To use the link you just defined in your project, switch to the directory you want to use your @kaiachain/web3rpc from, and run:

npm link /path/to/<JAVASCRIPT_CLIENT_DIR>

Finally, you need to build the module:

npm run build

git

If the library is hosted at a git repository, e.g.https://github.com/GIT_USER_ID/GIT_REPO_ID then install it via:

    npm install GIT_USER_ID/GIT_REPO_ID --save

For browser

The library also works in the browser environment via npm and browserify. After following the above steps with Node.js and installing browserify with npm install -g browserify, perform the following (assuming main.js is your entry file):

browserify main.js > bundle.js

Then include bundle.js in the HTML pages.

Webpack Configuration

Using Webpack you may encounter the following error: "Module not found: Error: Cannot resolve module", most certainly you should disable AMD loader. Add/merge the following section to your webpack config:

module: {
  rules: [
    {
      parser: {
        amd: false
      }
    }
  ]
}

Getting Started

Please follow the installation instruction and execute the following JS code:

var KaiachainWeb3rpc = require('@kaiachain/web3rpc');


var api = new KaiachainWeb3rpc.AdminApi()
var url = "url_example"; // {String} Peer's kni URL.
var opts = {
  'addPeerRequest': new KaiachainWeb3rpc.AddPeerRequest() // {AddPeerRequest} 
};
var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
api.addPeer(url, opts, callback);

Documentation for API Endpoints

All URIs are relative to http://localhost:8551

Class Method HTTP request Description
KaiachainWeb3rpc.AdminApi addPeer POST /admin/addPeer admin_addPeer
KaiachainWeb3rpc.AdminApi datadir POST /admin/datadir admin_datadir
KaiachainWeb3rpc.AdminApi exportChain POST /admin/exportChain admin_exportChain
KaiachainWeb3rpc.AdminApi getSpamThrottlerCandidateList POST /admin/getSpamThrottlerCandidateList admin_getSpamThrottlerCandidateList
KaiachainWeb3rpc.AdminApi getSpamThrottlerThrottleList POST /admin/getSpamThrottlerThrottleList admin_getSpamThrottlerThrottleList
KaiachainWeb3rpc.AdminApi getSpamThrottlerWhiteList POST /admin/getSpamThrottlerWhiteList admin_getSpamThrottlerWhiteList
KaiachainWeb3rpc.AdminApi importChain POST /admin/importChain admin_importChain
KaiachainWeb3rpc.AdminApi importChainFromString POST /admin/importChainFromString admin_importChainFromString
KaiachainWeb3rpc.AdminApi nodeConfig POST /admin/nodeConfig admin_nodeConfig
KaiachainWeb3rpc.AdminApi nodeInfo POST /admin/nodeInfo admin_nodeInfo
KaiachainWeb3rpc.AdminApi peers POST /admin/peers admin_peers
KaiachainWeb3rpc.AdminApi removePeer POST /admin/removePeer admin_removePeer
KaiachainWeb3rpc.AdminApi saveTrieNodeCacheToDisk POST /admin/saveTrieNodeCacheToDisk admin_saveTrieNodeCacheToDisk
KaiachainWeb3rpc.AdminApi setMaxSubscriptionPerWSConn POST /admin/setMaxSubscriptionPerWSConn admin_setMaxSubscriptionPerWSConn
KaiachainWeb3rpc.AdminApi setSpamThrottlerWhiteList POST /admin/setSpamThrottlerWhiteList admin_setSpamThrottlerWhiteList
KaiachainWeb3rpc.AdminApi spamThrottlerConfig POST /admin/spamThrottlerConfig admin_spamThrottlerConfig
KaiachainWeb3rpc.AdminApi startHTTP POST /admin/startHTTP admin_startHTTP
KaiachainWeb3rpc.AdminApi startSpamThrottler POST /admin/startSpamThrottler admin_startSpamThrottler
KaiachainWeb3rpc.AdminApi startStateMigration POST /admin/startStateMigration admin_startStateMigration
KaiachainWeb3rpc.AdminApi startWS POST /admin/startWS admin_startWS
KaiachainWeb3rpc.AdminApi stateMigrationStatus POST /admin/stateMigrationStatus admin_stateMigrationStatus
KaiachainWeb3rpc.AdminApi stopHTTP POST /admin/stopHTTP admin_stopHTTP
KaiachainWeb3rpc.AdminApi stopSpamThrottler POST /admin/stopSpamThrottler admin_stopSpamThrottler
KaiachainWeb3rpc.AdminApi stopStateMigration POST /admin/stopStateMigration admin_stopStateMigration
KaiachainWeb3rpc.AdminApi stopWS POST /admin/stopWS admin_stopWS
KaiachainWeb3rpc.DebugApi backtraceAt POST /debug/logging/backtraceAt [Logging] debug_backtraceAt
KaiachainWeb3rpc.DebugApi blockProfile POST /debug/profiling/blockProfile [Profiling] debug_blockProfile
KaiachainWeb3rpc.DebugApi chaindbCompact POST /debug/chaindbCompact [Inspection] debug_chaindbCompact
KaiachainWeb3rpc.DebugApi chaindbProperty POST /debug/chaindbProperty [Inspection] debug_chaindbProperty
KaiachainWeb3rpc.DebugApi cpuProfile POST /debug/profiling/cpuProfile [Profiling] debug_cpuProfile
KaiachainWeb3rpc.DebugApi dumpBlock POST /debug/blockchainInspection/dumpBlock [Inspection] debug_dumpBlock
KaiachainWeb3rpc.DebugApi dumpStateTrie POST /debug/blockchainInspection/dumpStateTrie [Inspection] debug_dumpStateTrie
KaiachainWeb3rpc.DebugApi freeOSMemory POST /debug/runtimeDebugging/freeOSMemory [runtimeDebug] debug_freeOSMemory
KaiachainWeb3rpc.DebugApi gcStats POST /debug/runtimeDebugging/gcStats [runtimeDebug] debug_gcStats
KaiachainWeb3rpc.DebugApi getBadBlocks POST /debug/blockchainInspection/getBadBlocks [Inspection] debug_getBadBlocks
KaiachainWeb3rpc.DebugApi getBlockRlp POST /debug/blockchainInspection/getBlockRlp [Inspection] debug_getBlockRlp
KaiachainWeb3rpc.DebugApi getModifiedAccountsByHash POST /debug/blockchainInspection/getModifiedAccountsByHash [Inspection] debug_getModifiedAccountsByHash
KaiachainWeb3rpc.DebugApi getModifiedAccountsByNumber POST /debug/blockchainInspection/getModifiedAccountsByNumber [Inspection] debug_getModifiedAccountsByNumber
KaiachainWeb3rpc.DebugApi getModifiedStorageNodesByNumber POST /debug/getModifiedStorageNodesByNumber [Inspection] debug_getModifiedStorageNodesByNumber
KaiachainWeb3rpc.DebugApi goTrace POST /debug/runtimeTracing/goTrace [RuntimeTrace] debug_goTrace
KaiachainWeb3rpc.DebugApi isPProfRunning POST /debug/profiling/isPProfRunning [Profiling] debug_isPProfRunning
KaiachainWeb3rpc.DebugApi memStats POST /debug/runtimeDebugging/memStats [runtimeDebug] debug_memStats
KaiachainWeb3rpc.DebugApi metrics POST /debug/runtimeDebugging/metrics [runtimeDebug] debug_metrics
KaiachainWeb3rpc.DebugApi mutexProfile POST /debug/profiling/mutexProfile [Profiling] debug_mutexProfile
KaiachainWeb3rpc.DebugApi preimage POST /debug/blockchainInspection/preimage [Inspection] debug_preimage
KaiachainWeb3rpc.DebugApi printBlock POST /debug/blockchainInspection/printBlock [Inspection] debug_printBlock
KaiachainWeb3rpc.DebugApi seedHash POST /debug/seedHash [Inspection] debug_seedHash
KaiachainWeb3rpc.DebugApi setBlockProfileRate POST /debug/profiling/setBlockProfileRate [Profiling] debug_setBlockProfileRate
KaiachainWeb3rpc.DebugApi setGCPercent POST /debug/runtimeDebugging/setGCPercent [runtimeDebug] debug_setGCPercent
KaiachainWeb3rpc.DebugApi setHead POST /debug/blockchainInspection/setHead [Inspection] debug_setHead
KaiachainWeb3rpc.DebugApi setMutexProfileFraction POST /debug/setMutexProfileFraction [Profiling] debug_setMutexProfileFraction
KaiachainWeb3rpc.DebugApi setVMLogTarget POST /debug/logging/setVMLogTarget [Logging] debug_setVMLogTarget
KaiachainWeb3rpc.DebugApi stacks POST /debug/runtimeDebugging/stacks [runtimeDebug] debug_stacks
KaiachainWeb3rpc.DebugApi standardTraceBadBlockToFile POST /debug/vMStandardTracing/standardTraceBadBlockToFile [StandardTrace] debug_standardTraceBadBlockToFile
KaiachainWeb3rpc.DebugApi standardTraceBlockToFile POST /debug/vMStandardTracing/standardTraceBlockToFile [StandardTrace] debug_standardTraceBlockToFile
KaiachainWeb3rpc.DebugApi startCPUProfile POST /debug/profiling/startCPUProfile [Profiling] debug_startCPUProfile
KaiachainWeb3rpc.DebugApi startCollectingTrieStats POST /debug/blockchainInspection/startCollectingTrieStats [Inspection] debug_startCollectingTrieStats
KaiachainWeb3rpc.DebugApi startContractWarmUp POST /debug/blockchainInspection/startContractWarmUp [Inspection] debug_startContractWarmUp
KaiachainWeb3rpc.DebugApi startGoTrace POST /debug/runtimeTracing/startGoTrace [RuntimeTrace] debug_startGoTrace
KaiachainWeb3rpc.DebugApi startPProf POST /debug/profiling/startPProf [Profiling] debug_startPProf
KaiachainWeb3rpc.DebugApi startWarmUp POST /debug/blockchainInspection/startWarmUp [Inspection] debug_startWarmUp
KaiachainWeb3rpc.DebugApi stopCPUProfile POST /debug/profiling/stopCPUProfile [Profiling] debug_stopCPUProfile
KaiachainWeb3rpc.DebugApi stopGoTrace POST /debug/runtimeTracing/stopGoTrace [RuntimeTrace] debug_stopGoTrace
KaiachainWeb3rpc.DebugApi stopPProf POST /debug/profiling/stopPProf [Profiling] debug_stopPProf
KaiachainWeb3rpc.DebugApi stopWarmUp POST /debug/blockchainInspection/stopWarmUp [Inspection] debug_stopWarmUp
KaiachainWeb3rpc.DebugApi storageRangeAt POST /debug/storageRangeAt [Inspection] debug_storageRangeAt
KaiachainWeb3rpc.DebugApi traceBadBlock POST /debug/vMTracing/traceBadBlock [Trace] debug_traceBadBlock
KaiachainWeb3rpc.DebugApi traceBlock POST /debug/vMTracing/traceBlock [Trace] debug_traceBlock
KaiachainWeb3rpc.DebugApi traceBlockByHash POST /debug/vMTracing/traceBlockByHash [Trace] debug_traceBlockByHash
KaiachainWeb3rpc.DebugApi traceBlockByNumber POST /debug/vMTracing/traceBlockByNumber [Trace] debug_traceBlockByNumber
KaiachainWeb3rpc.DebugApi traceBlockByNumberRange POST /debug/vMTracing/traceBlockByNumberRange [Trace] debug_traceBlockByNumberRange
KaiachainWeb3rpc.DebugApi traceBlockFromFile POST /debug/vMTracing/traceBlockFromFile [Trace] debug_traceBlockFromFile
KaiachainWeb3rpc.DebugApi traceCall POST /debug/vMTracing/traceCall [Trace] debug_traceCall
KaiachainWeb3rpc.DebugApi traceChain POST /debug/vMTracing/traceChain [Trace] debug_traceChain
KaiachainWeb3rpc.DebugApi traceTransaction POST /debug/vMTracing/traceTransaction [Trace] debug_traceTransaction
KaiachainWeb3rpc.DebugApi verbosity POST /debug/logging/verbosity [Logging] debug_verbosity
KaiachainWeb3rpc.DebugApi verbosityByID POST /debug/logging/verbosityByID [Logging] debug_verbosityByID
KaiachainWeb3rpc.DebugApi verbosityByName POST /debug/logging/verbosityByName [Logging] debug_verbosityByName
KaiachainWeb3rpc.DebugApi vmodule POST /debug/logging/vmodule [Logging] debug_vmodule
KaiachainWeb3rpc.DebugApi writeBlockProfile POST /debug/profiling/writeBlockProfile [Profiling] debug_writeBlockProfile
KaiachainWeb3rpc.DebugApi writeMemProfile POST /debug/profiling/writeMemProfile [Profiling] debug_writeMemProfile
KaiachainWeb3rpc.DebugApi writeMutexProfile POST /debug/profiling/writeMutexProfile [Profiling] debug_writeMutexProfile
KaiachainWeb3rpc.GovernanceApi getChainConfig POST /governance/getChainConfig governance_getChainConfig
KaiachainWeb3rpc.GovernanceApi getParams POST /governance/getParams governance_getParams
KaiachainWeb3rpc.GovernanceApi getRewardsAccumulated POST /governance/getRewardsAccumulated governance_getRewardsAccumulated
KaiachainWeb3rpc.GovernanceApi idxCache POST /governance/idxCache governance_idxCache
KaiachainWeb3rpc.GovernanceApi idxCacheFromDb POST /governance/idxCacheFromDb governance_idxCacheFromDb
KaiachainWeb3rpc.GovernanceApi itemCacheFromDb POST /governance/itemCacheFromDb governance_itemCacheFromDb
KaiachainWeb3rpc.GovernanceApi myVotes POST /governance/myVotes governance_myVotes
KaiachainWeb3rpc.GovernanceApi myVotingPower POST /governance/myVotingPower governance_myVotingPower
KaiachainWeb3rpc.GovernanceApi pendingChanges POST /governance/pendingChanges governance_pendingChanges
KaiachainWeb3rpc.GovernanceApi showTally POST /governance/showTally governance_showTally
KaiachainWeb3rpc.GovernanceApi totalVotingPower POST /governance/totalVotingPower governance_totalVotingPower
KaiachainWeb3rpc.GovernanceApi vote POST /governance/vote governance_vote
KaiachainWeb3rpc.GovernanceApi votes POST /governance/votes governance_votes
KaiachainWeb3rpc.KaiaApi accountCreated POST /kaia/account/accountCreated [Account] kaia_accountCreated
KaiachainWeb3rpc.KaiaApi accounts POST /kaia/account/accounts [Account] kaia_accounts
KaiachainWeb3rpc.KaiaApi blockNumber POST /kaia/block/blockNumber [Block] kaia_blockNumber
KaiachainWeb3rpc.KaiaApi call POST /kaia/transaction/call [Transaction] kaia_call
KaiachainWeb3rpc.KaiaApi chainID POST /kaia/configuration/chainID [Configuration] kaia_chainID
KaiachainWeb3rpc.KaiaApi clientVersion POST /kaia/configuration/clientVersion [Configuration] kaia_clientVersion
KaiachainWeb3rpc.KaiaApi createAccessList POST /kaia/createAccessList [Transaction] kaia_createAccessList
KaiachainWeb3rpc.KaiaApi decodeAccountKey POST /kaia/account/decodeAccountKey [Account] kaia_decodeAccountKey
KaiachainWeb3rpc.KaiaApi encodeAccountKey POST /kaia/account/encodeAccountKey [Account] kaia_encodeAccountKey
KaiachainWeb3rpc.KaiaApi estimateComputationCost POST /kaia/transaction/estimateComputationCost [Transaction] kaia_estimateComputationCost
KaiachainWeb3rpc.KaiaApi estimateGas POST /kaia/transaction/estimateGas [Transaction] kaia_estimateGas
KaiachainWeb3rpc.KaiaApi feeHistory POST /kaia/gas/feeHistory [Gas] kaia_feeHistory
KaiachainWeb3rpc.KaiaApi forkStatus POST /kaia/configuration/forkStatus [Configuration] kaia_forkStatus
KaiachainWeb3rpc.KaiaApi gasPrice POST /kaia/configuration/gasPrice [Configuration] kaia_gasPrice
KaiachainWeb3rpc.KaiaApi getAccount POST /kaia/account/getAccount [Account] kaia_getAccount
KaiachainWeb3rpc.KaiaApi getAccountKey POST /kaia/account/getAccountKey [Account] kaia_getAccountKey
KaiachainWeb3rpc.KaiaApi getBalance POST /kaia/account/getBalance [Account] kaia_getBalance
KaiachainWeb3rpc.KaiaApi getBlockByHash POST /kaia/block/getBlockByHash [Block] kaia_getBlockByHash
KaiachainWeb3rpc.KaiaApi getBlockByNumber POST /kaia/block/getBlockByNumber [Block] kaia_getBlockByNumber
KaiachainWeb3rpc.KaiaApi getBlockReceipts POST /kaia/block/getBlockReceipts [Block] kaia_getBlockReceipts
KaiachainWeb3rpc.KaiaApi getBlockTransactionCountByHash POST /kaia/block/getBlockTransactionCountByHash [Block] kaia_getBlockTransactionCountByHash
KaiachainWeb3rpc.KaiaApi getBlockTransactionCountByNumber POST /kaia/block/getBlockTransactionCountByNumber [Block] kaia_getBlockTransactionCountByNumber
KaiachainWeb3rpc.KaiaApi getBlockWithConsensusInfoByHash POST /kaia/block/getBlockWithConsensusInfoByHash [Block] kaia_getBlockWithConsensusInfoByHash
KaiachainWeb3rpc.KaiaApi getBlockWithConsensusInfoByNumber POST /kaia/block/getBlockWithConsensusInfoByNumber [Block] kaia_getBlockWithConsensusInfoByNumber
KaiachainWeb3rpc.KaiaApi getBlockWithConsensusInfoByNumberRange POST /kaia/block/getBlockWithConsensusInfoByNumberRange [Block] kaia_getBlockWithConsensusInfoByNumberRange
KaiachainWeb3rpc.KaiaApi getChainConfig POST /kaia/configuration/getChainConfig [Configuration] kaia_getChainConfig
KaiachainWeb3rpc.KaiaApi getCode POST /kaia/account/getCode [Account] kaia_getCode
KaiachainWeb3rpc.KaiaApi getCommittee POST /kaia/block/getCommittee [Block] kaia_getCommittee
KaiachainWeb3rpc.KaiaApi getCommitteeSize POST /kaia/block/getCommitteeSize [Block] kaia_getCommitteeSize
KaiachainWeb3rpc.KaiaApi getCouncil POST /kaia/block/getCouncil [Block] kaia_getCouncil
KaiachainWeb3rpc.KaiaApi getCouncilSize POST /kaia/block/getCouncilSize [Block] kaia_getCouncilSize
KaiachainWeb3rpc.KaiaApi getDecodedAnchoringTransactionByHash POST /kaia/transaction/getDecodedAnchoringTransactionByHash [Transaction] kaia_getDecodedAnchoringTransactionByHash
KaiachainWeb3rpc.KaiaApi getFilterChanges POST /kaia/filter/getFilterChanges [Filter] kaia_getFilterChanges
KaiachainWeb3rpc.KaiaApi getFilterLogs POST /kaia/filter/getFilterLogs [Filter] kaia_getFilterLogs
KaiachainWeb3rpc.KaiaApi getHeaderByHash POST /kaia/block/getHeaderByHash [Block] kaia_getHeaderByHash
KaiachainWeb3rpc.KaiaApi getHeaderByNumber POST /kaia/block/getHeaderByNumber [Block] kaia_getHeaderByNumber
KaiachainWeb3rpc.KaiaApi getLogs POST /kaia/filter/getLogs [Filter] kaia_getLogs
KaiachainWeb3rpc.KaiaApi getParams POST /kaia/configuration/getParams [Configuration] kaia_getParams
KaiachainWeb3rpc.KaiaApi getProof POST /kaia/miscellaneous/getProof [Miscellaneous] kaia_getProof
KaiachainWeb3rpc.KaiaApi getRawTransactionByBlockHashAndIndex POST /kaia/getRawTransactionByBlockHashAndIndex [Transaction] kaia_getRawTransactionByBlockHashAndIndex
KaiachainWeb3rpc.KaiaApi getRawTransactionByBlockNumberAndIndex POST /kaia/getRawTransactionByBlockNumberAndIndex [Transaction] kaia_getRawTransactionByBlockNumberAndIndex
KaiachainWeb3rpc.KaiaApi getRawTransactionByHash POST /kaia/getRawTransactionByHash [Transaction] kaia_getRawTransactionByHash
KaiachainWeb3rpc.KaiaApi getRewards POST /kaia/block/getRewards [Block] kaia_getRewards
KaiachainWeb3rpc.KaiaApi getStakingInfo POST /kaia/miscellaneous/getStakingInfo [Miscellaneous] kaia_getStakingInfo
KaiachainWeb3rpc.KaiaApi getStorageAt POST /kaia/block/getStorageAt [Block] kaia_getStorageAt
KaiachainWeb3rpc.KaiaApi getTotalSupply POST /kaia/miscellaneous/getTotalSupply [Miscellaneous] kaia_getTotalSupply
KaiachainWeb3rpc.KaiaApi getTransactionByBlockHashAndIndex POST /kaia/transaction/getTransactionByBlockHashAndIndex [Transaction] kaia_getTransactionByBlockHashAndIndex
KaiachainWeb3rpc.KaiaApi getTransactionByBlockNumberAndIndex POST /kaia/transaction/getTransactionByBlockNumberAndIndex [Transaction] kaia_getTransactionByBlockNumberAndIndex
KaiachainWeb3rpc.KaiaApi getTransactionByHash POST /kaia/transaction/getTransactionByHash [Transaction] kaia_getTransactionByHash
KaiachainWeb3rpc.KaiaApi getTransactionBySenderTxHash POST /kaia/transaction/getTransactionBySenderTxHash [Transaction] kaia_getTransactionBySenderTxHash
KaiachainWeb3rpc.KaiaApi getTransactionCount POST /kaia/account/getTransactionCount [Account] kaia_getTransactionCount
KaiachainWeb3rpc.KaiaApi getTransactionReceipt POST /kaia/transaction/getTransactionReceipt [Transaction] kaia_getTransactionReceipt
KaiachainWeb3rpc.KaiaApi getTransactionReceiptBySenderTxHash POST /kaia/transaction/getTransactionReceiptBySenderTxHash [Transaction] kaia_getTransactionReceiptBySenderTxHash
KaiachainWeb3rpc.KaiaApi isContractAccount POST /kaia/account/isContractAccount [Account] kaia_isContractAccount
KaiachainWeb3rpc.KaiaApi isParallelDBWrite POST /kaia/configuration/isParallelDBWrite [Configuration] kaia_isParallelDBWrite
KaiachainWeb3rpc.KaiaApi isSenderTxHashIndexingEnabled POST /kaia/configuration/isSenderTxHashIndexingEnabled [Configuration] kaia_isSenderTxHashIndexingEnabled
KaiachainWeb3rpc.KaiaApi lowerBoundGasPrice POST /kaia/gas/lowerBoundGasPrice [Gas] kaia_lowerBoundGasPrice
KaiachainWeb3rpc.KaiaApi maxPriorityFeePerGas POST /kaia/gas/maxPriorityFeePerGas [Gas] kaia_maxPriorityFeePerGas
KaiachainWeb3rpc.KaiaApi newBlockFilter POST /kaia/filter/newBlockFilter [Filter] kaia_newBlockFilter
KaiachainWeb3rpc.KaiaApi newFilter POST /kaia/filter/newFilter [Filter] kaia_newFilter
KaiachainWeb3rpc.KaiaApi newPendingTransactionFilter POST /kaia/filter/newPendingTransactionFilter [Filter] kaia_newPendingTransactionFilter
KaiachainWeb3rpc.KaiaApi nodeAddress POST /kaia/miscellaneous/nodeAddress [Miscellaneous] kaia_nodeAddress
KaiachainWeb3rpc.KaiaApi pendingTransactions POST /kaia/transaction/pendingTransactions [Transaction] kaia_pendingTransactions
KaiachainWeb3rpc.KaiaApi protocolVersion POST /kaia/configuration/protocolVersion [Configuration] kaia_protocolVersion
KaiachainWeb3rpc.KaiaApi recoverFromMessage POST /kaia/miscellaneous/recoverFromMessage [Miscellaneous] kaia_recoverFromMessage
KaiachainWeb3rpc.KaiaApi recoverFromTransaction POST /kaia/miscellaneous/recoverFromTransaction [Miscellaneous] kaia_recoverFromTransaction
KaiachainWeb3rpc.KaiaApi resend POST /kaia/resend [Transaction] kaia_resend
KaiachainWeb3rpc.KaiaApi rewardbase POST /kaia/configuration/rewardbase [Configuration] kaia_rewardbase
KaiachainWeb3rpc.KaiaApi sendRawTransaction POST /kaia/transaction/sendRawTransaction [Transaction] kaia_sendRawTransaction
KaiachainWeb3rpc.KaiaApi sendTransaction POST /kaia/transaction/sendTransaction [Transaction] kaia_sendTransaction
KaiachainWeb3rpc.KaiaApi sendTransactionAsFeePayer POST /kaia/transaction/sendTransactionAsFeePayer [Transaction] kaia_sendTransactionAsFeePayer
KaiachainWeb3rpc.KaiaApi sha3 POST /kaia/miscellaneous/sha3 [Miscellaneous] kaia_sha3
KaiachainWeb3rpc.KaiaApi sign POST /kaia/account/sign [Account] kaia_sign
KaiachainWeb3rpc.KaiaApi signTransaction POST /kaia/transaction/signTransaction [Transaction] kaia_signTransaction
KaiachainWeb3rpc.KaiaApi signTransactionAsFeePayer POST /kaia/transaction/signTransactionAsFeePayer [Transaction] kaia_signTransactionAsFeePayer
KaiachainWeb3rpc.KaiaApi subscribe POST /kaia/filter/subscribe [Filter] kaia_subscribe
KaiachainWeb3rpc.KaiaApi syncing POST /kaia/block/syncing [Block] kaia_syncing
KaiachainWeb3rpc.KaiaApi uninstallFilter POST /kaia/filter/uninstallFilter [Filter] kaia_uninstallFilter
KaiachainWeb3rpc.KaiaApi unsubscribe POST /kaia/filter/unsubscribe [Filter] kaia_unsubscribe
KaiachainWeb3rpc.KaiaApi upperBoundGasPrice POST /kaia/gas/upperBoundGasPrice [Gas] kaia_upperBoundGasPrice
KaiachainWeb3rpc.KlayApi accountCreated POST /klay/account/accountCreated [Account] klay_accountCreated
KaiachainWeb3rpc.KlayApi accounts POST /klay/account/accounts [Account] klay_accounts
KaiachainWeb3rpc.KlayApi blockNumber POST /klay/block/blockNumber [Block] klay_blockNumber
KaiachainWeb3rpc.KlayApi call POST /klay/transaction/call [Transaction] klay_call
KaiachainWeb3rpc.KlayApi chainID POST /klay/configuration/chainID [Configuration] klay_chainID
KaiachainWeb3rpc.KlayApi clientVersion POST /klay/configuration/clientVersion [Configuration] klay_clientVersion
KaiachainWeb3rpc.KlayApi createAccessList POST /klay/createAccessList [Transaction] klay_createAccessList
KaiachainWeb3rpc.KlayApi decodeAccountKey POST /klay/account/decodeAccountKey [Account] klay_decodeAccountKey
KaiachainWeb3rpc.KlayApi encodeAccountKey POST /klay/account/encodeAccountKey [Account] klay_encodeAccountKey
KaiachainWeb3rpc.KlayApi estimateComputationCost POST /klay/transaction/estimateComputationCost [Transaction] klay_estimateComputationCost
KaiachainWeb3rpc.KlayApi estimateGas POST /klay/transaction/estimateGas [Transaction] klay_estimateGas
KaiachainWeb3rpc.KlayApi feeHistory POST /klay/gas/feeHistory [Gas] klay_feeHistory
KaiachainWeb3rpc.KlayApi forkStatus POST /klay/configuration/forkStatus [Configuration] klay_forkStatus
KaiachainWeb3rpc.KlayApi gasPrice POST /klay/gas/gasPrice [Gas] klay_gasPrice
KaiachainWeb3rpc.KlayApi getAccount POST /klay/account/getAccount [Account] klay_getAccount
KaiachainWeb3rpc.KlayApi getAccountKey POST /klay/account/getAccountKey [Account] klay_getAccountKey
KaiachainWeb3rpc.KlayApi getActiveAddressFromRegistry POST /klay/miscellaneous/getActiveAddressFromRegistry [Miscellaneous] klay_getActiveAddressFromRegistry
KaiachainWeb3rpc.KlayApi getAllRecordsFromRegistry POST /klay/miscellaneous/getAllRecordsFromRegistry [Miscellaneous] klay_getAllRecordsFromRegistry
KaiachainWeb3rpc.KlayApi getBalance POST /klay/account/getBalance [Account] klay_getBalance
KaiachainWeb3rpc.KlayApi getBlockByHash POST /klay/block/getBlockByHash [Block] klay_getBlockByHash
KaiachainWeb3rpc.KlayApi getBlockByNumber POST /klay/block/getBlockByNumber [Block] klay_getBlockByNumber
KaiachainWeb3rpc.KlayApi getBlockReceipts POST /klay/block/getBlockReceipts [Block] klay_getBlockReceipts
KaiachainWeb3rpc.KlayApi getBlockTransactionCountByHash POST /klay/block/getBlockTransactionCountByHash [Block] klay_getBlockTransactionCountByHash
KaiachainWeb3rpc.KlayApi getBlockTransactionCountByNumber POST /klay/block/getBlockTransactionCountByNumber [Block] klay_getBlockTransactionCountByNumber
KaiachainWeb3rpc.KlayApi getBlockWithConsensusInfoByHash POST /klay/block/getBlockWithConsensusInfoByHash [Block] klay_getBlockWithConsensusInfoByHash
KaiachainWeb3rpc.KlayApi getBlockWithConsensusInfoByNumber POST /klay/block/getBlockWithConsensusInfoByNumber [Block] klay_getBlockWithConsensusInfoByNumber
KaiachainWeb3rpc.KlayApi getBlockWithConsensusInfoByNumberRange POST /klay/block/getBlockWithConsensusInfoByNumberRange [Block] klay_getBlockWithConsensusInfoByNumberRange
KaiachainWeb3rpc.KlayApi getBlsInfos POST /klay/miscellaneous/getBlsInfos [Miscellaneous] klay_getBlsInfos
KaiachainWeb3rpc.KlayApi getChainConfig POST /klay/configuration/getChainConfig [Configuration] klay_getChainConfig
KaiachainWeb3rpc.KlayApi getCode POST /klay/account/getCode [Account] klay_getCode
KaiachainWeb3rpc.KlayApi getCommittee POST /klay/block/getCommittee [Block] klay_getCommittee
KaiachainWeb3rpc.KlayApi getCommitteeSize POST /klay/block/getCommitteeSize [Block] klay_getCommitteeSize
KaiachainWeb3rpc.KlayApi getCouncil POST /klay/block/getCouncil [Block] klay_getCouncil
KaiachainWeb3rpc.KlayApi getCouncilSize POST /klay/block/getCouncilSize [Block] klay_getCouncilSize
KaiachainWeb3rpc.KlayApi getDecodedAnchoringTransactionByHash POST /klay/transaction/getDecodedAnchoringTransactionByHash [Transaction] klay_getDecodedAnchoringTransactionByHash
KaiachainWeb3rpc.KlayApi getFilterChanges POST /klay/filter/getFilterChanges [Filter] klay_getFilterChanges
KaiachainWeb3rpc.KlayApi getFilterLogs POST /klay/filter/getFilterLogs [Filter] klay_getFilterLogs
KaiachainWeb3rpc.KlayApi getHeaderByHash POST /klay/block/getHeaderByHash [Block] klay_getHeaderByHash
KaiachainWeb3rpc.KlayApi getHeaderByNumber POST /klay/block/getHeaderByNumber [Block] klay_getHeaderByNumber
KaiachainWeb3rpc.KlayApi getLogs POST /klay/filter/getLogs [Filter] klay_getLogs
KaiachainWeb3rpc.KlayApi getParams POST /klay/configuration/getParams klay_getParams
KaiachainWeb3rpc.KlayApi getProof POST /klay/miscellaneous/getProof [Miscellaneous] klay_getProof
KaiachainWeb3rpc.KlayApi getRawTransactionByBlockHashAndIndex POST /klay/getRawTransactionByBlockHashAndIndex [Transaction] klay_getRawTransactionByBlockHashAndIndex
KaiachainWeb3rpc.KlayApi getRawTransactionByBlockNumberAndIndex POST /klay/getRawTransactionByBlockNumberAndIndex [Transaction] klay_getRawTransactionByBlockNumberAndIndex
KaiachainWeb3rpc.KlayApi getRawTransactionByHash POST /klay/getRawTransactionByHash [Transaction] klay_getRawTransactionByHash
KaiachainWeb3rpc.KlayApi getRewards POST /klay/block/getRewards [Block] klay_getRewards
KaiachainWeb3rpc.KlayApi getStakingInfo POST /klay/miscellaneous/getStakingInfo [Miscellaneous] klay_getStakingInfo
KaiachainWeb3rpc.KlayApi getStorageAt POST /klay/block/getStorageAt [Block] klay_getStorageAt
KaiachainWeb3rpc.KlayApi getTotalSupply POST /klay/miscellaneous/getTotalSupply [Miscellaneous] klay_getTotalSupply
KaiachainWeb3rpc.KlayApi getTransactionByBlockHashAndIndex POST /klay/transaction/getTransactionByBlockHashAndIndex [Transaction] klay_getTransactionByBlockHashAndIndex
KaiachainWeb3rpc.KlayApi getTransactionByBlockNumberAndIndex POST /klay/transaction/getTransactionByBlockNumberAndIndex [Transaction] klay_getTransactionByBlockNumberAndIndex
KaiachainWeb3rpc.KlayApi getTransactionByHash POST /klay/transaction/getTransactionByHash [Transaction] klay_getTransactionByHash
KaiachainWeb3rpc.KlayApi getTransactionBySenderTxHash POST /klay/transaction/getTransactionBySenderTxHash [Transaction] klay_getTransactionBySenderTxHash
KaiachainWeb3rpc.KlayApi getTransactionCount POST /klay/account/getTransactionCount [Account] klay_getTransactionCount
KaiachainWeb3rpc.KlayApi getTransactionReceipt POST /klay/transaction/getTransactionReceipt [Transaction] klay_getTransactionReceipt
KaiachainWeb3rpc.KlayApi getTransactionReceiptBySenderTxHash POST /klay/transaction/getTransactionReceiptBySenderTxHash [Transaction] klay_getTransactionReceiptBySenderTxHash
KaiachainWeb3rpc.KlayApi isContractAccount POST /klay/account/isContractAccount [Account] klay_isContractAccount
KaiachainWeb3rpc.KlayApi isParallelDBWrite POST /klay/configuration/isParallelDBWrite [Configuration] klay_isParallelDBWrite
KaiachainWeb3rpc.KlayApi isSenderTxHashIndexingEnabled POST /klay/configuration/isSenderTxHashIndexingEnabled [Configuration] klay_isSenderTxHashIndexingEnabled
KaiachainWeb3rpc.KlayApi lowerBoundGasPrice POST /klay/gas/lowerBoundGasPrice [Gas] klay_lowerBoundGasPrice
KaiachainWeb3rpc.KlayApi maxPriorityFeePerGas POST /klay/gas/maxPriorityFeePerGas [Gas] klay_maxPriorityFeePerGas
KaiachainWeb3rpc.KlayApi newBlockFilter POST /klay/filter/newBlockFilter [Filter] klay_newBlockFilter
KaiachainWeb3rpc.KlayApi newFilter POST /klay/filter/newFilter [Filter] klay_newFilter
KaiachainWeb3rpc.KlayApi newPendingTransactionFilter POST /klay/filter/newPendingTransactionFilter [Filter] klay_newPendingTransactionFilter
KaiachainWeb3rpc.KlayApi nodeAddress POST /klay/miscellaneous/nodeAddress [Miscellaneous] klay_nodeAddress
KaiachainWeb3rpc.KlayApi pendingTransactions POST /klay/transaction/pendingTransactions [Transaction] klay_pendingTransactions
KaiachainWeb3rpc.KlayApi protocolVersion POST /klay/configuration/protocolVersion [Configuration] klay_protocolVersion
KaiachainWeb3rpc.KlayApi recoverFromMessage POST /klay/miscellaneous/recoverFromMessage [Miscellaneous] klay_recoverFromMessage
KaiachainWeb3rpc.KlayApi recoverFromTransaction POST /klay/miscellaneous/recoverFromTransaction [Miscellaneous] klay_recoverFromTransaction
KaiachainWeb3rpc.KlayApi resend POST /klay/resend [Transaction] klay_resend
KaiachainWeb3rpc.KlayApi rewardbase POST /klay/configuration/rewardbase [Configuration] klay_rewardbase
KaiachainWeb3rpc.KlayApi sendRawTransaction POST /klay/transaction/sendRawTransaction [Transaction] klay_sendRawTransaction
KaiachainWeb3rpc.KlayApi sendTransaction POST /klay/transaction/sendTransaction [Transaction] klay_sendTransaction
KaiachainWeb3rpc.KlayApi sendTransactionAsFeePayer POST /klay/transaction/sendTransactionAsFeePayer [Transaction] klay_sendTransactionAsFeePayer
KaiachainWeb3rpc.KlayApi sha3 POST /klay/miscellaneous/sha3 [Miscellaneous] klay_sha3
KaiachainWeb3rpc.KlayApi sign POST /klay/account/sign [Account] klay_sign
KaiachainWeb3rpc.KlayApi signTransaction POST /klay/transaction/signTransaction [Transaction] klay_signTransaction
KaiachainWeb3rpc.KlayApi signTransactionAsFeePayer POST /klay/transaction/signTransactionAsFeePayer [Transaction] klay_signTransactionAsFeePayer
KaiachainWeb3rpc.KlayApi subscribe POST /klay/filter/subscribe [Filter] klay_subscribe
KaiachainWeb3rpc.KlayApi syncing POST /klay/block/syncing [Block] klay_syncing
KaiachainWeb3rpc.KlayApi uninstallFilter POST /klay/filter/uninstallFilter [Filter] klay_uninstallFilter
KaiachainWeb3rpc.KlayApi unsubscribe POST /klay/filter/unsubscribe [Filter] klay_unsubscribe
KaiachainWeb3rpc.KlayApi upperBoundGasPrice POST /klay/gas/upperBoundGasPrice [Gas] klay_upperBoundGasPrice
KaiachainWeb3rpc.MainbridgeApi convertChildChainBlockHashToParentChainTxHash POST /mainbridge/convertChildChainBlockHashToParentChainTxHash mainbridge_convertChildChainBlockHashToParentChainTxHash
KaiachainWeb3rpc.MainbridgeApi getChildChainIndexingEnabled POST /mainbridge/getChildChainIndexingEnabled mainbridge_getChildChainIndexingEnabled
KaiachainWeb3rpc.NetApi listening POST /net/listening net_listening
KaiachainWeb3rpc.NetApi networkID POST /net/networkID net_networkID
KaiachainWeb3rpc.NetApi peerCount POST /net/peerCount net_peerCount
KaiachainWeb3rpc.NetApi peerCountByType POST /net/peerCountByType net_peerCountByType
KaiachainWeb3rpc.NetApi version POST /net/version net_version
KaiachainWeb3rpc.PersonalApi deriveAccount POST /personal/deriveAccount personal_deriveAccount
KaiachainWeb3rpc.PersonalApi ecRecover POST /personal/ecRecover personal_ecRecover
KaiachainWeb3rpc.PersonalApi importRawKey POST /personal/importRawKey personal_importRawKey
KaiachainWeb3rpc.PersonalApi listAccounts POST /personal/listAccounts personal_listAccounts
KaiachainWeb3rpc.PersonalApi listWallets POST /personal/listWallets personal_listWallets
KaiachainWeb3rpc.PersonalApi lockAccount POST /personal/lockAccount personal_lockAccount
KaiachainWeb3rpc.PersonalApi newAccount POST /personal/newAccount personal_newAccount
KaiachainWeb3rpc.PersonalApi openWallet POST /personal/openWallet personal_openWallet
KaiachainWeb3rpc.PersonalApi replaceRawKey POST /personal/replaceRawKey personal_replaceRawKey
KaiachainWeb3rpc.PersonalApi sendAccountUpdate POST /personal/sendAccountUpdate personal_sendAccountUpdate
KaiachainWeb3rpc.PersonalApi sendValueTransfer POST /personal/sendValueTransfer personal_sendValueTransfer
KaiachainWeb3rpc.PersonalApi unlockAccount POST /personal/unlockAccount personal_unlockAccount
KaiachainWeb3rpc.SubbridgeApi anchoring POST /subbridge/anchoring subbridge_anchoring
KaiachainWeb3rpc.SubbridgeApi childOperator POST /subbridge/childOperator subbridge_childOperator
KaiachainWeb3rpc.SubbridgeApi childOperatorBalance POST /subbridge/childOperatorBalance subbridge_childOperatorBalance
KaiachainWeb3rpc.SubbridgeApi childOperatorNonce POST /subbridge/childOperatorNonce subbridge_childOperatorNonce
KaiachainWeb3rpc.SubbridgeApi convertRequestTxHashToHandleTxHash POST /subbridge/convertRequestTxHashToHandleTxHash subbridge_convertRequestTxHashToHandleTxHash
KaiachainWeb3rpc.SubbridgeApi deployBridge POST /subbridge/deployBridge subbridge_deployBridge
KaiachainWeb3rpc.SubbridgeApi deregisterBridge POST /subbridge/deregisterBridge subbridge_deregisterBridge
KaiachainWeb3rpc.SubbridgeApi deregisterToken POST /subbridge/deregisterToken subbridge_deregisterToken
KaiachainWeb3rpc.SubbridgeApi getBridgeInformation POST /subbridge/getBridgeInFormation subbridge_getBridgeInformation
KaiachainWeb3rpc.SubbridgeApi getReceiptFromParentChain POST /subbridge/getReceiptFromParentChain subbridge_getReceiptFromParentChain
KaiachainWeb3rpc.SubbridgeApi latestAnchoredBlockNumber POST /subbridge/latestAnchoredBlockNumber subbridge_latestAnchoredBlockNumber
KaiachainWeb3rpc.SubbridgeApi listBridge POST /subbridge/listBridge subbridge_listBridge
KaiachainWeb3rpc.SubbridgeApi parentOperator POST /subbridge/parentOperator subbridge_parentOperator
KaiachainWeb3rpc.SubbridgeApi parentOperatorBalance POST /subbridge/parentOperatorBalance subbridge_parentOperatorBalance
KaiachainWeb3rpc.SubbridgeApi parentOperatorNonce POST /subbridge/parentOperatorNonce subbridge_parentOperatorNonce
KaiachainWeb3rpc.SubbridgeApi registerBridge POST /subbridge/registerBridge subbridge_registerBridge
KaiachainWeb3rpc.SubbridgeApi registerToken POST /subbridge/registerToken subbridge_registerToken
KaiachainWeb3rpc.SubbridgeApi sendChainTxslimit POST /subbridge/sendChainTxslimit subbridge_sendChainTxslimit
KaiachainWeb3rpc.SubbridgeApi subscribeBridge POST /subbridge/subscribeBridge subbridge_subscribeBridge
KaiachainWeb3rpc.SubbridgeApi txPending POST /subbridge/txPending subbridge_txPending
KaiachainWeb3rpc.SubbridgeApi txPendingCount POST /subbridge/txPendingCount subbridge_txPendingCount
KaiachainWeb3rpc.SubbridgeApi unsubscribeBridge POST /subbridge/unsubscribeBridge subbridge_unsubscribeBridge
KaiachainWeb3rpc.TxpoolApi content POST /txpool/content txpool_content
KaiachainWeb3rpc.TxpoolApi inspect POST /txpool/inspect txpool_inspect
KaiachainWeb3rpc.TxpoolApi status POST /txpool/status txpool_status

Documentation for Models

Documentation for Authorization

All endpoints do not require authorization.

Readme

Keywords

none

Package Sidebar

Install

npm i @kaiachain/web3rpc

Weekly Downloads

82

Version

1.0.1

License

Apache 2.0

Unpacked Size

10.3 MB

Total Files

1206

Last publish

Collaborators

  • klaytn-devops
  • zemyblue