Skip to content

Commit

Permalink
eth/api: update to latest available go-ethereum apis
Browse files Browse the repository at this point in the history
  • Loading branch information
q9f committed Dec 17, 2024
1 parent 33fbd3b commit d417d0f
Showing 1 changed file with 95 additions and 0 deletions.
95 changes: 95 additions & 0 deletions lib/eth/api.rb
Original file line number Diff line number Diff line change
Expand Up @@ -27,17 +27,25 @@ module Api
"account_signTypedData",
"admin_addPeer",
"admin_addTrustedPeer",
"admin_clearHistory",
"admin_datadir",
"admin_exportChain",
"admin_getDatadir",
"admin_getNodeInfo",
"admin_getPeers",
"admin_importChain",
"admin_nodeInfo",
"admin_peerEvents",
"admin_peers",
"admin_removePeer",
"admin_removeTrustedPeer",
"admin_sleep",
"admin_sleepBlocks",
"admin_startHTTP",
"admin_startRPC",
"admin_startWS",
"admin_stopHTTP",
"admin_stopRPC",
"admin_stopWS",
"clef_deriveAccount",
"clef_listWallets",
Expand Down Expand Up @@ -78,6 +86,7 @@ module Api
"debug_getRawHeader",
"debug_getRawReceipts",
"debug_getRawTransaction",
"debug_getTrieFlushInterval",
"debug_goTrace",
"debug_intermediateRoots",
"debug_memStats",
Expand All @@ -89,6 +98,7 @@ module Api
"debug_setGCPercent",
"debug_setHead",
"debug_setMutexProfileFraction",
"debug_setTrieFlushInterval",
"debug_stacks",
"debug_standardTraceBadBlockToFile",
"debug_standardTraceBlockToFile",
Expand All @@ -111,51 +121,92 @@ module Api
"debug_writeBlockProfile",
"debug_writeMemProfile",
"debug_writeMutexProfile",
"dev_addWithdrawal",
"dev_setFeeRecipient",
"eth_accounts",
"eth_blobBaseFee",
"eth_blockNumber",
"eth_call",
"eth_chainId",
"eth_coinbase",
"eth_compile",
"eth_compileLLL",
"eth_compileSerpent",
"eth_compileSolidity",
"eth_contract",
"eth_createAccessList",
"eth_defaultAccount",
"eth_defaultBlock",
"eth_estimateGas",
"eth_feeHistory",
"eth_fillTransaction",
"eth_filter",
"eth_gasPrice",
"eth_getAccounts",
"eth_getBalance",
"eth_getBlobBaseFee",
"eth_getBlock",
"eth_getBlockByHash",
"eth_getBlockByNumber",
"eth_getBlockNumber",
"eth_getBlockReceipts",
"eth_getBlockTransactionCount",
"eth_getBlockTransactionCountByHash",
"eth_getBlockTransactionCountByNumber",
"eth_getBlockUncleCount",
"eth_getCode",
"eth_getCoinbase",
"eth_getCompilers",
"eth_getFilterChanges",
"eth_getFilterLogs",
"eth_getGasPrice",
"eth_getHashrate",
"eth_getHeaderByHash",
"eth_getHeaderByNumber",
"eth_getLogs",
"eth_getMaxPriorityFeePerGas",
"eth_getMining",
"eth_getPendingTransactions",
"eth_getProof",
"eth_getProtocolVersion",
"eth_getRawTransaction",
"eth_getRawTransactionFromBlock",
"eth_getStorageAt",
"eth_getSyncing",
"eth_getTransaction",
"eth_getTransactionByBlockHashAndIndex",
"eth_getTransactionByBlockNumberAndIndex",
"eth_getTransactionByHash",
"eth_getTransactionCount",
"eth_getTransactionFromBlock",
"eth_getTransactionReceipt",
"eth_getUncle",
"eth_getUncleByBlockHashAndIndex",
"eth_getUncleByBlockNumberAndIndex",
"eth_getUncleCountByBlockHash",
"eth_getUncleCountByBlockNumber",
"eth_getWork",
"eth_hashrate",
"eth_iban",
"eth_icapNamereg",
"eth_isSyncing",
"eth_maxPriorityFeePerGas",
"eth_mining",
"eth_namereg",
"eth_newBlockFilter",
"eth_newFilter",
"eth_newPendingTransactionFilter",
"eth_pendingTransactions",
"eth_protocolVersion",
"eth_resend",
"eth_sendIBANTransaction",
"eth_sendRawTransaction",
"eth_sendTransaction",
"eth_sign",
"eth_signTransaction",
"eth_simulateV1",
"eth_submitHashrate",
"eth_submitTransaction",
"eth_submitWork",
"eth_syncing",
"eth_uninstallFilter",
Expand All @@ -177,6 +228,9 @@ module Api
"miner_setRecommitInterval",
"miner_start",
"miner_stop",
"net_getListening",
"net_getPeerCount",
"net_getVersion",
"net_listening",
"net_peerCount",
"net_version",
Expand All @@ -195,6 +249,8 @@ module Api
"personal_signTransaction",
"personal_unlockAccount",
"personal_unpair",
"rpc_getModules",
"rpc_modules",
"shh_addToGroup",
"shh_getFilterChanges",
"shh_getMessages",
Expand All @@ -207,10 +263,49 @@ module Api
"shh_version",
"txpool_content",
"txpool_contentFrom",
"txpool_getContent",
"txpool_getInspect",
"txpool_getStatus",
"txpool_inspect",
"txpool_status",
"web3_admin",
"web3_bzz",
"web3_clientVersion",
"web3_createBatch",
"web3_currentProvider",
"web3_db",
"web3_debug",
"web3_dev",
"web3_eth",
"web3_fromAscii",
"web3_fromDecimal",
"web3_fromICAP",
"web3_fromUtf8",
"web3_fromWei",
"web3_isAddress",
"web3_isChecksumAddress",
"web3_isConnected",
"web3_isIBAN",
"web3_miner",
"web3_net",
"web3_padLeft",
"web3_padRight",
"web3_personal",
"web3_providers",
"web3_reset",
"web3_rpc",
"web3_setProvider",
"web3_settings",
"web3_sha3",
"web3_shh",
"web3_toAscii",
"web3_toChecksumAddress",
"web3_toDecimal",
"web3_toHex",
"web3_toUtf8",
"web3_toWei",
"web3_txpool",
"web3_version",
]
end
end

0 comments on commit d417d0f

Please sign in to comment.