Difference between revisions of "Geth --http.api"
Jump to navigation
Jump to search
(17 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
{{lc}} | {{lc}} | ||
− | geth --http.api=[[web3]],[[eth]],[[net]] | + | [[admin]] [[debug]] [[web3]] [[eth]] [[txpool]] [[personal]] [[miner]] [[net]] |
+ | |||
+ | |||
+ | [[geth]] --http.api value ($[[GETH_HTTP_API]]) | ||
+ | API's offered over the HTTP-RPC interface | ||
+ | |||
+ | |||
+ | |||
+ | * <code>[[geth]] --http.api=[[web3]],[[eth]],[[net]]</code> | ||
+ | * <code>[[geth]] --http.api=[[admin]],[[debug]],[[web3]],[[eth]],[[txpool]],[[personal]],[[miner]],[[net]]</code> | ||
+ | |||
+ | |||
+ | * <code> geth --http.api "web3,eth,net" </code> | ||
Line 9: | Line 21: | ||
* Admin: https://geth.ethereum.org/docs/interacting-with-geth/rpc/ns-admin <code>[[geth --http]]</code> | * Admin: https://geth.ethereum.org/docs/interacting-with-geth/rpc/ns-admin <code>[[geth --http]]</code> | ||
− | ** [[admin_addPeer]] | + | ** <code>[[admin_addPeer]]</code> |
* https://geth.ethereum.org/docs/interacting-with-geth/rpc | * https://geth.ethereum.org/docs/interacting-with-geth/rpc | ||
* https://geth.ethereum.org/docs/fundamentals/command-line-options | * https://geth.ethereum.org/docs/fundamentals/command-line-options | ||
+ | |||
+ | == Errors == | ||
+ | ERROR[09-12|14:30:46.456] Unavailable modules in HTTP API list unavailable=[KKK] available=" [admin debug [[web3]] [[eth]] [[txpool]] [[personal]] [[miner]] [[net]]]" | ||
== Related == | == Related == | ||
− | * [[HTTP-RPC]] | + | * <code>[[HTTP-RPC]]</code> |
+ | * <code>[[geth --ws.api]]</code> | ||
== See also == | == See also == | ||
+ | * {{geth --http.api}} | ||
* {{geth --http}} | * {{geth --http}} | ||
− | |||
* {{Ethereum API}} | * {{Ethereum API}} | ||
[[Category:Ethereum]] | [[Category:Ethereum]] |
Latest revision as of 13:14, 27 October 2024
admin debug web3 eth txpool personal miner net
geth --http.api value ($GETH_HTTP_API) API's offered over the HTTP-RPC interface
geth --http.api "web3,eth,net"
--http.api "eth,net,web3,txpool,admin"
- https://geth.ethereum.org/docs/interacting-with-geth/rpc
- https://geth.ethereum.org/docs/fundamentals/command-line-options
Errors[edit]
ERROR[09-12|14:30:46.456] Unavailable modules in HTTP API list unavailable=[KKK] available=" [admin debug web3 eth txpool personal miner net]"
Related[edit]
See also[edit]
geth --http.api [ admin | debug | web3 | eth | txpool | personal | miner | net ], geth --ws.api
geth --http, --http.api, HTTP-RPC, --http.corsdomain
- Ethereum API, 8545,
eth_call, eth_blockNumber, eth_getBalance, eth_getBlockByNumber, eth_getTransactionReceipt, web3_clientVersion, eth_subscribe, /eth/v1/node/syncing
,cast
,eth_getProof
,eth_call, eth_chainId, eth_getBlockReceipts
, Eth Beacon Node API,eth_sendRawTransaction, eth_getLogs
,geth --http.api
Advertising: